Giter Site home page Giter Site logo

hue's Introduction

alt text

#Welcome to the repository for the Hue Dockerfiles

Hue is an open source Web interface for analyzing data with any Apache Hadoop: gethue.com

Here you can find the Dockerfiles for Hue and Livy, the Spark REST server.

You can catch us on Docker Hub as well.

DockerPulls DockerStars

##Get the docker image

Just pull the latest from the Internet or build it yourself from the Hue repository.

###Pull the image from Docker Hub

sudo docker pull gethue/hue:latest

###Build the image

cd tools/docker/hue-base
sudo docker build --rm -t gethue/hue:latest .

Running the image

docker run -it -p 8888:8888 gethue/hue:latest bash

This opens a bash to the root of the project. From there you can run the development version of Hue with the command

./build/env/bin/hue runserver_plus 0.0.0.0:8888

or

Running with docker-compose

cd tools/docker/hue-base
cp docker-compose.yml.sample docker-compose.yml
cp ../../../hue/desktop/conf.dist/hue.ini
docker-compose up -d
docker exec -ti development_hue bash

Hue should then be up and running on your default Docker IP on the port 8888, so usually http://192.168.99.100:8888.

Note If 192.168.99.100 does not work, get the IP of the docker container with:

sudo docker ps
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS                            NAMES
b7950388c1db        gethue/hue:latest   "bash"              10 minutes ago      Up 10 minutes       22/tcp, 0.0.0.0:8888->8888/tcp   agitated_mccarthy

Then get inet addr, so in our case http://172.17.0.1:8888:

sudo docker exec -it b7950388c1db /sbin/ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 02:42:ac:11:00:01
          inet addr:172.17.0.1  Bcast:0.0.0.0  Mask:255.255.0.0
          inet6 addr: fe80::42:acff:fe11:1/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:67 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:10626 (10.6 KB)  TX bytes:648 (648.0 B)

alt text

Next

You can then configure Hue and start using it!

Read more about configuring Hue on our blog. The development version uses the configuration file desktop/conf/pseudo-distributed.ini.

hue's People

Contributors

phupn1510 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.