Hue

Last Updated: Mar 27, 2017

E-MapReduce currently supports Hue. Hue can be accessed and used in E-MapReduce just by selecting a Hue-supported mirror image to create the cluster and enabling public network IP address.

Preparations

Before creating a cluster, it is required to enable SSH tunnel. For detailed steps, refer to Connect to Cluster using SSH.

Taking the Mac environment as an example. Port forwarding is realized by the Chrome browser (assuming the IP address of the public network for the master node of cluster is “xx.xx.xx.xx”):

  1. Connect to the master node.

    1. ssh root@xx.xx.xx.xx
  2. Enter a password.

  3. Check id_rsa.pub content of local machine (note that this shall be executed on local machine rather than remote master node).

    1. cat ~/.ssh/id_rsa.pub
  4. Write id_rsa.pub content of local machine in ~/.ssh/authorized_keys on local master node (to execute on far-end master node).

    1. mkdir ~/.ssh/
    2. vim ~/.ssh/authorized_keys
  5. Paste and save the content observed in Step 2. Now ssh root@xx.xx.xx.xx ought to be used directly to log on to the master node without password.

  6. Execute commands below on local machine for port forwarding.

    1. ssh -i ~/.ssh/id_rsa -ND 8157 root@xx.xx.xx.xx
  7. Enable Chrome (to execute in the new terminal on local machine).

    1. /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --proxy-server="socks5://localhost:8157" --host-resolver-rules="MAP * 0.0.0.0 , EXCLUDE localhost" --user-data-dir=/tmp

Access to Hue

In the Chrome browser for port forwarding, access: xx.xx.xx.xx:8888.

Thank you! We've received your feedback.