Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 98C2C200B42 for ; Sun, 26 Jun 2016 08:16:24 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 97349160A67; Sun, 26 Jun 2016 06:16:24 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 4A81E160A66 for ; Sun, 26 Jun 2016 08:16:22 +0200 (CEST) Received: (qmail 4820 invoked by uid 500); 26 Jun 2016 06:16:21 -0000 Mailing-List: contact commits-help@zeppelin.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@zeppelin.apache.org Delivered-To: mailing list commits@zeppelin.apache.org Received: (qmail 4811 invoked by uid 99); 26 Jun 2016 06:16:21 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Jun 2016 06:16:21 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 70225C08F9 for ; Sun, 26 Jun 2016 06:16:20 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.37 X-Spam-Level: X-Spam-Status: No, score=0.37 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-1.43] autolearn=disabled Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id jWplKyCM_RPO for ; Sun, 26 Jun 2016 06:16:14 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTP id EB5955F4E4 for ; Sun, 26 Jun 2016 06:16:12 +0000 (UTC) Received: from svn01-us-west.apache.org (svn.apache.org [10.41.0.6]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 9D8CFE0E1F for ; Sun, 26 Jun 2016 06:16:11 +0000 (UTC) Received: from svn01-us-west.apache.org (localhost [127.0.0.1]) by svn01-us-west.apache.org (ASF Mail Server at svn01-us-west.apache.org) with ESMTP id D60133A0B64 for ; Sun, 26 Jun 2016 06:16:09 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: svn commit: r1750233 [2/3] - in /zeppelin/site/docs/0.6.0-SNAPSHOT: ./ assets/themes/zeppelin/css/ assets/themes/zeppelin/img/docs-img/ assets/themes/zeppelin/js/ development/ displaysystem/ install/ interpreter/ interpreter/screenshots/ manual/ quicks... Date: Sun, 26 Jun 2016 06:16:07 -0000 To: commits@zeppelin.apache.org From: minalee@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20160626061609.D60133A0B64@svn01-us-west.apache.org> archived-at: Sun, 26 Jun 2016 06:16:24 -0000 Modified: zeppelin/site/docs/0.6.0-SNAPSHOT/interpreter/ignite.html URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.6.0-SNAPSHOT/interpreter/ignite.html?rev=1750233&r1=1750232&r2=1750233&view=diff ============================================================================== --- zeppelin/site/docs/0.6.0-SNAPSHOT/interpreter/ignite.html (original) +++ zeppelin/site/docs/0.6.0-SNAPSHOT/interpreter/ignite.html Sun Jun 26 06:16:07 2016 @@ -34,6 +34,7 @@ + @@ -166,9 +167,11 @@
-

Ignite Interpreter for Apache Zeppelin

+

Ignite Interpreter for Apache Zeppelin

-

Overview

+
+ +

Overview

Apache Ignite In-Memory Data Fabric is a high-performance, integrated and distributed in-memory platform for computing and transacting on large-scale data sets in real-time, orders of magnitude faster than possible with traditional disk-based or flash technologies.

@@ -176,7 +179,7 @@

You can use Zeppelin to retrieve distributed data from cache using Ignite SQL interpreter. Moreover, Ignite interpreter allows you to execute any Scala code in cases when SQL doesn't fit to your requirements. For example, you can populate data into your caches or execute distributed computations.

-

Installing and Running Ignite example

+

Installing and Running Ignite example

In order to use Ignite interpreters, you may install Apache Ignite in some simple steps:

@@ -196,7 +199,7 @@
$ nohup java -jar </path/to/your Jar file name>
 
-

Configuring Ignite Interpreter

+

Configuring Ignite Interpreter

At the "Interpreters" menu, you may edit Ignite interpreter or create new one. Zeppelin provides these properties for Ignite.

@@ -235,7 +238,7 @@

Configuration of Ignite Interpreter

-

Interpreter Binding for Zeppelin Notebook

+

How to use

After configuring Ignite interpreter, create your own notebook. Then you can bind interpreters like below image.

@@ -243,7 +246,7 @@

For more interpreter binding information see here.

-

How to use Ignite SQL interpreter

+

Ignite SQL interpreter

In order to execute SQL query, use %ignite.ignitesql prefix.
Supposing you are running org.apache.ignite.examples.streaming.wordcount.StreamWords, then you can use "words" cache( Of course you have to specify this cache name to the Ignite interpreter setting section ignite.jdbc.url of Zeppelin ). Modified: zeppelin/site/docs/0.6.0-SNAPSHOT/interpreter/jdbc.html URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.6.0-SNAPSHOT/interpreter/jdbc.html?rev=1750233&r1=1750232&r2=1750233&view=diff ============================================================================== --- zeppelin/site/docs/0.6.0-SNAPSHOT/interpreter/jdbc.html (original) +++ zeppelin/site/docs/0.6.0-SNAPSHOT/interpreter/jdbc.html Sun Jun 26 06:16:07 2016 @@ -34,6 +34,7 @@ + @@ -166,7 +167,11 @@

-

Generic JDBC Interpreter for Apache Zeppelin

+

Generic JDBC Interpreter for Apache Zeppelin

+ +
+ +

Overview

This interpreter lets you create a JDBC connection to any data source, by now it has been tested with:

@@ -176,20 +181,15 @@
  • MariaDB
  • Redshift
  • Apache Hive
  • -
  • Apache Drill - -
  • Apache Phoenix
  • -
  • Apache Tajo
  • +
  • Apache Drill (Details on using [Drill JDBC Driver](https://drill.apache.org/docs/using-the-jdbc-driverde* Apache Tajo
  • If someone else used another database please report how it works to improve functionality.

    -

    Create Interpreter

    +

    Create Interpreter

    -

    When create a interpreter by default use PostgreSQL with the next properties:

    +

    When you create a interpreter by default use PostgreSQL with the next properties:

    @@ -220,7 +220,7 @@

    It is not necessary to add driver jar to the classpath for PostgreSQL as it is included in Zeppelin.

    -

    Simple connection

    +

    Simple connection

    Prior to creating the interpreter it is necessary to add maven coordinate or path of the JDBC driver to the Zeppelin classpath. To do this you must edit dependencies artifact(ex. mysql:mysql-connector-java:5.1.38) in interpreter menu as shown:

    @@ -259,7 +259,7 @@
    -

    Multiple connections

    +

    Multiple connections

    JDBC interpreter also allows connections to multiple data sources. It is necessary to set a prefix for each connection to reference it in the paragraph in the form of %jdbc(prefix). Before you create the interpreter it is necessary to add each driver's maven coordinates or JDBC driver's jar file path to the Zeppelin classpath. To do this you must edit the dependencies of JDBC interpreter in interpreter menu as following:

    @@ -314,11 +314,11 @@ -

    Bind to Notebook

    +

    Bind to Notebook

    In the Notebook click on the settings icon at the top-right corner. Use select/deselect to specify the interpreters to be used in the Notebook.

    -

    More Properties

    +

    More Properties

    You can modify the interpreter configuration in the Interpreter section. The most common properties are as follows, but you can specify other properties that need to be connected.

    @@ -362,11 +362,11 @@ -

    Examples

    +

    Examples

    -

    Hive

    +

    Hive

    -
    Properties
    +

    Properties

    @@ -391,7 +391,7 @@

    -
    Dependencies
    +

    Dependencies

    @@ -408,9 +408,9 @@

    -

    Phoenix

    +

    Phoenix

    -
    Properties
    +

    Properties

    @@ -435,7 +435,7 @@

    -
    Dependencies
    +

    Dependencies

    @@ -448,9 +448,9 @@

    -

    Tajo

    +

    Tajo

    -
    Properties
    +

    Properties

    @@ -467,7 +467,7 @@

    -
    Dependencies
    +

    Dependencies

    @@ -480,9 +480,9 @@

    -

    How to use

    +

    How to use

    -

    Reference in paragraph

    +

    Reference in paragraph

    Start the paragraphs with the %jdbc, this will use the default prefix for connection. If you want to use other connection you should specify the prefix of it as follows %jdbc(prefix):

    %jdbc
    @@ -492,7 +492,7 @@
     
    %jdbc(prefix)
     SELECT * FROM db_name;
     
    -

    Apply Zeppelin Dynamic Forms

    +

    Apply Zeppelin Dynamic Forms

    You can leverage Zeppelin Dynamic Form inside your queries. You can use both the text input and select form parametrization features

    %jdbc(prefix)
    @@ -500,7 +500,7 @@
     FROM demo.performers
     WHERE name=''
     
    -

    Bugs & Contacts

    +

    Bugs & Reporting

    If you find a bug for this interpreter, please create a JIRA ticket.

    Modified: zeppelin/site/docs/0.6.0-SNAPSHOT/interpreter/lens.html URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.6.0-SNAPSHOT/interpreter/lens.html?rev=1750233&r1=1750232&r2=1750233&view=diff ============================================================================== --- zeppelin/site/docs/0.6.0-SNAPSHOT/interpreter/lens.html (original) +++ zeppelin/site/docs/0.6.0-SNAPSHOT/interpreter/lens.html Sun Jun 26 06:16:07 2016 @@ -34,6 +34,7 @@ + @@ -166,15 +167,17 @@
    -

    Lens Interpreter for Apache Zeppelin

    +

    Lens Interpreter for Apache Zeppelin

    -

    Overview

    +
    + +

    Overview

    Apache Lens provides an Unified Analytics interface. Lens aims to cut the Data Analytics silos by providing a single view of data across multiple tiered data stores and optimal execution environment for the analytical query. It seamlessly integrates Hadoop with traditional data warehouses to appear like one.

    Apache Lens

    -

    Installing and Running Lens

    +

    Installing and Running Lens

    In order to use Lens interpreters, you may install Apache Lens in some simple steps:

    @@ -185,7 +188,7 @@
    ./bin/lens-ctl start (or stop)
     
    -

    Configuring Lens Interpreter

    +

    Configuring Lens Interpreter

    At the "Interpreters" menu, you can edit Lens interpreter or create new one. Zeppelin provides these properties for Lens.

    @@ -285,7 +288,7 @@ As you can see in this video, they are u

    These are just examples that provided in advance by Lens. If you want to explore whole tutorials of Lens, see the tutorial video.

    -

    Lens UI Service

    +

    Lens UI Service

    Lens also provides web UI service. Once the server starts up, you can open the service on http://serverhost:19999/index.html and browse. You may also check the structure that you made and use query easily here.

    Modified: zeppelin/site/docs/0.6.0-SNAPSHOT/interpreter/livy.html URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.6.0-SNAPSHOT/interpreter/livy.html?rev=1750233&r1=1750232&r2=1750233&view=diff ============================================================================== --- zeppelin/site/docs/0.6.0-SNAPSHOT/interpreter/livy.html (original) +++ zeppelin/site/docs/0.6.0-SNAPSHOT/interpreter/livy.html Sun Jun 26 06:16:07 2016 @@ -34,6 +34,7 @@ + @@ -166,9 +167,13 @@
    -

    Livy Interpreter for Apache Zeppelin

    +

    Livy Interpreter for Apache Zeppelin

    -

    Livy is an open source REST interface for interacting with Spark from anywhere. It supports executing snippets of code or programs in a Spark context that runs locally or in YARN.

    +
    + +

    Overview

    + +

    Livy is an open source REST interface for interacting with Spark from anywhere. It supports executing snippets of code or programs in a Spark context that runs locally or in YARN.

    • Interactive Scala, Python and R shells
    • @@ -187,7 +192,7 @@
    • Livy server.
    -

    Configuration

    +

    Configuration

    We added some common configurations for spark, and you can set any configuration you want. This link contains all spark configurations: http://spark.apache.org/docs/latest/configuration.html#available-properties. @@ -291,7 +296,7 @@ hello("livy")

    When Zeppelin server is running with authentication enabled, then this interpreter utilizes Livy’s user impersonation feature i.e. sends extra parameter for creating and running a session ("proxyUser": "${loggedInUser}"). This is particularly useful when multi users are sharing a Notebook server.

    -

    Apply Zeppelin Dynamic Forms

    +

    Apply Zeppelin Dynamic Forms

    You can leverage Zeppelin Dynamic Form. You can use both the text input and select form parameterization features.

    %livy.pyspark
    @@ -317,10 +322,10 @@ print "${group_by=product_id,produc
     

    Blacklisted configuration values in session config: spark.master

    -

    edit conf/spark-blacklist.conf file in livy server and comment out #spark.master line.

    +

    Edit conf/spark-blacklist.conf file in livy server and comment out #spark.master line.

    -

    if you choose to work on livy in apps/spark/java directory in https://github.com/cloudera/hue , -copy spark-user-configurable-options.template to spark-user-configurable-options.conf file in livy server and comment out #spark.master

    +

    If you choose to work on livy in apps/spark/java directory in https://github.com/cloudera/hue, +copy spark-user-configurable-options.template to spark-user-configurable-options.conf file in livy server and comment out #spark.master.

    Modified: zeppelin/site/docs/0.6.0-SNAPSHOT/interpreter/markdown.html URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.6.0-SNAPSHOT/interpreter/markdown.html?rev=1750233&r1=1750232&r2=1750233&view=diff ============================================================================== --- zeppelin/site/docs/0.6.0-SNAPSHOT/interpreter/markdown.html (original) +++ zeppelin/site/docs/0.6.0-SNAPSHOT/interpreter/markdown.html Sun Jun 26 06:16:07 2016 @@ -34,6 +34,7 @@ + @@ -166,9 +167,11 @@
    -

    Markdown Interpreter for Apache Zeppelin

    +

    Markdown Interpreter for Apache Zeppelin

    -

    Overview

    +
    + +

    Overview

    Markdown is a plain text formatting syntax designed so that it can be converted to HTML. Zeppelin uses markdown4j. For more examples and extension support, please checkout here.
    @@ -178,7 +181,7 @@ In Zeppelin notebook, you can use

    -

    Example

    +

    Example

    The following example demonstrates the basic usage of Markdown in a Zeppelin notebook.

    Modified: zeppelin/site/docs/0.6.0-SNAPSHOT/interpreter/postgresql.html URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.6.0-SNAPSHOT/interpreter/postgresql.html?rev=1750233&r1=1750232&r2=1750233&view=diff ============================================================================== --- zeppelin/site/docs/0.6.0-SNAPSHOT/interpreter/postgresql.html (original) +++ zeppelin/site/docs/0.6.0-SNAPSHOT/interpreter/postgresql.html Sun Jun 26 06:16:07 2016 @@ -34,6 +34,7 @@ + @@ -166,7 +167,11 @@
    -

    Important Notice

    +

    PostgreSQL, Apache HAWQ (incubating) Interpreter for Apache Zeppelin

    + +
    + +

    Important Notice

    Postgresql Interpreter will be deprecated and merged into JDBC Interpreter. You can use Postgresql by using JDBC Interpreter with same functionality. See the example below of settings and dependencies.

    @@ -210,7 +215,19 @@
    -

    PostgreSQL, HAWQ Interpreter for Apache Zeppelin

    +

    Overview

    + +

    zeppelin-view

    + +

    This interpreter seamlessly supports the following SQL data processing engines:

    + + + +

    This Video Tutorial illustrates some of the features provided by the Postgresql Interpreter.

    @@ -225,19 +242,7 @@
    -

    zeppelin-view

    - -

    This interpreter seamlessly supports the following SQL data processing engines:

    - - - -

    This Video Tutorial illustrates some of the features provided by the Postgresql Interpreter.

    - -

    Create Interpreter

    +

    Create Interpreter

    By default Zeppelin creates one PSQL instance. You can remove it or create new instances.

    @@ -249,11 +254,11 @@

    Note: The Name of the instance is used only to distinct the instances while binding them to the Notebook. The Name is irrelevant inside the Notebook. In the Notebook you must use %psql.sql tag.

    -

    Bind to Notebook

    +

    Bind to Notebook

    In the Notebook click on the settings icon in the top right corner. The select/deselect the interpreters to be bound with the Notebook.

    -

    Configuration

    +

    Configuration

    You can modify the configuration of the PSQL from the Interpreter section. The PSQL interpreter expenses the following properties:

    @@ -290,10 +295,10 @@ -

    How to use

    +

    How to use

    Tip: Use (CTRL + .) for SQL auto-completion.
     
    -

    DDL and SQL commands

    +

    DDL and SQL commands

    Start the paragraphs with the full %psql.sql prefix tag! The short notation: %psql would still be able run the queries but the syntax highlighting and the auto-completions will be disabled.

    @@ -316,7 +321,7 @@ select count(*) from mytable; select * from mytable;
    -

    PSQL command line tools

    +

    PSQL command line tools

    Use the Shell Interpreter (%sh) to access the command line PSQL interactively:

    %sh
    @@ -336,7 +341,7 @@ psql -h phd3.localdomain -U gpadmin -p 5
      public             | gpadmin
      retail_demo        | gpadmin
     
    -

    Apply Zeppelin Dynamic Forms

    +

    Apply Zeppelin Dynamic Forms

    You can leverage Zeppelin Dynamic Form inside your queries. You can use both the text input and select form parametrization features

    %psql.sql
    @@ -346,7 +351,7 @@ psql -h phd3.localdomain -U gpadmin -p 5
     ORDER BY count ${order=DESC,DESC|ASC}
     LIMIT ${limit=10};
     
    -

    Example HAWQ PXF/HDFS Tables

    +

    Example HAWQ PXF/HDFS Tables

    Create HAWQ external table that read data from tab-separated-value data in HDFS.

    %psql.sql
    @@ -359,7 +364,7 @@ psql -h phd3.localdomain -U gpadmin -p 5
     
    %psql.sql
     select * from retail_demo.payment_methods_pxf
     
    -

    Auto-completion

    +

    Auto-completion

    The PSQL Interpreter provides a basic auto-completion functionality. On (Ctrl+.) it list the most relevant suggestions in a pop-up window. In addition to the SQL keyword the interpreter provides suggestions for the Schema, Table, Column names as well.

    Modified: zeppelin/site/docs/0.6.0-SNAPSHOT/interpreter/python.html URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.6.0-SNAPSHOT/interpreter/python.html?rev=1750233&r1=1750232&r2=1750233&view=diff ============================================================================== --- zeppelin/site/docs/0.6.0-SNAPSHOT/interpreter/python.html (original) +++ zeppelin/site/docs/0.6.0-SNAPSHOT/interpreter/python.html Sun Jun 26 06:16:07 2016 @@ -34,6 +34,7 @@ + @@ -166,7 +167,9 @@
    -

    Python 2 & 3 Interpreter for Apache Zeppelin

    +

    Python 2 & 3 Interpreter for Apache Zeppelin

    + +

    Configuration

    @@ -247,7 +250,7 @@ z.show(plt, width='50px') z.show(plt, height='150px')
    -

    pythonmatplotlib

    +

    Pandas integration

    @@ -260,7 +263,7 @@

    Technical description

    -

    For in-depth technical details on current implementation plese reffer python/README.md

    +

    For in-depth technical details on current implementation plese reffer python/README.md.

    Modified: zeppelin/site/docs/0.6.0-SNAPSHOT/interpreter/r.html URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.6.0-SNAPSHOT/interpreter/r.html?rev=1750233&r1=1750232&r2=1750233&view=diff ============================================================================== --- zeppelin/site/docs/0.6.0-SNAPSHOT/interpreter/r.html (original) +++ zeppelin/site/docs/0.6.0-SNAPSHOT/interpreter/r.html Sun Jun 26 06:16:07 2016 @@ -34,6 +34,7 @@ + @@ -166,82 +167,97 @@
    -

    R Interpreter

    +

    R Interpreter for Apache Zeppelin

    -

    This is a the Apache Zeppelin project, with the addition of support for the R programming language and R-spark integration.

    +
    -

    Requirements

    +

    Overview

    -

    Additional requirements for the R interpreter are:

    +

    R is a free software environment for statistical computing and graphics.

    + +

    To run R code and visualize plots in Apache Zeppelin, you will need R on your master node (or your dev laptop).

      -
    • R 3.1 or later (earlier versions may work, but have not been tested)
    • -
    • The evaluate R package.
    • +
    • For Centos: yum install R R-devel libcurl-devel openssl-devel
    • +
    • For Ubuntu: apt-get install r-base
    -

    For full R support, you will also need the following R packages:

    +

    Validate your installation with a simple R command:

    +
    R -e "print(1+1)"
    +
    +

    To enjoy plots, install additional libraries with:

    +
    + devtools with `R -e "install.packages('devtools', repos = 'http://cran.us.r-project.org')"`
    ++ knitr with `R -e "install.packages('knitr', repos = 'http://cran.us.r-project.org')"`
    ++ ggplot2 with `R -e "install.packages('ggplot2', repos = 'http://cran.us.r-project.org')"`
    ++ Other vizualisation librairies: `R -e "install.packages(c('devtools','mplot', 'googleVis'), repos = 'http://cran.us.r-project.org'); require(devtools); install_github('ramnathv/rCharts')"`
    +
    +

    We recommend you to also install the following optional R libraries for happy data analytics:

      -
    • knitr
    • -
    • repr -- available with devtools::install_github("IRkernel/repr")
    • -
    • htmltools -- required for some interactive plotting
    • -
    • base64enc -- required to view R base plots
    • +
    • glmnet
    • +
    • pROC
    • +
    • data.table
    • +
    • caret
    • +
    • sqldf
    • +
    • wordcloud
    -

    Configuration

    +

    Configuration

    -

    To run Zeppelin with the R Interpreter, the SPARK_HOME environment variable must be set. The best way to do this is by editing conf/zeppelin-env.sh.

    +

    To run Zeppelin with the R Interpreter, the SPARK_HOME environment variable must be set. The best way to do this is by editing conf/zeppelin-env.sh. +If it is not set, the R Interpreter will not be able to interface with Spark.

    -

    If it is not set, the R Interpreter will not be able to interface with Spark.

    +

    You should also copy conf/zeppelin-site.xml.template to conf/zeppelin-site.xml. That will ensure that Zeppelin sees the R Interpreter the first time it starts up.

    -

    You should also copy conf/zeppelin-site.xml.template to conf/zeppelin-site.xml. That will ensure that Zeppelin sees the R Interpreter the first time it starts up.

    - -

    Using the R Interpreter

    +

    Using the R Interpreter

    By default, the R Interpreter appears as two Zeppelin Interpreters, %r and %knitr.

    %r will behave like an ordinary REPL. You can execute commands as in the CLI.

    -

    2+2

    +

    R base plotting is fully supported

    -

    replhist

    +

    If you return a data.frame, Zeppelin will attempt to display it using Zeppelin's built-in visualizations.

    -

    replhist

    +

    %knitr interfaces directly against knitr, with chunk options on the first line:

    -

    knitgeo -knitstock -knitmotion

    +

    + +

    + +

    The two interpreters share the same environment. If you define a variable from %r, it will be within-scope if you then make a call using knitr.

    -

    Using SparkR & Moving Between Languages

    +

    Using SparkR & Moving Between Languages

    If SPARK_HOME is set, the SparkR package will be loaded automatically:

    -

    sparkrfaithful

    +

    The Spark Context and SQL Context are created and injected into the local environment automatically as sc and sql.

    The same context are shared with the %spark, %sql and %pyspark interpreters:

    -

    backtoscala

    +

    You can also make an ordinary R variable accessible in scala and Python:

    -

    varr1

    +

    And vice versa:

    -

    varscala -varr2

    +

    + +

    -

    Caveats & Troubleshooting

    +

    Caveats & Troubleshooting

    • Almost all issues with the R interpreter turned out to be caused by an incorrectly set SPARK_HOME. The R interpreter must load a version of the SparkR package that matches the running version of Spark, and it does this by searching SPARK_HOME. If Zeppelin isn't configured to interface with Spark in SPARK_HOME, the R interpreter will not be able to connect to Spark.

    • @@ -256,37 +272,6 @@
    • akka Library Version or TTransport errors. This can happen if you try to run Zeppelin with a SPARK_HOME that has a version of Spark other than the one specified with -Pspark-1.x when Zeppelin was compiled.

    -

    R Interpreter for Apache Zeppelin

    - -

    R is a free software environment for statistical computing and graphics.

    - -

    To run R code and visualize plots in Apache Zeppelin, you will need R on your master node (or your dev laptop).

    - -
      -
    • For Centos: yum install R R-devel libcurl-devel openssl-devel
    • -
    • For Ubuntu: apt-get install r-base
    • -
    - -

    Validate your installation with a simple R command:

    -
    R -e "print(1+1)"
    -
    -

    To enjoy plots, install additional libraries with:

    -
    + devtools with `R -e "install.packages('devtools', repos = 'http://cran.us.r-project.org')"`
    -+ knitr with `R -e "install.packages('knitr', repos = 'http://cran.us.r-project.org')"`
    -+ ggplot2 with `R -e "install.packages('ggplot2', repos = 'http://cran.us.r-project.org')"`
    -+ Other vizualisation librairies: `R -e "install.packages(c('devtools','mplot', 'googleVis'), repos = 'http://cran.us.r-project.org'); require(devtools); install_github('ramnathv/rCharts')"`
    -
    -

    We recommend you to also install the following optional R libraries for happy data analytics:

    - -
      -
    • glmnet
    • -
    • pROC
    • -
    • data.table
    • -
    • caret
    • -
    • sqldf
    • -
    • wordcloud
    • -
    -
    Modified: zeppelin/site/docs/0.6.0-SNAPSHOT/interpreter/scalding.html URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.6.0-SNAPSHOT/interpreter/scalding.html?rev=1750233&r1=1750232&r2=1750233&view=diff ============================================================================== --- zeppelin/site/docs/0.6.0-SNAPSHOT/interpreter/scalding.html (original) +++ zeppelin/site/docs/0.6.0-SNAPSHOT/interpreter/scalding.html Sun Jun 26 06:16:07 2016 @@ -34,6 +34,7 @@ + @@ -166,16 +167,18 @@
    -

    Scalding Interpreter for Apache Zeppelin

    +

    Scalding Interpreter for Apache Zeppelin

    + +

    Scalding is an open source Scala library for writing MapReduce jobs.

    -

    Building the Scalding Interpreter

    +

    Building the Scalding Interpreter

    You have to first build the Scalding interpreter by enable the scalding profile as follows:

    mvn clean package -Pscalding -DskipTests
     
    -

    Enabling the Scalding Interpreter

    +

    Enabling the Scalding Interpreter

    In a notebook, to enable the Scalding interpreter, click on the Gear icon,select Scalding, and hit Save.

    @@ -187,7 +190,7 @@

    -

    Configuring the Interpreter

    +

    Configuring the Interpreter

    Scalding interpreter runs in two modes:

    @@ -227,9 +230,9 @@ and directories with custom jar files yo

    If you want to control the maximum number of open interpreters, you have to select "scoped" interpreter for note option and set max.open.instances argument.

    -

    Testing the Interpreter

    +

    Testing the Interpreter

    -

    Local mode

    +

    Local mode

    In example, by using the Alice in Wonderland tutorial, we will count words (of course!), and plot a graph of the top 10 words in the book.

    @@ -265,7 +268,7 @@ print("%table " + table)

    If you click on the icon for the pie chart, you should be able to see a chart like this: Scalding - Pie - Chart

    -

    HDFS mode

    +

    HDFS mode

    Test mode

    %scalding
    @@ -287,7 +290,7 @@ a.toList
     

    This command should create a map reduce job.

    -

    Future Work

    +

    Future Work

    • Better user feedback (hadoop url, progress updates)
    • Modified: zeppelin/site/docs/0.6.0-SNAPSHOT/interpreter/spark.html URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.6.0-SNAPSHOT/interpreter/spark.html?rev=1750233&r1=1750232&r2=1750233&view=diff ============================================================================== --- zeppelin/site/docs/0.6.0-SNAPSHOT/interpreter/spark.html (original) +++ zeppelin/site/docs/0.6.0-SNAPSHOT/interpreter/spark.html Sun Jun 26 06:16:07 2016 @@ -34,6 +34,7 @@ + @@ -166,9 +167,15 @@
      -

      Spark Interpreter for Apache Zeppelin

      +

      Spark Interpreter for Apache Zeppelin

      -

      Apache Spark is supported in Zeppelin with +

      + +

      Overview

      + +

      Apache Spark is a fast and general-purpose cluster computing system. +It provides high-level APIs in Java, Scala, Python and R, and an optimized engine that supports general execution graphs +Apache Spark is supported in Zeppelin with Spark Interpreter group, which consists of five interpreters.

      @@ -206,7 +213,7 @@ Spark Interpreter group, which consists

      Configuration

      -

      The Spark interpreter can be configured with properties provided by Zeppelin. +

      The Spark interpreter can be configured with properties provided by Zeppelin. You can also set other Spark properties which are not listed in the table. For a list of additional properties, refer to Spark Available Properties.

      @@ -272,6 +279,11 @@ You can also set other Spark properties + + + + +
      true Use HiveContext instead of SQLContext if it is true.
      zeppelin.spark.importImplicittrueImport implicits, UDF collection, and sql if set true.

      Without any configuration, Spark interpreter works out of box in local mode. But if you want to connect to your Spark cluster, you'll need to follow below two simple steps.

      @@ -365,13 +377,13 @@ You can also set other Spark properties
      • SPARK_SUBMIT_OPTIONS in conf/zeppelin-env.sh

        -
        export SPARK_SUBMIT_OPTIONS="--packages com.databricks:spark-csv_2.10:1.2.0 --jars /path/mylib1.jar,/path/mylib2.jar --files /path/mylib1.py,/path/mylib2.zip,/path/mylib3.egg"
        -
      • + +

        export SPARKSUBMITOPTIONS="--packages com.databricks:spark-csv_2.10:1.2.0 --jars /path/mylib1.jar,/path/mylib2.jar --files /path/mylib1.py,/path/mylib2.zip,/path/mylib3.egg"

      • SPARK_HOME/conf/spark-defaults.conf

        -
        spark.jars              /path/mylib1.jar,/path/mylib2.jar
        -spark.jars.packages     com.databricks:spark-csv_2.10:1.2.0
        -spark.files             /path/mylib1.py,/path/mylib2.egg,/path/mylib3.zip
        -
      • + +

        spark.jars /path/mylib1.jar,/path/mylib2.jar +spark.jars.packages com.databricks:spark-csv_2.10:1.2.0 +spark.files /path/mylib1.py,/path/mylib2.egg,/path/mylib3.zip

      3. Dynamic Dependency Loading via %dep interpreter

      @@ -513,7 +525,7 @@ select * from ${table=defaultTableName}

      To learn more about dynamic form, checkout Dynamic Form.

      -

      Interpreter setting option.

      +

      Interpreter setting option

      Interpreter setting can choose one of 'shared', 'scoped', 'isolated' option. Spark interpreter creates separate scala compiler per each notebook but share a single SparkContext in 'scoped' mode (experimental). It creates separate SparkContext per each notebook in 'isolated' mode.

      @@ -523,7 +535,7 @@ select * from ${table=defaultTableName}

      -

      Configuration Setup

      +

      Configuration Setup

      1. On the server that Zeppelin is installed, install Kerberos client modules and configuration, krb5.conf. Modified: zeppelin/site/docs/0.6.0-SNAPSHOT/manual/dependencymanagement.html URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.6.0-SNAPSHOT/manual/dependencymanagement.html?rev=1750233&r1=1750232&r2=1750233&view=diff ============================================================================== --- zeppelin/site/docs/0.6.0-SNAPSHOT/manual/dependencymanagement.html (original) +++ zeppelin/site/docs/0.6.0-SNAPSHOT/manual/dependencymanagement.html Sun Jun 26 06:16:07 2016 @@ -34,6 +34,7 @@ + Modified: zeppelin/site/docs/0.6.0-SNAPSHOT/manual/dynamicform.html URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.6.0-SNAPSHOT/manual/dynamicform.html?rev=1750233&r1=1750232&r2=1750233&view=diff ============================================================================== --- zeppelin/site/docs/0.6.0-SNAPSHOT/manual/dynamicform.html (original) +++ zeppelin/site/docs/0.6.0-SNAPSHOT/manual/dynamicform.html Sun Jun 26 06:16:07 2016 @@ -34,6 +34,7 @@ + @@ -180,16 +181,18 @@ See the License for the specific languag limitations under the License. --> -

        Dynamic Form

        +

        Dynamic Form

        -

        Zeppelin dynamically creates input forms. Depending on language backend, there're two different ways to create dynamic form. +

        + +

        Apache Zeppelin dynamically creates input forms. Depending on language backend, there're two different ways to create dynamic form. Custom language backend can select which type of form creation it wants to use.

        -

        Using form Templates

        +

        Using form Templates

        This mode creates form using simple template language. It's simple and easy to use. For example Markdown, Shell, SparkSql language backend uses it.

        -

        Text input form

        +

        Text input form

        To create text input form, use ${formName} templates.

        @@ -201,7 +204,7 @@ Custom language backend can select which

        -

        Select form

        +

        Select form

        To create select form, use ${formName=defaultValue,option1|option2...}

        @@ -213,7 +216,7 @@ Custom language backend can select which

        -

        Checkbox form

        +

        Checkbox form

        For multi-selection, you can create a checkbox form using ${checkbox:formName=defaultValue1|defaultValue2...,option1|option2...}. The variable will be substituted by a comma-separated string based on the selected items. For example:

        @@ -223,13 +226,13 @@ Custom language backend can select which

        -

        Creates Programmatically

        +

        Creates Programmatically

        Some language backend uses programmatic way to create form. For example ZeppelinContext provides form creation API

        Here're some examples.

        -

        Text input form

        +

        Text input form

        @@ -254,7 +257,7 @@ Custom language backend can select which

        -

        Text input form with default value

        +

        Text input form with default value

        @@ -279,7 +282,7 @@ Custom language backend can select which

        -

        Select form

        +

        Select form

        Modified: zeppelin/site/docs/0.6.0-SNAPSHOT/manual/dynamicinterpreterload.html URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.6.0-SNAPSHOT/manual/dynamicinterpreterload.html?rev=1750233&r1=1750232&r2=1750233&view=diff ============================================================================== --- zeppelin/site/docs/0.6.0-SNAPSHOT/manual/dynamicinterpreterload.html (original) +++ zeppelin/site/docs/0.6.0-SNAPSHOT/manual/dynamicinterpreterload.html Sun Jun 26 06:16:07 2016 @@ -34,6 +34,7 @@ + @@ -180,13 +181,13 @@ See the License for the specific languag limitations under the License. --> -

        Dynamic Interpreter Loading using REST API

        +

        Dynamic Interpreter Loading using REST API

        + +

        Zeppelin provides pluggable interpreter architecture which results in a wide and variety of the supported backend system. In this section, we will introduce Dynamic interpreter loading using REST API. This concept actually comes from Zeppelin Helium Proposal. Before we start, if you are not familiar with the concept of Zeppelin interpreter, you can check out Overview of Zeppelin interpreter first.

        -


        -

        Overview

        In the past, Zeppelin was loading interpreter binaries from /interpreter/[interpreter_name] directory. They were configured by zeppelin.interpreters property in conf/zeppelin-site.xml or ZEPPELIN_INTERPRETERS env variables in conf/zeppelin-env.sh. They were loaded on Zeppelin server startup and stayed alive until the server was stopped. @@ -195,7 +196,7 @@ In order to simplify using 3rd party int

        Load & Unload Interpreters Using REST API

        -

        1. Load

        +

        Load

        You can load interpreters located in Maven repository using REST API, like this:

        @@ -224,32 +225,23 @@ In order to simplify using 3rd party int

        The meaning of each parameters is:

          -
        1. Artifact

          - -
            +
          • Artifact
          • groupId: org.apache.zeppelin
          • artifactId: zeppelin-markdown
          • -
          • version: 0.6.0-SNAPSHOT
          • -
        2. -
        3. Class Name

          - -
            -
          • Package Name: org.apache.zeppelin
          • -
          • Interpreter Class Name: markdown.Markdown
          • -
        4. -
        5. Repository ( optional )

          - -
            -
          • Url: http://dl.bintray.com/spark-packages/maven
          • -
          • Snapshot: false
          • -
        6. +
        7. version: 0.6.0-SNAPSHOT

        8. +
        9. Class Name

        10. +
        11. Package Name: org.apache.zeppelin

        12. +
        13. Interpreter Class Name: markdown.Markdown

        14. +
        15. Repository ( optional )

        16. +
        17. Url: http://dl.bintray.com/spark-packages/maven

        18. +
        19. Snapshot: false

        Please note: The interpreters you downloaded need to be reload, when your Zeppelin server is down.

        -

        2. Unload

        +

        Unload

        If you want to unload the interpreters using REST API,

        http://[zeppelin-server]:[zeppelin-port]/api/interpreter/unload/[interpreter_group_name]/[interpreter_name]
        
        Modified: zeppelin/site/docs/0.6.0-SNAPSHOT/manual/interpreterinstallation.html
        URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.6.0-SNAPSHOT/manual/interpreterinstallation.html?rev=1750233&r1=1750232&r2=1750233&view=diff
        ==============================================================================
        --- zeppelin/site/docs/0.6.0-SNAPSHOT/manual/interpreterinstallation.html (original)
        +++ zeppelin/site/docs/0.6.0-SNAPSHOT/manual/interpreterinstallation.html Sun Jun 26 06:16:07 2016
        @@ -34,6 +34,7 @@
             
             
             
        +    
         
             
             
        @@ -182,6 +183,8 @@ limitations under the License.
         
         

        Interpreter Installation

        +
        +

        Apache Zeppelin provides Interpreter Installation mechanism for whom downloaded Zeppelin netinst binary package, or just want to install another 3rd party interpreters.

        Community managed interpreters

        Modified: zeppelin/site/docs/0.6.0-SNAPSHOT/manual/interpreters.html URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.6.0-SNAPSHOT/manual/interpreters.html?rev=1750233&r1=1750232&r2=1750233&view=diff ============================================================================== --- zeppelin/site/docs/0.6.0-SNAPSHOT/manual/interpreters.html (original) +++ zeppelin/site/docs/0.6.0-SNAPSHOT/manual/interpreters.html Sun Jun 26 06:16:07 2016 @@ -34,6 +34,7 @@ + @@ -180,7 +181,11 @@ See the License for the specific languag limitations under the License. --> -

        Interpreters in Zeppelin

        +

        Interpreters in Apache Zeppelin

        + +
        + +

        Overview

        In this section, we will explain about the role of interpreters, interpreters group and interpreter settings in Zeppelin. The concept of Zeppelin interpreter allows any language/data-processing-backend to be plugged into Zeppelin. @@ -192,13 +197,13 @@ Currently, Zeppelin supports many interp

        When you click the +Create button in the interpreter page, the interpreter drop-down list box will show all the available interpreters on your server.

        -

        +

        -

        What is Zeppelin Interpreter Setting?

        +

        What is interpreter setting?

        Zeppelin interpreter setting is the configuration of a given interpreter on Zeppelin server. For example, the properties are required for hive JDBC interpreter to connect to the Hive server.

        -

        +

        Properties are exported as environment variable when property name is consisted of upper characters, numbers and underscore ([A-Z_0-9]). Otherwise set properties as JVM property.

        @@ -206,15 +211,16 @@ Currently, Zeppelin supports many interp

        -

        What is Zeppelin Interpreter Group?

        +

        What is interpreter group?

        Every Interpreter is belonged to an Interpreter Group. Interpreter Group is a unit of start/stop interpreter. By default, every interpreter is belonged to a single group, but the group might contain more interpreters. For example, Spark interpreter group is including Spark support, pySpark, SparkSQL and the dependency loader.

        Technically, Zeppelin interpreters from the same group are running in the same JVM. For more information about this, please checkout here.

        -

        Each interpreters is belonged to a single group and registered together. All of their properties are listed in the interpreter setting like below image. -

        +

        Each interpreters is belonged to a single group and registered together. All of their properties are listed in the interpreter setting like below image.

        + +

        Interpreter binding mode

        @@ -223,7 +229,7 @@ In 'shared' mode, every notebook

        -

        Connecting to the Existing Remote Interpreter

        +

        Connecting to the existing remote interpreter

        Zeppelin users can start interpreter thread embedded in their service. This will provide flexibility to user to start interpreter on remote host. To start interpreter along with your service you have to create an instance of RemoteInterpreterServer and start it as follows:

        RemoteInterpreterServer interpreter=new RemoteInterpreterServer(3678); 
        @@ -232,7 +238,7 @@ interpreter.start()
         

        The above code will start interpreter thread inside your process. Once the interpreter is started you can configure zeppelin to connect to RemoteInterpreter by checking Connect to existing process checkbox and then provide Host and Port on which interpreter porocess is listening as shown in the image below:

        -

        +

        Modified: zeppelin/site/docs/0.6.0-SNAPSHOT/manual/notebookashomepage.html URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.6.0-SNAPSHOT/manual/notebookashomepage.html?rev=1750233&r1=1750232&r2=1750233&view=diff ============================================================================== --- zeppelin/site/docs/0.6.0-SNAPSHOT/manual/notebookashomepage.html (original) +++ zeppelin/site/docs/0.6.0-SNAPSHOT/manual/notebookashomepage.html Sun Jun 26 06:16:07 2016 @@ -34,6 +34,7 @@ + @@ -180,44 +181,37 @@ See the License for the specific languag limitations under the License. --> -

        Customize your zeppelin homepage

        +

        Customize Apache Zeppelin homepage

        -

        Zeppelin allows you to use one of the notebooks you create as your zeppelin Homepage. - With that you can brand your zeppelin installation, - adjust the instruction to your users needs and even translate to other languages.

        +
        -


        +

        Apache Zeppelin allows you to use one of the notebooks you create as your Zeppelin Homepage. +With that you can brand your Zeppelin installation, adjust the instruction to your users needs and even translate to other languages.

        -

        How to set a notebook as your zeppelin homepage

        +

        How to set a notebook as your Zeppelin homepage

        The process for creating your homepage is very simple as shown below:

          -
        1. Create a notebook using zeppelin
        2. +
        3. Create a notebook using Zeppelin
        4. Set the notebook id in the config file
        5. -
        6. Restart zeppelin

          - -


          - -

          Create a notebook using zeppelin

          +
        7. Restart Zeppelin
        8. +
        -

        Create a new notebook using zeppelin, -you can use %md interpreter for markdown content or any other interpreter you like.

        +

        Create a notebook using Zeppelin

        -

        You can also use the display system to generate text, -html,table or -angular

        +

        Create a new notebook using Zeppelin, +you can use %md interpreter for markdown content or any other interpreter you like. +You can also use the display system to generate text, html, table or +Angular (backend API, frontend API).

        Run (shift+Enter) the notebook and see the output. Optionally, change the notebook view to report to hide the code sections.

        -


        +

        Set the notebook id in the config file

        -

        Set the notebook id in the config file

        - -

        To set the notebook id in the config file you should copy it from the last word in the notebook url

        - -

        for example

        +

        To set the notebook id in the config file, you should copy it from the last word in the notebook url. +For example,

        @@ -227,50 +221,46 @@ or zeppelin.notebook.homescreenYou can also set the ZEPPELIN_NOTEBOOK_HOMESCREEN_HIDE environment variable or zeppelin.notebook.homescreen.hide property to hide the new notebook from the notebook list.

        -


        +

        Restart Zeppelin

        -

        Restart zeppelin

        - -

        Restart your zeppelin server

        +

        Restart your Zeppelin server

        ./bin/zeppelin-deamon stop
         ./bin/zeppelin-deamon start
         
        -

        That's it! Open your browser and navigate to zeppelin and see your customized homepage...

      2. -
      +

      That's it! Open your browser and navigate to Apache Zeppelin and see your customized homepage.


      -

      Show notebooks list in your custom homepage

      +

      Show notebooks list in your custom homepage

      -

      If you want to display the list of notebooks on your custom zeppelin homepage all +

      If you want to display the list of notebooks on your custom Apache Zeppelin homepage all you need to do is use our %angular support.

      -


      - Add the following code to a paragraph in you home page and run it... walla! you have your notebooks list.

      -
        println(
      -  """%angular
      -    <div class="col-md-4" ng-controller="HomeCtrl as home">
      -      <h4>Notebooks</h4>
      -      <div>
      -        <h5><a href="" data-toggle="modal" data-target="#noteNameModal" style="text-decoration: none;">
      -          <i style="font-size: 15px;" class="icon-notebook"></i> Create new note</a></h5>
      -          <ul style="list-style-type: none;">
      -            <li ng-repeat="note in home.notes.list track by $index"><i style="font-size: 10px;" class="icon-doc"></i>
      -              <a style="text-decoration: none;" href="#/notebook/"></a>
      -            </li>
      -          </ul>
      -      </div>
      +

      Add the following code to a paragraph in you home page and run it... walla! you have your notebooks list.

      +
      println(
      +"""%angular
      +  <div class="col-md-4" ng-controller="HomeCtrl as home">
      +    <h4>Notebooks</h4>
      +    <div>
      +      <h5><a href="" data-toggle="modal" data-target="#noteNameModal" style="text-decoration: none;">
      +        <i style="font-size: 15px;" class="icon-notebook"></i> Create new note</a></h5>
      +        <ul style="list-style-type: none;">
      +          <li ng-repeat="note in home.notes.list track by $index"><i style="font-size: 10px;" class="icon-doc"></i>
      +            <a style="text-decoration: none;" href="#/notebook/"></a>
      +          </li>
      +        </ul>
           </div>
      -  """)
      +  </div>
      +""")
       

      After running the notebook you will see output similar to this one: -

      +

      The main trick here relays in linking the <div> to the controller:

      -
        <div class="col-md-4" ng-controller="HomeCtrl as home">
      +
      <div class="col-md-4" ng-controller="HomeCtrl as home">
       

      Once we have home as our controller variable in our <div></div> - we can use home.notes.list to get access to the notebook list.

      +we can use home.notes.list to get access to the notebook list.

      Modified: zeppelin/site/docs/0.6.0-SNAPSHOT/manual/publish.html URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.6.0-SNAPSHOT/manual/publish.html?rev=1750233&r1=1750232&r2=1750233&view=diff ============================================================================== --- zeppelin/site/docs/0.6.0-SNAPSHOT/manual/publish.html (original) +++ zeppelin/site/docs/0.6.0-SNAPSHOT/manual/publish.html Sun Jun 26 06:16:07 2016 @@ -34,6 +34,7 @@ + @@ -180,16 +181,14 @@ See the License for the specific languag limitations under the License. --> -

      How can you publish your paragraph ?

      +

      How can you publish your paragraph ?

      -

      Zeppelin provides a feature for publishing your notebook paragraph results. Using this feature, you can show Zeppelin notebook paragraph results in your own website. -It's very straightforward. Just use <iframe> tag in your page.

      +
      -
      -

      Warning: Please use this feature with caution and in a trusted environment only, as Zeppelin entire Webapp could be accessible for whoever visits your website.

      -
      +

      Apache Zeppelin provides a feature for publishing your notebook paragraph results. Using this feature, you can show Zeppelin notebook paragraph results in your own website. +It's very straightforward. Just use <iframe> tag in your page.

      -

      Copy a Paragraph Link

      +

      Copy a Paragraph Link

      A first step to publish your paragraph result is Copy a Paragraph Link.

      @@ -200,7 +199,7 @@ It's very straightforward. Just use

    -

    Embed the Paragraph to Your Website

    +

    Embed the Paragraph to Your Website

    For publishing the copied paragraph, you may use <iframe> tag in your website page. For example,

    @@ -210,7 +209,7 @@ For example,

    -

    Note: To embed the paragraph in a website, Zeppelin needs to be reachable by that website.

    +

    Note: To embed the paragraph in a website, Apache Zeppelin needs to be reachable by that website. And please use this feature with caution and in a trusted environment only, as Zeppelin entire Webapp could be accessible by whoever visits your website.

    Modified: zeppelin/site/docs/0.6.0-SNAPSHOT/pleasecontribute.html URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.6.0-SNAPSHOT/pleasecontribute.html?rev=1750233&r1=1750232&r2=1750233&view=diff ============================================================================== --- zeppelin/site/docs/0.6.0-SNAPSHOT/pleasecontribute.html (original) +++ zeppelin/site/docs/0.6.0-SNAPSHOT/pleasecontribute.html Sun Jun 26 06:16:07 2016 @@ -34,6 +34,7 @@ + Modified: zeppelin/site/docs/0.6.0-SNAPSHOT/quickstart/explorezeppelinui.html URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.6.0-SNAPSHOT/quickstart/explorezeppelinui.html?rev=1750233&r1=1750232&r2=1750233&view=diff ============================================================================== --- zeppelin/site/docs/0.6.0-SNAPSHOT/quickstart/explorezeppelinui.html (original) +++ zeppelin/site/docs/0.6.0-SNAPSHOT/quickstart/explorezeppelinui.html Sun Jun 26 06:16:07 2016 @@ -3,7 +3,7 @@ - Explore Zeppelin UI + Explore Apache Zeppelin UI @@ -34,6 +34,7 @@ + @@ -159,7 +160,7 @@
    - @@ -180,9 +181,13 @@ See the License for the specific languag limitations under the License. --> -

    Home Page

    +

    Explore Apache Zeppelin UI

    -

    The first time you connect to Zeppelin, you'll land at the main page similar to the below screen capture

    +
    + +

    Main home

    + +

    The first time you connect to Zeppelin, you'll land at the main page similar to the below screen capture.

    @@ -191,7 +196,7 @@ limitations under the License.

    You can filter them by name using the input text form. You can also create an new note, refresh the list of existing notes (in case you manually copy them into the $ZEPPELIN_HOME/notebook folder) and import a note.

    -

    +

    When clicking on Import Note link, a new dialog open. From there you can import your note from local disk or from a remote location if you provide the URL.

    @@ -204,7 +209,7 @@ if you provide the URL.

    Menus

    -

    1. Notebook

    +

    Notebook

    The Notebook menu proposes almost the same features as the note management section in the home page. From the drop-down menu you can:

    @@ -214,9 +219,9 @@ if you provide the URL.

  • Create a new note
  • -

    +

    -

    2. Interpreter

    +

    Interpreter

    In this menu you can:

    @@ -227,7 +232,7 @@ if you provide the URL.

    -

    3. Configuration

    +

    Configuration

    This menu displays all the Zeppelin configuration that are set in the config file $ZEPPELIN_HOME/conf/zeppelin-site.xml

    @@ -258,7 +263,7 @@ if you provide the URL.

    To configure the paragraph, just click on the gear icon:

    -

    +

    From this dialog, you can (in descending order):

    @@ -298,7 +303,7 @@ if you provide the URL.

  • schedule the execution of all paragraph using a CRON syntax
  • -

    +

    On the right of the note tool bar you can find configuration icons:

    @@ -309,7 +314,7 @@ if you provide the URL.

  • switch the node display mode between default, simple and report
  • -

    +

    Modified: zeppelin/site/docs/0.6.0-SNAPSHOT/quickstart/tutorial.html URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.6.0-SNAPSHOT/quickstart/tutorial.html?rev=1750233&r1=1750232&r2=1750233&view=diff ============================================================================== --- zeppelin/site/docs/0.6.0-SNAPSHOT/quickstart/tutorial.html (original) +++ zeppelin/site/docs/0.6.0-SNAPSHOT/quickstart/tutorial.html Sun Jun 26 06:16:07 2016 @@ -34,6 +34,7 @@ + @@ -180,17 +181,17 @@ See the License for the specific languag limitations under the License. --> -

    Zeppelin Tutorial

    +

    Zeppelin Tutorial

    + +

    This tutorial walks you through some of the fundamental Zeppelin concepts. We will assume you have already installed Zeppelin. If not, please see here first.

    Current main backend processing engine of Zeppelin is Apache Spark. If you're new to this system, you might want to start by getting an idea of how it processes data to get the most out of Zeppelin.

    -


    -

    Tutorial with Local File

    -

    1. Data Refine

    +

    Data Refine

    Before you start Zeppelin tutorial, you will need to download bank.zip.

    @@ -212,7 +213,7 @@ limitations under the License. // convert to DataFrame and create temporal table bank.toDF().registerTempTable("bank")
    -

    2. Data Retrieval

    +

    Data Retrieval

    Suppose we want to see age distribution from bank. To do this, run:

    %sql select age, count(1) from bank where age < 30 group by age order by age
    @@ -227,7 +228,7 @@ limitations under the License.
     
     

    Tutorial with Streaming Data

    -

    1. Data Refine

    +

    Data Refine

    Since this tutorial is based on Twitter's sample tweet stream, you must configure authentication with a Twitter account. To do this, take a look at Twitter Credential Setup. After you get API keys, you should fill out credential related values(apiKey, apiSecret, accessToken, accessTokenSecret) with your API keys on following script.

    @@ -284,7 +285,7 @@ limitations under the License. ssc.start()
    -

    2. Data Retrieval

    +

    Data Retrieval

    For each following script, every time you click run button you will see different result since it is based on real-time data.