• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here:Home » How To Install Hue on Ubuntu 16.04

By Abhishek Ghosh October 7, 2017 7:40 pm Updated on October 7, 2017

How To Install Hue on Ubuntu 16.04

Advertisement

For this guide using Hue is Query Tool With GUI For Browsing, Querying, Visualizing Data & Developing Apps for Hadoop. Here is how to install Hue on Ubuntu 16.04 running Hadoop. Hue consists of web service which runs on a node in cluster. Hue has editors for Hive, Impala, Pig, MapReduce, Spark and any SQL like MySQL, Oracle, SparkSQL, Solr SQL, Phoenix etc. Dashboards to dynamically interact and visualize data with Solr or SQL. Scheduler of jobs and workflows. Browsers for Jobs, HDFS, S3 files, SQL Tables, Indexes, Git files, Sentry permissions, Sqoop etc. Some related thing to know is that – we can accessing HBase by using the HBase Shell. We can start HBase Shell with hbase shell command.

Normally we can install Apache Hadoop in the way we described how to install Apache Hadoop on single server or use Apache Hadoop of some brand as appliance like that of Cloudera in this case. Hue actually optimised for Cloudera’s Distribution including Apache Hadoop (CDH). However, peoples install and run Hue with regular version of Apache with sometime some troubles. Those troubles can be fixed like an user got fixed here :

Vim
1
https://community.cloudera.com/t5/Web-UI-Hue-Beeswax/hue-configuration-error-non-cloudera-installation/td-p/32691

If you install only Hue without Hadoop, it will actually run it but that will have no other use. Here is Hue on Github :

Advertisement

---

Vim
1
https://github.com/cloudera/hue

 

How To Install Hue on Ubuntu 16.04

 

Install the pre-requites after update, upgrade :

Vim
1
2
3
apt update
apt upgrade
apt install git ant gcc g++ libkrb5-dev libmysqlclient-dev libssl-dev libsasl2-dev libsasl2-modules-gssapi-mit libsqlite3-dev libtidy-0.99-0 libxml2-dev libxslt-dev make libldap2-dev maven python-dev python-setuptools libgmp3-dev

Change directory to somewhere like /tmp and clone that official repo of Hue :

Vim
1
2
3
4
5
cd /tmp
git clone https://github.com/cloudera/hue.git
cd hue
make apps
build/env/bin/hue runserver

You’ll get this kind of information :

Vim
1
2
3
Django version 1.6.10, using settings 'desktop.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.

Obviously, if you point to http://127.0.0.1:8000/ you’ll get the GUI. Stop the server after testing.

How To Install Hue on Ubuntu 16-04

Move hue to /usr/local i.e. to the directory where your Hadoop and Hbase are located:

Vim
1
sudo mv /tmp/hue /usr/local

Obviously you need to configure each settings file of each component (like Hadoop) you want to connect with. Your hdfs-site.xml probably will be in /etc/hadoop/conf, where this configuration needed :

Vim
1
2
3
4
<property>
  <name>dfs.webhdfs.enabled</name>
  <value>true</value>
</property>

Add this to core-site.html :

Vim
1
2
3
4
5
6
7
8
<property>
  <name>hadoop.proxyuser.hue.hosts</name>
  <value>*</value>
</property>
<property>
  <name>hadoop.proxyuser.hue.groups</name>
  <value>*</value>
</property>

As from Cloudera’s documentation, if you place your Hue Server outside the Hadoop cluster, you can run an HttpFS server to provide Hue access to HDFS. The HttpFS service requires only one port to be opened to the cluster.

Also add this in httpfs-site.xml which will be in /etc/hadoop-httpfs/conf :

Vim
1
2
3
4
5
6
7
8
<property>
  <name>httpfs.proxyuser.hue.hosts</name>
  <value>*</value>
</property>
<property>
  <name>httpfs.proxyuser.hue.groups</name>
  <value>*</value>
</property>

Tagged With how to install hue , ambari hue on umbuntu , ubuntu hue , install hue ubuntu , apt-get install hue , error to install hue by terminal line on ubuntu with quickstart , how to install hue on ubuntu , using hue ubuntu , hue for ubuntu , hue installation in ubantu
Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to How To Install Hue on Ubuntu 16.04

  • How To Install Apache HBase : Ubuntu Single Cloud Server Instance

    Here is Step By Step Guide On How To Install Apache HBase On Ubuntu Single Cloud Server Instance. Hbase is column-oriented distributed datastore,

  • Nginx WordPress Installation Guide (All Steps)

    This is a Full Nginx WordPress Installation Guide With All the Steps, Including Some Optimization and Setup Which is Compatible With WordPress DOT ORG Example Settings For Nginx.

  • Install Apache Hadoop on Ubuntu on Single Cloud Server Instance

    Here is How Install Apache Hadoop on Ubuntu on Single Cloud Server Instance in Stand-Alone Mode With Minimum System Requirement and Commands.

  • OpenShift OctoPress Auto install Script

    OpenShift OctoPress Auto install Script is an Advanced Script to Run OctoPress on Free OpenShift PaaS Practically Without Any Knowing Ruby or Git.

performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Hybrid Multi-Cloud Environments Are Becoming UbiquitousJuly 12, 2023
  • Data Protection on the InternetJuly 12, 2023
  • Basics of BJT TransistorJuly 11, 2023
  • What is Confidential Computing?July 11, 2023
  • How a MOSFET WorksJuly 10, 2023
PC users can consult Corrine Chorney for Security.

Want to know more about us?

Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy