Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

HUE installation configuration

Shulou Source: shulou.com Published: 2022-06-03 08:14:35 10月04日 Update

What is HUE?

HUE=Hadoop User Experience

Hue is an open source Apache Hadoop UI system, evolved from Cloudera Desktop, and finally Cloudera contributed it to the Hadoop community of the Apache Foundation, which is based on the Python Web framework Django.

By using Hue, we can interact with the Hadoop cluster on the Web console on the browser side to analyze and process data, such as manipulating data on HDFS, running MapReduce Job, executing SQL statements of Hive, browsing HBase databases, and so on.

Installation of HUE:

1. Dependencies required for installation

Yum install gcc gathers + libxml2-devel libxslt-devel cyrus-sasl-devel cyrus-sasl-gssapi mysql-devel python-devel python-setuptools sqlite-devel ant ibsasl2-dev libsasl2-modules-gssapi-mit libkrb5-dev libtidy-0.99-0 mvn openldap-dev libffi-devel gmp-devel openldap-devel

two。 Launch: hadoop:start-all.sh

Hbase: start-hbase.sh

Hbase-daemon.sh start thrift

Hive: schematool-dbType mysql-initSchema (initialization is required for the first startup)

Hive-service metastore

Hiveserver2

3. Install HUE

(*) decompress: tar-zxvf hue-4.0.1.tgz

(*) compile and install: PREFIX indicates the directory of installation

PREFIX=/root/training make install

4. Configure HUE

(*) add Linux user: hue has permission to / root/training/hue

Adduser hue

Chown-R hue.hue / root/training/hue

5. Start HUE

HUE: bin/supervisor (/ root/training/hue/build/env)

URL: http://192.168.157.11:8888

HUE integration with hadoop: modify hui.ini file (/ app/hue/desktop/conf)

Hdfs configuration:

Hdfs-site.xml

Dfs.webhdfs.enabled

True

Core-site.xml

Hadoop.proxyuser.root.hosts

*

# proxy user for hadoop

Hadoop.proxyuser.root.groups

*

HUE configuration:

For errors in installing HUE, please refer to the following link

Http://blog.csdn.net/u011596455/article/details/78046627

Tags: Configuration data users browsing companies funds foundations databases files permissions frameworks browsers directories communities end first time systems statements links clusters Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MariaDB Docker Linux Huawei Shulou Tech Info