How to do it...

  1. Download the Zeppelin source code:
        $ git clone https://github.com/apache/zeppelin.git
$ cd zeppelin
  1. Explore the archive:
        $ mvn clean package -DskipTests
  1. Change the directory to conf:
        $ cd conf
  1. Rename zeppelin-env.sh.template to zeppelin-env.sh:
        $ mv zeppelin-env.sh.template zeppelin-env.sh
  1. Rename zeppelin-site.xml.template to zeppelin-site.xml:
        $ mv zeppelin-site.xml.template zeppelin-site.xml
  1. Open zeppelin-env.sh in your favorite editor and change SPARK_HOME to the appropriate value:
        export SPARK_HOME=/opt/infoobjects/spark
  1. Start Zeppelin:
        $ bin/zeppelin.sh
  1. Go to http://localhost:8080 in your web browser and your screen should look like the following:
  1. On the top menu, right next to the Zeppelin logo, click on Notebook and then on Create new note. Select spark as the Default Interpreter. Enter the Note Name as myfirstnote (or whatever you would like):
  1. Click on Create Note:

  1. Enter the following to get the RDD:

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset