Machine Environment
Ubuntu 14.10 64-bit | | OpenJDK-7 | | Scala-2.10.4
Fleet Overview
Hadoop-2.6.0 | | HBase-1.0.0 | | Spark-1.2.0 | | Zookeeper-3.4.6 | | hue-3.8.1
About Hue (from the network):
UE is an open-source Apache Hadoop UI system that was first evolved by Cloudera desktop and contributed by Cloudera to the open source community, which is based on the Python web framework Django implementation. By using hue we can interact with the Hadoop cluster on the browser-side Web console to analyze processing data, such as manipulating data on HDFs, running a mapreduce job, and so on. I have heard of the convenience and strong hue, has not been able to personally try to use, the following first through the official website of the characteristics, through the translation of the original text simple to understand the features of Hue supported by the collection:
- Default based on lightweight SQLite database management session data, user authentication and authorization, can be customized as MySQL, Postgresql, and Oracle
- Access HDFs based on file browser (Browser)
- To develop and run hive queries based on the Hive editor
- Supports search-based applications in SOLR and provides a visual view of the data, as well as dashboards (Dashboard)
- Support for interactive querying of Impala-based apps
- Support for the Spark editor and dashboard (Dashboard)
- Supports the Pig editor and is able to submit script tasks
- Support for the Oozie editor to submit and monitor workflow, coordinator, and bundles through the dashboard
- Support HBase Browser, able to visualize data, query data, modify HBase tables
- Supports Metastore browser, can access hive metadata, and Hcatalog
- Support for Job browser, access to MapReduce job (Mr1/mr2-yarn)
- Support for job designer, ability to create Mapreduce/streaming/java job
- Support for Sqoop 2 editors and dashboards (Dashboard)
- Supports Zookeeper browser and editor
- Supports MySQL, PostGresql, SQLite, and Oracle database Query Editor
1 hue Installation (reference: http://gethue.com/how-to-build-hue-on-ubuntu-14-04-trusty/)
1.1 on the GI download Hue source code (if you have installed Git can save the first step)
sudo apt-get install Gitgit clone HTTPS://github.com/cloudera/hue. git
1.2 Need to install some dependent packages, the official website gives some, if the environment is not the same, flexible adjustment, git above the list of dependent files: Https://github.com/cloudera/hue | Development prerequisites
Apt-get install Python2. 7-dev\libkrb5-dev \libxml2-dev \libxslt-dev \libsqlite3- Dev \libssl-dev \libldap2-dev \python-pip
1.3 Maven is required to be compiled with MAVEN, it is best to download maven installer on official website
1.4 Compiling hue
Make Apps
Description: I was in the compilation of two errors, one is not found some files, in this case, need to check whether a certain dependency is not installed, the second is to download the jar package failed, in this case, re-make the apps, try several times, after two or three days of tossing, finally compiled, At the same time http://gethue.com/how-to-build-hue-on-ubuntu-14-04-trusty/there are some replies, may be the same problem as yours, one of my problems is in other people's big posts found in the answer.
1.5 Start the Hue service, you can enter the Http://127.0.0.1:8000/after the start of the installation, there will be a lot of configuration behind.
./build/env/bin/hue Runserver
Reference:
http://gethue.com/
Https://github.com/cloudera/hue
http://ju.outofmemory.cn/entry/105162
Http://itindex.net/detail/52831-hue
Http://www.tuicool.com/articles/zIrqemB
http://blog.csdn.net/nsrainbow/article/details/43677077
Http://www.cloudera.com/content/cloudera/en/documentation/core/latest/topics/cdh_ig_hue_config.html
Hadoop Management Tools Hue Configuration