• 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 372 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 (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

  • Cyberpunk Aesthetics: What’s in it Special January 27, 2023
  • How to Do Electrical Layout Plan for Adding Smart Switches January 26, 2023
  • What is a Data Mesh? January 25, 2023
  • What is Vehicular Ad-Hoc Network? January 24, 2023
  • Difference Between Panel Light, COB Light, Track Light January 21, 2023

About This Article

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

Source:The Customize Windows, JiMA.in

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

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT