• 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

This Article Has Been Shared 456 Times!

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 Ambari on Ubuntu 16.04 to Manage Hadoop Cluster

    Apache Ambari Helps Management, Monitoring of Hadoop Cluster. Here is How To Install Apache Ambari on Ubuntu 16.04 to Manage Hadoop Cluster.

  • How To Install Apache Solr 6.x on Ubuntu 16.04

    Here is How To Install Apache Solr 6.x on Ubuntu 16.04. Apache Solr Search Platform Can Be Integrated With WordPress, CMS & Other Softwares.

  • Installing Apache Airflow On Ubuntu, CentOS Cloud Server

    Airflow Authors, Schedules, Monitors Workflows. Here Are The Steps For Installing Apache Airflow On Ubuntu, CentOS Running On Cloud Server.

  • Install Apache Drill on Ubuntu 16.04 LTS Single Cloud Server

    Drill is SQL Query Engine for Hadoop, NoSQL, Cloud Storage. Here is How to Install Apache Drill on Ubuntu 16.04 LTS Single Cloud Server.

  • What is Fog Computing, Fog Networking, Fogging

    Fog computing is a System-Wide Architecture Which is Useful For Deploying Seamlessly Resources and Services For Computing, Data Storage.

Additionally, 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 (22.1K 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

  • Big Data in Sports May 20, 2022
  • FaaS Versus PaaS Deployment: What You Should Know May 18, 2022
  • What Is A Digital Media Consultancy? May 17, 2022
  • How Artificial Intelligence (AI) Is Changing The Way We Play Bingo May 16, 2022
  • Why You Need A Big Data Consultant May 15, 2022

About This Article

Cite this article as: Abhishek Ghosh, "How To Install Hue on Ubuntu 16.04," in The Customize Windows, October 7, 2017, May 22, 2022, https://thecustomizewindows.com/2017/10/how-to-install-hue-on-ubuntu-16-04/.

Source:The Customize Windows, JiMA.in

This website uses cookies. If you do not want to allow us to use cookies and/or non-personalized Ads, kindly clear browser cookies after closing this webpage.

Read Privacy Policy.

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

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

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