Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to install Hue 3.9 on HDP2.3.4 in CentOS

Shulou Source: shulou.com Published: 2022-06-01 02:07:23 10月04日 Update

Editor to share with you how to install Hue 3.9 on HDP2.3.4 in CentOS. I hope you will get something after reading this article. Let's discuss it together.

Installation steps

Based on CentOS, use root account

Prepare the environment

Install HDP2.3.4 using Ambari

Configure HDP by http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.4/bk_installing_manually_book/content/configure_hdp_hue.html

Restart HDP

Download maven and ant

Configure profile to add several environment variables:

Export JAVA_HOME=/usr/jdk64/jdk1.8.0_60 export ANT_HOME=/hadoop/program/apache-ant-1.9.6 export MAVEN_HOME=/hadoop/program/apache-maven-3.3.9 export PATH=$PATH:$JAVA_HOME/bin:$ANT_HOME/bin:$MAVEN_HOME/bin

Source / etc/profile

Yum-y install gcc-c++ asciidoc cyrus-sasl-devel cyrus-sasl-gssapi krb5-devel libxml2-devel libxslt-devel mysql-devel openldap-devel python-devel sqlite-devel openssl-devel gmp-devel

Download and install

Download Hue: https://dl.dropboxusercontent.com/u/730827/hue/releases/3.9.0/hue-3.9.0.tgz and extract it

Make install, rm-rf / user/local/hue/ is required to try again if there is an error or stutter during installation.

To configure Hue.ini, see: http://gethue.com/hadoop-hue-3-on-hdp-installation-tutorial/

Create Hue users and groups:

Groupadd hue useradd-g hue hue chown-R hue:hue / usr/local/hue

Start and stop

Start Hue sudo-u hue nohup / usr/local/hue/build/env/bin/supervisor &

Launch livy (Spark support) sudo-u hue nohup / usr/local/hue/build/env/bin/hue livy_server &

Stop pkill-U hue

Some mistakes.

OSError appears when starting livy: [Errno 2] No such file or directory

Verify that the java command is in the environment variable

Permission error starting livy Times

Delete livy_server.log from hue/logs and try again

After reading this article, I believe you have a certain understanding of "how to install Hue 3.9 on HDP2.3.4 in CentOS". If you want to know more about it, you are welcome to follow the industry information channel. Thank you for reading!

Tags: Environment configuration variables articles errors commands done Times more permissions steps users knowledge Industry accounts Information Information channels channels Catton time out Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology MariaDB Shulou Information Apple Xiaomi