Zeppelin

Last Updated: Mar 27, 2017

E-MapReduce currently supports Appache Zeppelin. Zeppelin can be accessed and used in E-MapReduce just by selecting a Zeppelin-supported mirror image to create a 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.

Take the Mac environment as an example. Using the Chrome browser with port dynamic forwarding (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 the local machine. Note that this shall be executed on the local machine rather than the remote master node.

    1. cat ~/.ssh/id_rsa.pub
  4. Write id_rsa.pub content of the 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 the content observed in Step 2.

    ssh root@xx.xx.xx.xx

    Now you can connect to the master node without password.

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

    1. ssh -i ~/.ssh/id_rsa -ND 8157 root@xx.xx.xx.xx
  7. Enable Chrome (to execute in a new terminal on the 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 Zeppelin

In the Chrome browser for port forwarding, access “xx.xx.xx.xx:8080”.

Thank you! We've received your feedback.