/hue

Hue is an open source Analytics Workbench for browsing, querying and visualizing data.

Primary LanguagePythonApache License 2.0Apache-2.0

alt text

Query. Explore. Repeat.

Hue is an open source Query Tool for browsing, querying and visualizing data with focus on SQL and Search: gethue.com

It features:

  • Editors for Hive, Impala, Pig, MapReduce, Spark and any SQL like MySQL, Oracle, SparkSQL, Solr SQL, Phoenix and more.
  • 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 and more.

alt text

alt text

Getting Started

Add the development packages, build and get the development server running:

git clone https://github.com/cloudera/hue.git
cd hue
make apps
build/env/bin/hue runserver

Now Hue should be running on http://localhost:8000 !

The configuration in development mode is desktop/conf/pseudo-distributed.ini.

Docker

Start Hue in a single click with the Docker Guide or the video blog post.

Development Prerequisites

You'll need these library development packages and tools installed on your system:

Ubuntu:

  • sudo apt-get install git ant gcc g++ libffi-dev libkrb5-dev libmysqlclient-dev libsasl2-dev libsasl2-modules-gssapi-mit libsqlite3-dev libssl-dev libxml2-dev libxslt-dev make maven libldap2-dev python-dev python-setuptools libgmp3-dev

  • Oracle's JDK (read more here)

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
  • mvn (from maven package or maven3 tarball)
  • openldap-dev / libldap2-dev
  • libtidy-0.99-0 (for unit tests only)

CentOS/RHEL:

  • sudo yum install ant asciidoc cyrus-sasl-devel cyrus-sasl-gssapi cyrus-sasl-plain gcc gcc-c++ krb5-devel libffi-devel libxml2-devel libxslt-devel make mysql mysql-devel openldap-devel python-devel sqlite-devel gmp-devel

  • Oracle's JDK (read more here)

  • mvn (from apache-maven package or maven3 tarball)

  • libtidy (for unit tests only)

  • openssl-devel (for version 7+)

MacOS:

  • Xcode command line tools
  • Oracle's JDK 1.7+
  • maven (Homebrew)
  • mysql (Homebrew)
  • gmp (Homebrew)
  • openssl (Homebrew)
  • Required for Mac OS X 10.11+ (El Capitan), after brew install openssl, run: export LDFLAGS=-L/usr/local/opt/openssl/lib && export CPPFLAGS=-I/usr/local/opt/openssl/include

Main Stack

Hue would not be possible without:

Community

License

Apache License, Version 2.0 http://www.apache.org/licenses/LICENSE-2.0