Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install Hue 3.9 on HDP2.3.4 in CentOS

2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

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!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report