Modified: incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/interpreter/cassandra.html URL: http://svn.apache.org/viewvc/incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/interpreter/cassandra.html?rev=1730632&r1=1730631&r2=1730632&view=diff ============================================================================== --- incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/interpreter/cassandra.html (original) +++ incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/interpreter/cassandra.html Tue Feb 16 06:03:25 2016 @@ -74,6 +74,7 @@ <li role="separator" class="divider"></li> <!-- li><span><b>Guide</b><span></li --> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/manual/dynamicform.html">Dynamic Form</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/manual/publish.html">Publish your Paragraph</a></li> </ul> </li> <li> @@ -85,8 +86,10 @@ <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/elasticsearch.html">Elasticsearch</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/flink.html">Flink</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/geode.html">Geode</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/hbase.html">HBase</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/hive.html">Hive</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/ignite.html">Ignite</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/jdbc.html">JDBC</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/lens.html">Lens</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/markdown.html">Markdown</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/postgresql.html">Postgresql, hawq</a></li> @@ -128,6 +131,9 @@ <li><a href="/docs/0.6.0-incubating-SNAPSHOT/development/writingzeppelininterpreter.html">Writing Zeppelin Interpreter</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/development/howtocontribute.html">How to contribute (code)</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/development/howtocontributewebsite.html">How to contribute (website)</a></li> + <li role="separator" class="divider"></li> + <!-- li><span><b>Shiro Security</b><span></li --> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/manual/shiroauthentication.html">Shiro Authentication</a></li> </ul> </li> </ul> @@ -135,7 +141,6 @@ </div> </div> - <div class="container"> <!--<div class="hero-unit Cassandra Interpreter"> @@ -162,27 +167,27 @@ <h2>Enabling Cassandra Interpreter</h2> -<p>In a notebook, to enable the <strong>Cassandra</strong> interpreter, click on the <strong>Gear</strong> icon and select <strong>Cassandra</strong>.</p> +<p>In a notebook, to enable the <strong>Cassandra</strong> interpreter, click on the <strong>Gear</strong> icon and select <strong>Cassandra</strong></p> <p><center> - <img src="../assets/themes/zeppelin/img/docs-img/cassandra-InterpreterBinding.png" width="25%" height="25%"> - <br> - <img src="../assets/themes/zeppelin/img/docs-img/cassandra-InterpreterSelection.png" width="25%" height="25%"> -</center></p> + <img src="../assets/themes/zeppelin/img/docs-img/cassandra-InterpreterBinding.png" alt="Interpreter Binding"></p> + +<p><img src="../assets/themes/zeppelin/img/docs-img/cassandra-InterpreterSelection.png" alt="Interpreter Selection"> + </center></p> <h2>Using the Cassandra Interpreter</h2> <p>In a paragraph, use <strong><em>%cassandra</em></strong> to select the <strong>Cassandra</strong> interpreter and then input all commands.</p> -<p>To access the interactive help, type <code>HELP;</code></p> +<p>To access the interactive help, type <strong>HELP;</strong></p> <p><center> - <img src="../assets/themes/zeppelin/img/docs-img/cassandra-InteractiveHelp.png" width="50%" height="50%"> -</center></p> + <img src="../assets/themes/zeppelin/img/docs-img/cassandra-InteractiveHelp.png" alt="Interactive Help"> + </center></p> <h2>Interpreter Commands</h2> -<p>The <strong>Cassandra</strong> interpreter accepts the following commands.</p> +<p>The <strong>Cassandra</strong> interpreter accepts the following commands</p> <p><center> <table class="table-configuration"> @@ -221,7 +226,7 @@ <h2>CQL statements</h2> -<p>This interpreter is compatible with any CQL statement supported by Cassandra. Ex: </p> +<p>This interpreter is compatible with any CQL statement supported by Cassandra. Ex:</p> <div class="highlight"><pre><code class="sql language-sql" data-lang="sql"><span class="k">INSERT</span> <span class="k">INTO</span> <span class="n">users</span><span class="p">(</span><span class="n">login</span><span class="p">,</span><span class="n">name</span><span class="p">)</span> <span class="k">VALUES</span><span class="p">(</span><span class="s1">'jdoe'</span><span class="p">,</span><span class="s1">'John DOE'</span><span class="p">);</span> <span class="k">SELECT</span> <span class="o">*</span> <span class="k">FROM</span> <span class="n">users</span> <span class="k">WHERE</span> <span class="n">login</span><span class="o">=</span><span class="s1">'jdoe'</span><span class="p">;</span> </code></pre></div> @@ -238,7 +243,7 @@ <li>@fetchSize</li> </ol> -<p>Multi-line statements as well as multiple statements on the same line are also supported as long as they are separated by a semi-colon. Ex: </p> +<p>Multi-line statements as well as multiple statements on the same line are also supported as long as they are separated by a semi-colon. Ex:</p> <div class="highlight"><pre><code class="sql language-sql" data-lang="sql"><span class="n">USE</span> <span class="n">spark_demo</span><span class="p">;</span> <span class="k">SELECT</span> <span class="o">*</span> <span class="k">FROM</span> <span class="n">albums_by_country</span> <span class="k">LIMIT</span> <span class="mi">1</span><span class="p">;</span> <span class="k">SELECT</span> <span class="o">*</span> <span class="k">FROM</span> <span class="n">countries</span> <span class="k">LIMIT</span> <span class="mi">1</span><span class="p">;</span> @@ -247,7 +252,7 @@ <span class="k">FROM</span> <span class="n">artists</span> <span class="k">WHERE</span> <span class="n">login</span><span class="o">=</span><span class="s1">'jlennon'</span><span class="p">;</span> </code></pre></div> -<p>Batch statements are supported and can span multiple lines, as well as DDL(CREATE/ALTER/DROP) statements: </p> +<p>Batch statements are supported and can span multiple lines, as well as DDL(CREATE/ALTER/DROP) statements:</p> <div class="highlight"><pre><code class="sql language-sql" data-lang="sql"><span class="k">BEGIN</span> <span class="n">BATCH</span> <span class="k">INSERT</span> <span class="k">INTO</span> <span class="n">users</span><span class="p">(</span><span class="n">login</span><span class="p">,</span><span class="n">name</span><span class="p">)</span> <span class="k">VALUES</span><span class="p">(</span><span class="s1">'jdoe'</span><span class="p">,</span><span class="s1">'John DOE'</span><span class="p">);</span> <span class="k">INSERT</span> <span class="k">INTO</span> <span class="n">users_preferences</span><span class="p">(</span><span class="n">login</span><span class="p">,</span><span class="n">account_type</span><span class="p">)</span> <span class="k">VALUES</span><span class="p">(</span><span class="s1">'jdoe'</span><span class="p">,</span><span class="s1">'BASIC'</span><span class="p">);</span> @@ -258,53 +263,56 @@ <span class="n">value</span> <span class="nb">text</span> <span class="p">);</span> </code></pre></div> -<p>CQL statements are <strong>case-insensitive</strong> (except for column names and values). -This means that the following statements are equivalent and valid: </p> +<p>CQL statements are <strong>case-insensitive</strong> (except for column names and values). This means that the following statements are equivalent and valid:</p> <div class="highlight"><pre><code class="sql language-sql" data-lang="sql"><span class="k">INSERT</span> <span class="k">INTO</span> <span class="n">users</span><span class="p">(</span><span class="n">login</span><span class="p">,</span><span class="n">name</span><span class="p">)</span> <span class="k">VALUES</span><span class="p">(</span><span class="s1">'jdoe'</span><span class="p">,</span><span class="s1">'John DOE'</span><span class="p">);</span> <span class="k">Insert</span> <span class="k">into</span> <span class="n">users</span><span class="p">(</span><span class="n">login</span><span class="p">,</span><span class="n">name</span><span class="p">)</span> <span class="k">vAlues</span><span class="p">(</span><span class="s1">'hsue'</span><span class="p">,</span><span class="s1">'Helen SUE'</span><span class="p">);</span> </code></pre></div> <p>The complete list of all CQL statements and versions can be found below:</p> -<table class="table-configuration"> - <tr> - <th>Cassandra Version</th> - <th>Documentation Link</th> - </tr> - <tr> - <td><strong>2.2</strong></td> - <td> - <a target="_blank" - href="http://docs.datastax.com/en/cql/3.3/cql/cqlIntro.html"> - http://docs.datastax.com/en/cql/3.3/cql/cqlIntro.html - </a> - </td> - </tr> - <tr> - <td><strong>2.1 & 2.0</strong></td> - <td> - <a target="_blank" - href="http://docs.datastax.com/en/cql/3.1/cql/cql_intro_c.html"> - http://docs.datastax.com/en/cql/3.1/cql/cql_intro_c.html - </a> - </td> - </tr> - <tr> - <td><strong>1.2</strong></td> - <td> - <a target="_blank" - href="http://docs.datastax.com/en/cql/3.0/cql/aboutCQL.html"> - http://docs.datastax.com/en/cql/3.0/cql/aboutCQL.html - </a> - </td> - </tr> -</table> +<p><center> + <table class="table-configuration"> + <tr> + <th>Cassandra Version</th> + <th>Documentation Link</th> + </tr> + <tr> + <td><strong>2.2</strong></td> + <td> + <a target="_blank" + href="http://docs.datastax.com/en/cql/3.3/cql/cqlIntro.html"> + http://docs.datastax.com/en/cql/3.3/cql/cqlIntro.html + </a> + </td> + </tr> + <tr> + <td><strong>2.1 & 2.0</strong></td> + <td> + <a target="_blank" + href="http://docs.datastax.com/en/cql/3.1/cql/cql_intro_c.html"> + http://docs.datastax.com/en/cql/3.1/cql/cql<em>intro</em>c.html + </a> + </td> + </tr> + <tr> + <td><strong>1.2</strong></td> + <td> + <a target="_blank" + href="http://docs.datastax.com/en/cql/3.0/cql/aboutCQL.html"> + http://docs.datastax.com/en/cql/3.0/cql/aboutCQL.html + </a> + </td> + </tr> + </table> +</center></p> <h2>Comments in statements</h2> -<p>It is possible to add comments between statements. Single line comments start with the hash sign (#). Multi-line comments are enclosed between /** and **/. Ex: </p> -<div class="highlight"><pre><code class="sql language-sql" data-lang="sql"><span class="o">#</span><span class="k">First</span> <span class="k">comment</span> +<p>It is possible to add comments between statements. Single line comments start with the <strong>hash sign</strong> (#) or <strong>double slashes</strong> (//). Multi-line comments are enclosed between /** and **/. Ex:</p> +<div class="highlight"><pre><code class="sql language-sql" data-lang="sql"><span class="o">#</span><span class="n">Single</span> <span class="n">line</span> <span class="k">comment</span> <span class="n">style</span> <span class="mi">1</span> <span class="k">INSERT</span> <span class="k">INTO</span> <span class="n">users</span><span class="p">(</span><span class="n">login</span><span class="p">,</span><span class="n">name</span><span class="p">)</span> <span class="k">VALUES</span><span class="p">(</span><span class="s1">'jdoe'</span><span class="p">,</span><span class="s1">'John DOE'</span><span class="p">);</span> +<span class="o">//</span><span class="n">Single</span> <span class="n">line</span> <span class="k">comment</span> <span class="n">style</span> <span class="mi">2</span> + <span class="cm">/**</span> <span class="cm"> Multi line</span> <span class="cm"> comments</span> @@ -313,8 +321,9 @@ This means that the following statements </code></pre></div> <h2>Syntax Validation</h2> -<p>The interpreters is shipped with a built-in syntax validator. This validator only checks for basic syntax errors. -All CQL-related syntax validation is delegated directly to <strong>Cassandra</strong>.</p> +<p>The interpreters is shipped with a built-in syntax validator. This validator only checks for basic syntax errors.</p> + +<p>All CQL-related syntax validation is delegated directly to <strong>Cassandra</strong></p> <p>Most of the time, syntax errors are due to <strong>missing semi-colons</strong> between statements or <strong>typo errors</strong>.</p> @@ -322,64 +331,83 @@ All CQL-related syntax validation is del <p>To make schema discovery easier and more interactive, the following commands are supported:</p> -<table class="table-configuration"> - <tr> - <th>Command</th> - <th>Description</th> - </tr> - <tr> - <td><strong>DESCRIBE CLUSTER;</strong></td> - <td>Show the current cluster name and its partitioner</td> - </tr> - <tr> - <td><strong>DESCRIBE KEYSPACES;</strong></td> - <td>List all existing keyspaces in the cluster and their configuration (replication factor, durable write ...)</td> - </tr> - <tr> - <td><strong>DESCRIBE TABLES;</strong></td> - <td>List all existing keyspaces in the cluster and for each, all the tables name</td> - </tr> - <tr> - <td><strong>DESCRIBE TYPES;</strong></td> - <td>List all existing user defined types in the <strong>current (logged) keyspace</strong></td> - </tr> - <tr> - <td nowrap><strong>DESCRIBE FUNCTIONS <keyspace_name>;</strong></td> - <td>List all existing user defined functions in the given keyspace</td> - </tr> - <tr> - <td nowrap><strong>DESCRIBE AGGREGATES <keyspace_name>;</strong></td> - <td>List all existing user defined aggregates in the given keyspace</td> - </tr> - <tr> - <td nowrap><strong>DESCRIBE KEYSPACE <keyspace_name>;</strong></td> - <td>Describe the given keyspace configuration and all its table details (name, columns, ...)</td> - </tr> - <tr> - <td nowrap><strong>DESCRIBE TABLE (<keyspace_name>).<table_name>;</strong></td> - <td> - Describe the given table. If the keyspace is not provided, the current logged in keyspace is used. - If there is no logged in keyspace, the default system keyspace is used. - If no table is found, an error message is raised. - </td> - </tr> - <tr> - <td nowrap><strong>DESCRIBE TYPE (<keyspace_name>).<type_name>;</strong></td> - <td> - Describe the given type(UDT). If the keyspace is not provided, the current logged in keyspace is used. - If there is no logged in keyspace, the default system keyspace is used. - If no type is found, an error message is raised. - </td> - </tr> - <tr> - <td nowrap><strong>DESCRIBE FUNCTION (<keyspace_name>).<function_name>;</strong></td> - <td>Describe the given user defined function. The keyspace is optional.</td> - </tr> - <tr> - <td nowrap><strong>DESCRIBE AGGREGATE (<keyspace_name>).<aggregate_name>;</strong></td> - <td>Describe the given user defined aggregate. The keyspace is optional.</td> - </tr> -</table> +<p><center> + <table class="table-configuration"> + <tr> + <th>Command</th> + <th>Description</th> + </tr> + <tr> + <td><strong>DESCRIBE CLUSTER;</strong></td> + <td>Show the current cluster name and its partitioner</td> + </tr> + <tr> + <td><strong>DESCRIBE KEYSPACES;</strong></td> + <td>List all existing keyspaces in the cluster and their configuration (replication factor, durable write ...)</td> + </tr> + <tr> + <td><strong>DESCRIBE TABLES;</strong></td> + <td>List all existing keyspaces in the cluster and for each, all the tables name</td> + </tr> + <tr> + <td><strong>DESCRIBE TYPES;</strong></td> + <td>List all existing keyspaces in the cluster and for each, all the user-defined types name</strong></td> + </tr> + <tr> + <td nowrap><strong>DESCRIBE FUNCTIONS;</strong></td> + <td>List all existing keyspaces in the cluster and for each, all the functions name</td> + </tr> + <tr> + <td nowrap><strong>DESCRIBE AGGREGATES;</strong></td> + <td>List all existing keyspaces in the cluster and for each, all the aggregates name</td> + </tr> + <tr> + <td nowrap><strong>DESCRIBE MATERIALIZED VIEWS;</strong></td> + <td>List all existing keyspaces in the cluster and for each, all the materialized views name</td> + </tr> + <tr> + <td nowrap><strong>DESCRIBE KEYSPACE <keyspace<em>name>;</strong></td> + <td>Describe the given keyspace configuration and all its table details (name, columns, ...)</td> + </tr> + <tr> + <td nowrap><strong>DESCRIBE TABLE (<keyspace</em>name>).<table<em>name>;</strong></td> + <td> + Describe the given table. If the keyspace is not provided, the current logged in keyspace is used. + If there is no logged in keyspace, the default system keyspace is used. + If no table is found, an error message is raised + </td> + </tr> + <tr> + <td nowrap><strong>DESCRIBE TYPE (<keyspace</em>name>).<type<em>name>;</strong></td> + <td> + Describe the given type(UDT). If the keyspace is not provided, the current logged in keyspace is used. + If there is no logged in keyspace, the default system keyspace is used. + If no type is found, an error message is raised + </td> + </tr> + <tr> + <td nowrap><strong>DESCRIBE FUNCTION (<keyspace</em>name>).<function<em>name>;</strong></td> + <td>Describe the given function. If the keyspace is not provided, the current logged in keyspace is used. + If there is no logged in keyspace, the default system keyspace is used. + If no function is found, an error message is raised + </td> + </tr> + <tr> + <td nowrap><strong>DESCRIBE AGGREGATE (<keyspace</em>name>).<aggregate<em>name>;</strong></td> + <td>Describe the given aggregate. If the keyspace is not provided, the current logged in keyspace is used. + If there is no logged in keyspace, the default system keyspace is used. + If no aggregate is found, an error message is raised + </td> + </tr> + <tr> + <td nowrap><strong>DESCRIBE MATERIALIZED VIEW (<keyspace</em>name>).<view_name>;</strong></td> + <td>Describe the given view. If the keyspace is not provided, the current logged in keyspace is used. + If there is no logged in keyspace, the default system keyspace is used. + If no view is found, an error message is raised + </td> + </tr> + </table> +</center></p> <p>The schema objects (cluster, keyspace, table, type, function and aggregate) are displayed in a tabular format. There is a drop-down menu on the top left corner to expand objects details. On the top right menu is shown the Icon legend.</p> @@ -390,80 +418,86 @@ There is a drop-down menu on the top lef <h2>Runtime Parameters</h2> -<p>Sometimes you want to be able to pass runtime query parameters to your statements. -Those parameters are not part of the CQL specs and are specific to the interpreter. -Below is the list of all parameters: </p> +<p>Sometimes you want to be able to pass runtime query parameters to your statements.</p> -<table class="table-configuration"> - <tr> - <th>Parameter</th> - <th>Syntax</th> - <th>Description</th> - </tr> - <tr> - <td nowrap>Consistency Level</td> - <td><strong>@consistency=<em>value</em></strong></td> - <td>Apply the given consistency level to all queries in the paragraph.</td> - </tr> - <tr> - <td nowrap>Serial Consistency Level</td> - <td><strong>@serialConsistency=<em>value</em></strong></td> - <td>Apply the given serial consistency level to all queries in the paragraph.</td> - </tr> - <tr> - <td nowrap>Timestamp</td> - <td><strong>@timestamp=<em>long value</em></strong></td> - <td> - Apply the given timestamp to all queries in the paragraph. - Please note that timestamp value passed directly in CQL statement will override this value. - </td> - </tr> - <tr> - <td nowrap>Retry Policy</td> - <td><strong>@retryPolicy=<em>value</em></strong></td> - <td>Apply the given retry policy to all queries in the paragraph.</td> - </tr> - <tr> - <td nowrap>Fetch Size</td> - <td><strong>@fetchSize=<em>integer value</em></strong></td> - <td>Apply the given fetch size to all queries in the paragraph.</td> - </tr> -</table> +<p>Those parameters are not part of the CQL specs and are specific to the interpreter.</p> -<p>Some parameters only accept restricted values: </p> +<p>Below is the list of all parameters:</p> -<table class="table-configuration"> - <tr> - <th>Parameter</th> - <th>Possible Values</th> - </tr> - <tr> - <td nowrap>Consistency Level</td> - <td><strong>ALL, ANY, ONE, TWO, THREE, QUORUM, LOCAL\_ONE, LOCAL\_QUORUM, EACH\_QUORUM</strong></td> - </tr> - <tr> - <td nowrap>Serial Consistency Level</td> - <td><strong>SERIAL, LOCAL\_SERIAL</strong></td> - </tr> - <tr> - <td nowrap>Timestamp</td> - <td>Any long value</td> - </tr> - <tr> - <td nowrap>Retry Policy</td> - <td><strong>DEFAULT, DOWNGRADING\_CONSISTENCY, FALLTHROUGH, LOGGING\_DEFAULT, LOGGING\_DOWNGRADING, LOGGING\_FALLTHROUGH</strong></td> - </tr> - <tr> - <td nowrap>Fetch Size</td> - <td>Any integer value</td> - </tr> -</table> +<p><center> + <table class="table-configuration"> + <tr> + <th>Parameter</th> + <th>Syntax</th> + <th>Description</th> + </tr> + <tr> + <td nowrap>Consistency Level</td> + <td><strong>@consistency=<em>value</em></strong></td> + <td>Apply the given consistency level to all queries in the paragraph</td> + </tr> + <tr> + <td nowrap>Serial Consistency Level</td> + <td><strong>@serialConsistency=<em>value</em></strong></td> + <td>Apply the given serial consistency level to all queries in the paragraph</td> + </tr> + <tr> + <td nowrap>Timestamp</td> + <td><strong>@timestamp=<em>long value</em></strong></td> + <td> + Apply the given timestamp to all queries in the paragraph. + Please note that timestamp value passed directly in CQL statement will override this value + </td> + </tr> + <tr> + <td nowrap>Retry Policy</td> + <td><strong>@retryPolicy=<em>value</em></strong></td> + <td>Apply the given retry policy to all queries in the paragraph</td> + </tr> + <tr> + <td nowrap>Fetch Size</td> + <td><strong>@fetchSize=<em>integer value</em></strong></td> + <td>Apply the given fetch size to all queries in the paragraph</td> + </tr> + </table> +</center></p> + +<p>Some parameters only accept restricted values:</p> + +<p><center> + <table class="table-configuration"> + <tr> + <th>Parameter</th> + <th>Possible Values</th> + </tr> + <tr> + <td nowrap>Consistency Level</td> + <td><strong>ALL, ANY, ONE, TWO, THREE, QUORUM, LOCAL<em>ONE, LOCAL</em>QUORUM, EACH<em>QUORUM</strong></td> + </tr> + <tr> + <td nowrap>Serial Consistency Level</td> + <td><strong>SERIAL, LOCAL</em>SERIAL</strong></td> + </tr> + <tr> + <td nowrap>Timestamp</td> + <td>Any long value</td> + </tr> + <tr> + <td nowrap>Retry Policy</td> + <td><strong>DEFAULT, DOWNGRADING<em>CONSISTENCY, FALLTHROUGH, LOGGING</em>DEFAULT, LOGGING<em>DOWNGRADING, LOGGING</em>FALLTHROUGH</strong></td> + </tr> + <tr> + <td nowrap>Fetch Size</td> + <td>Any integer value</td> + </tr> + </table> +</center></p> <blockquote> -<p>Please note that you should <strong>not</strong> add semi-colon ( <strong>;</strong> ) at the end of each parameter statement.</p> +<p>Please note that you should <strong>not</strong> add semi-colon ( <strong>;</strong> ) at the end of each parameter statement</p> </blockquote> -<p>Some examples: </p> +<p>Some examples:</p> <div class="highlight"><pre><code class="sql language-sql" data-lang="sql"><span class="k">CREATE</span> <span class="k">TABLE</span> <span class="n">IF</span> <span class="k">NOT</span> <span class="k">EXISTS</span> <span class="n">spark_demo</span><span class="p">.</span><span class="n">ts</span><span class="p">(</span> <span class="k">key</span> <span class="nb">int</span> <span class="k">PRIMARY</span> <span class="k">KEY</span><span class="p">,</span> <span class="n">value</span> <span class="nb">text</span> @@ -489,17 +523,18 @@ Below is the list of all parameters: </p <blockquote> <ol> -<li><strong>Many</strong> query parameters can be set in the same paragraph.</li> -<li>If the <strong>same</strong> query parameter is set many time with different values, the interpreter only take into account the first value.</li> -<li>Each query parameter applies to <strong>all CQL statements</strong> in the same paragraph, unless you override the option using plain CQL text. ( Like forcing timestamp with the USING clause )</li> -<li>The order of each query parameter with regard to CQL statement does not matter.</li> +<li><strong>many</strong> query parameters can be set in the same paragraph</li> +<li>if the <strong>same</strong> query parameter is set many time with different values, the interpreter only take into account the first value</li> +<li>each query parameter applies to <strong>all CQL statements</strong> in the same paragraph, unless you override the option using plain CQL text (like forcing timestamp with the USING clause)</li> +<li>the order of each query parameter with regard to CQL statement does not matter</li> </ol> </blockquote> <h2>Support for Prepared Statements</h2> -<p>For performance reason, it is better to prepare statements before-hand and reuse them later by providing bound values. -This interpreter provides 3 commands to handle prepared and bound statements: </p> +<p>For performance reason, it is better to prepare statements before-hand and reuse them later by providing bound values.</p> + +<p>This interpreter provides 3 commands to handle prepared and bound statements:</p> <ol> <li><strong>@prepare</strong></li> @@ -507,7 +542,7 @@ This interpreter provides 3 commands to <li><strong>@remove_prepared</strong></li> </ol> -<p>Example: </p> +<p>Example:</p> <div class="highlight"><pre><code class="text language-text" data-lang="text">@prepare[statement_name]=... @bind[statement_name]=âtextâ, 1223, â2015-07-30 12:00:01â, null, true, [âlist_item1â, âlist_item2â] @@ -518,31 +553,34 @@ This interpreter provides 3 commands to </code></pre></div> <h4>@prepare</h4> -<p>You can use the syntax <code>@prepare[statement_name]=SELECT ...</code> to create a prepared statement. -The <code>statement_name</code> is <strong>mandatory</strong> because the interpreter prepares the given statement with the Java driver and saves the generated prepared statement in an <strong>internal hash map</strong>, using the provided <code>statement_name</code> as search key.</p> +<p>You can use the syntax <em>"@prepare[statement</em>name]=SELECT ..."_ to create a prepared statement. +The <em>statement</em>name_ is <strong>mandatory</strong> because the interpreter prepares the given statement with the Java driver and +saves the generated prepared statement in an <strong>internal hash map</strong>, using the provided <em>statement</em>name_ as search key.</p> <blockquote> -<p>Please note that this internal prepared statement map is shared with <strong>all notebooks</strong> and <strong>all paragraphs</strong> because there is only one instance of the interpreter for Cassandra.</p> +<p>Please note that this internal prepared statement map is shared with <strong>all notebooks</strong> and <strong>all paragraphs</strong> because +there is only one instance of the interpreter for Cassandra</p> -<p>If the interpreter encounters <strong>many</strong> @prepare for the <strong>same statement_name (key)</strong>, only the <strong>first</strong> statement will be taken into account.</p> +<p>If the interpreter encounters <strong>many</strong> @prepare for the <strong>same <em>statement</em>name_ (key)</strong>, only the <strong>first</strong> statement will be taken into account.</p> </blockquote> -<p>Example: </p> +<p>Example:</p> <div class="highlight"><pre><code class="text language-text" data-lang="text">@prepare[select]=SELECT * FROM spark_demo.albums LIMIT ? @prepare[select]=SELECT * FROM spark_demo.artists LIMIT ? </code></pre></div> -<p>For the above example, the prepared statement is <code>SELECT * FROM spark_demo.albums LIMIT ?</code>. -<code>SELECT * FROM spark_demo.artists LIMIT ?</code> is ignored because an entry already exists in the prepared statements map with the key select.</p> +<p>For the above example, the prepared statement is <em>SELECT * FROM spark</em>demo.albums LIMIT ?<em>. +_SELECT * FROM spark</em>demo.artists LIMIT ?_ is ignored because an entry already exists in the prepared statements map with the key select.</p> -<p>In the context of <strong>Zeppelin</strong>, a notebook can be scheduled to be executed at regular interval, thus it is necessary to <strong>avoid re-preparing many time the same statement (considered an anti-pattern)</strong>.</p> +<p>In the context of <strong>Zeppelin</strong>, a notebook can be scheduled to be executed at regular interval, +thus it is necessary to <strong>avoid re-preparing many time the same statement (considered an anti-pattern)</strong>.</p> <h4>@bind</h4> -<p>Once the statement is prepared ( possibly in a separated notebook/paragraph ). You can bind values to it: </p> +<p>Once the statement is prepared (possibly in a separated notebook/paragraph). You can bind values to it:</p> <div class="highlight"><pre><code class="text language-text" data-lang="text">@bind[select_first]=10 </code></pre></div> -<p>Bound values are not mandatory for the <code>@bind</code> statement. However if you provide bound values, they need to comply to some syntax:</p> +<p>Bound values are not mandatory for the <strong>@bind</strong> statement. However if you provide bound values, they need to comply to some syntax:</p> <ul> <li>String values should be enclosed between simple quotes ( â )</li> @@ -552,8 +590,8 @@ The <code>statement_name</code> is <stro <li>yyyy-MM-dd HH:MM:ss</li> <li>yyyy-MM-dd HH:MM:ss.SSS</li> </ol></li> -<li><strong>null</strong> is parsed as-is.</li> -<li><strong>boolean</strong> (true|false) is parsed as-is.</li> +<li><strong>null</strong> is parsed as-is</li> +<li><strong>boolean</strong> (true|false) are parsed as-is</li> <li>collection values must follow the <strong><a href="http://docs.datastax.com/en/cql/3.1/cql/cql_using/use_collections_c.html">standard CQL syntax</a></strong>: <ul> @@ -561,32 +599,35 @@ The <code>statement_name</code> is <stro <li>set: {âset<em>item1â, âset</em>item2â, â¦}</li> <li>map: {âkey1â: âval1â, âkey2â: âval2â, â¦}</li> </ul></li> -<li><strong>tuple</strong> values should be enclosed between parenthesis ( see <strong><a href="http://docs.datastax.com/en/cql/3.1/cql/cql_reference/tupleType.html">Tuple CQL syntax</a></strong> ): (âtextâ, 123, true)</li> -<li><strong>udt</strong> values should be enclosed between brackets ( see <strong><a href="http://docs.datastax.com/en/cql/3.1/cql/cql_using/cqlUseUDT.html">UDT CQL syntax</a></strong> ): {stree<em>name: âBeverly Hillsâ, number: 104, zip</em>code: 90020, state: âCaliforniaâ, â¦}</li> +<li><strong>tuple</strong> values should be enclosed between parenthesis (see <strong><a href="http://docs.datastax.com/en/cql/3.1/cql/cql_reference/tupleType.html">Tuple CQL syntax</a></strong>): (âtextâ, 123, true)</li> +<li><strong>udt</strong> values should be enclosed between brackets (see <strong><a href="http://docs.datastax.com/en/cql/3.1/cql/cql_using/cqlUseUDT.html">UDT CQL syntax</a></strong>): {stree<em>name: âBeverly Hillsâ, number: 104, zip</em>code: 90020, state: âCaliforniaâ, â¦}</li> </ul> <blockquote> <p>It is possible to use the @bind statement inside a batch:</p> <div class="highlight"><pre><code class="sql language-sql" data-lang="sql"><span class="k">BEGIN</span> <span class="n">BATCH</span> - <span class="o">@</span><span class="n">bind</span><span class="p">[</span><span class="n">insert_user</span><span class="p">]</span><span class="o">=</span><span class="s1">'jdoe'</span><span class="p">,</span><span class="s1">'John DOE'</span> - <span class="k">UPDATE</span> <span class="n">users</span> <span class="k">SET</span> <span class="n">age</span> <span class="o">=</span> <span class="mi">27</span> <span class="k">WHERE</span> <span class="n">login</span><span class="o">=</span><span class="s1">'hsue'</span><span class="p">;</span> + <span class="o">@</span><span class="n">bind</span><span class="p">[</span><span class="n">insert_user</span><span class="p">]</span><span class="o">=</span><span class="s1">'jdoe'</span><span class="p">,</span><span class="s1">'John DOE'</span> + <span class="k">UPDATE</span> <span class="n">users</span> <span class="k">SET</span> <span class="n">age</span> <span class="o">=</span> <span class="mi">27</span> <span class="k">WHERE</span> <span class="n">login</span><span class="o">=</span><span class="s1">'hsue'</span><span class="p">;</span> <span class="n">APPLY</span> <span class="n">BATCH</span><span class="p">;</span> </code></pre></div></blockquote> <h4>@remove_prepare</h4> -<p>To avoid for a prepared statement to stay forever in the prepared statement map, you can use the <code>@remove_prepare[statement_name]</code> syntax to remove it. +<p>To avoid for a prepared statement to stay forever in the prepared statement map, you can use the +<strong>@remove<em>prepare[statement</em>name]</strong> syntax to remove it. Removing a non-existing prepared statement yields no error.</p> <h2>Using Dynamic Forms</h2> <p>Instead of hard-coding your CQL queries, it is possible to use the mustache syntax ( <strong>{{ }}</strong> ) to inject simple value or multiple choices forms.</p> -<p>The syntax for simple parameter is: <strong>{{input_Label=default value}}</strong>. The default value is mandatory because the first time the paragraph is executed, we launch the CQL query before rendering the form so at least one value should be provided.</p> +<p>The syntax for simple parameter is: <strong>{{input_Label=default value}}</strong>. The default value is mandatory because the first time the paragraph is executed, +we launch the CQL query before rendering the form so at least one value should be provided.</p> -<p>The syntax for multiple choices parameter is: <strong>{{input_Label=value1 | value2 | ⦠| valueN }}</strong>. By default the first choice is used for CQL query the first time the paragraph is executed.</p> +<p>The syntax for multiple choices parameter is: <strong>{{input_Label=value1 | value2 | ⦠| valueN }}</strong>. By default the first choice is used for CQL query +the first time the paragraph is executed.</p> -<p>Example: </p> +<p>Example:</p> <div class="highlight"><pre><code class="text language-text" data-lang="text">#Secondary index on performer style SELECT name, country, performer FROM spark_demo.performers @@ -601,258 +642,271 @@ For subsequent queries, you can change t We could have also use the <strong>{{style='Rock'}}</strong> syntax but this time, the value displayed on the form is <strong><em>'Rock'</em></strong> and not <strong><em>Rock</em></strong>.</p> </blockquote> -<p>It is also possible to use dynamic forms for <strong>prepared statements</strong>: </p> +<p>It is also possible to use dynamic forms for <strong>prepared statements</strong>:</p> <div class="highlight"><pre><code class="text language-text" data-lang="text">@bind[select]=='{{performer=Sheryl Crow|Doof|Fanfarlo|Los Paranoia}}', '{{style=Rock}}' </code></pre></div> -<h2>Execution parallelism and shared states</h2> +<h2>Shared states</h2> <p>It is possible to execute many paragraphs in parallel. However, at the back-end side, weâre still using synchronous queries. <em>Asynchronous execution</em> is only possible when it is possible to return a <code>Future</code> value in the <code>InterpreterResult</code>. It may be an interesting proposal for the <strong>Zeppelin</strong> project.</p> <p>Another caveat is that the same <code>com.datastax.driver.core.Session</code> object is used for <strong>all</strong> notebooks and paragraphs. -Consequently, if you use the <strong>USE <em>keyspace name</em>;</strong> statement to log into a keyspace, it will change the keyspace for <strong>all current users</strong> of the <strong>Cassandra</strong> interpreter because we only create 1 <code>com.datastax.driver.core.Session</code> object per instance of <strong>Cassandra</strong> interpreter.</p> +Consequently, if you use the <strong>USE <em>keyspace name</em>;</strong> statement to log into a keyspace, it will change the keyspace for +<strong>all current users</strong> of the <strong>Cassandra</strong> interpreter because we only create 1 <code>com.datastax.driver.core.Session</code> object +per instance of <strong>Cassandra</strong> interpreter.</p> -<p>The same remark does apply to the <strong>prepared statement hash map</strong>, it is shared by <strong>all users</strong> using the same instance of <strong>Cassandra</strong> interpreter. -Until <strong>Zeppelin</strong> offers a real multi-users separation, there is a work-around to segregate user environment and states: -create different <strong>Cassandra</strong> interpreter instances.</p> +<p>The same remark does apply to the <strong>prepared statement hash map</strong>, it is shared by <strong>all users</strong> using the same instance of <strong>Cassandra</strong> interpreter.</p> -<p>For this, first go to the <strong>Interpreter</strong> menu and click on the <strong>Create</strong> button.</p> +<p>Until <strong>Zeppelin</strong> offers a real multi-users separation, there is a work-around to segregate user environment and states: +<em>create different <strong>Cassandra</strong> interpreter instances</em></p> -<p><center> +<p>For this, first go to the <strong>Interpreter</strong> menu and click on the <strong>Create</strong> button +<center> <img src="../assets/themes/zeppelin/img/docs-img/cassandra-NewInterpreterInstance.png" alt="Create Interpreter"> </center></p> -<p>In the interpreter creation form, put <strong>cass-instance2</strong> as <strong>Name</strong> and select the <strong>cassandra</strong> in the interpreter drop-down list</p> - -<p><center> +<p>In the interpreter creation form, put <strong>cass-instance2</strong> as <strong>Name</strong> and select the <strong>cassandra</strong> +in the interpreter drop-down list +<center> <img src="../assets/themes/zeppelin/img/docs-img/cassandra-InterpreterName.png" alt="Interpreter Name"> </center></p> -<p>Click on <strong>Save</strong> to create the new interpreter instance. Now you should be able to see it in the interpreter list.</p> - -<p><center> +<p>Click on <strong>Save</strong> to create the new interpreter instance. Now you should be able to see it in the interpreter list. +<center> <img src="../assets/themes/zeppelin/img/docs-img/cassandra-NewInterpreterInList.png" alt="Interpreter In List"> </center></p> <p>Go back to your notebook and click on the <strong>Gear</strong> icon to configure interpreter bindings. -You should be able to see and select the <strong>cass-instance2</strong> interpreter instance in the available interpreter list instead of the standard <strong>cassandra</strong> instance.</p> +You should be able to see and select the <strong>cass-instance2</strong> interpreter instance in the available +interpreter list instead of the standard <strong>cassandra</strong> instance.</p> <p><center> <img src="../assets/themes/zeppelin/img/docs-img/cassandra-InterpreterInstanceSelection.png" alt="Interpreter Instance Selection"> -</center> </p> +</center></p> <h2>Interpreter Configuration</h2> <p>To configure the <strong>Cassandra</strong> interpreter, go to the <strong>Interpreter</strong> menu and scroll down to change the parameters. -The <strong>Cassandra</strong> interpreter is using the official <strong><a href="https://github.com/datastax/java-driver">Cassandra Java Driver</a></strong> and most of the parameters are used to configure the Java driver</p> +The <strong>Cassandra</strong> interpreter is using the official <strong><a href="https://github.com/datastax/java-driver">Cassandra Java Driver</a></strong> and most of the parameters are used +to configure the Java driver</p> <p>Below are the configuration parameters and their default value.</p> -<table class="table-configuration"> - <tr> - <th>Property Name</th> - <th>Description</th> - <th>Default Value</th> - </tr> - <tr> - <td>cassandra.cluster</td> - <td>Name of the Cassandra cluster to connect to</td> - <td>Test Cluster</td> - </tr> - <tr> - <td>cassandra.compression.protocol</td> - <td>On wire compression. Possible values are: NONE, SNAPPY, LZ4</td> - <td>NONE</td> - </tr> - <tr> - <td>cassandra.credentials.username</td> - <td>If security is enable, provide the login</td> - <td>none</td> - </tr> - <tr> - <td>cassandra.credentials.password</td> - <td>If security is enable, provide the password</td> - <td>none</td> - </tr> - <tr> - <td>cassandra.hosts</td> - <td> - Comma separated Cassandra hosts (DNS name or IP address). - <br/> - Ex: '192.168.0.12,node2,node3' - </td> - <td>localhost</td> - </tr> - <tr> - <td>cassandra.interpreter.parallelism</td> - <td>Number of concurrent paragraphs(queries block) that can be executed</td> - <td>10</td> - </tr> - <tr> - <td>cassandra.keyspace</td> - <td> - Default keyspace to connect to. - <strong> - It is strongly recommended to let the default value - and prefix the table name with the actual keyspace - in all of your queries. - </strong> - </td> - <td>system</td> - </tr> - <tr> - <td>cassandra.load.balancing.policy</td> - <td> - Load balancing policy. Default = <em>new TokenAwarePolicy(new DCAwareRoundRobinPolicy())</em> - To Specify your own policy, provide the <strong>fully qualify class name (FQCN)</strong> of your policy. - At runtime the interpreter will instantiate the policy using - <strong>Class.forName(FQCN).</strong> - </td> - <td>DEFAULT</td> - </tr> - <tr> - <td>cassandra.max.schema.agreement.wait.second</td> - <td>Cassandra max schema agreement wait in second</td> - <td>10</td> - </tr> - <tr> - <td>cassandra.pooling.core.connection.per.host.local</td> - <td>Protocol V2 and below default = 2. Protocol V3 and above default = 1</td> - <td>2</td> - </tr> - <tr> - <td>cassandra.pooling.core.connection.per.host.remote</td> - <td>Protocol V2 and below default = 1. Protocol V3 and above default = 1</td> - <td>1</td> - </tr> - <tr> - <td>cassandra.pooling.heartbeat.interval.seconds</td> - <td>Cassandra pool heartbeat interval in secs</td> - <td>30</td> - </tr> - <tr> - <td>cassandra.pooling.idle.timeout.seconds</td> - <td>Cassandra idle time out in seconds</td> - <td>120</td> - </tr> - <tr> - <td>cassandra.pooling.max.connection.per.host.local</td> - <td>Protocol V2 and below default = 8. Protocol V3 and above default = 1</td> - <td>8</td> - </tr> - <tr> - <td>cassandra.pooling.max.connection.per.host.remote</td> - <td>Protocol V2 and below default = 2. Protocol V3 and above default = 1</td> - <td>2</td> - </tr> - <tr> - <td>cassandra.pooling.max.request.per.connection.local</td> - <td>Protocol V2 and below default = 128. Protocol V3 and above default = 1024</td> - <td>128</td> - </tr> - <tr> - <td>cassandra.pooling.max.request.per.connection.remote</td> - <td>Protocol V2 and below default = 128. Protocol V3 and above default = 256</td> - <td>128</td> - </tr> - <tr> - <td>cassandra.pooling.new.connection.threshold.local</td> - <td>Protocol V2 and below default = 100. Protocol V3 and above default = 800</td> - <td>100</td> - </tr> - <tr> - <td>cassandra.pooling.new.connection.threshold.remote</td> - <td>Protocol V2 and below default = 100. Protocol V3 and above default = 200</td> - <td>100</td> - </tr> - <tr> - <td>cassandra.pooling.pool.timeout.millisecs</td> - <td>Cassandra pool time out in millisecs</td> - <td>5000</td> - </tr> - <tr> - <td>cassandra.protocol.version</td> - <td>Cassandra binary protocol version</td> - <td>3</td> - </tr> - <tr> - <td>cassandra.query.default.consistency</td> - <td> - Cassandra query default consistency level - <br/> - Available values: ONE, TWO, THREE, QUORUM, LOCAL\_ONE, LOCAL\_QUORUM, EACH\_QUORUM, ALL - </td> - <td>ONE</td> - </tr> - <tr> - <td>cassandra.query.default.fetchSize</td> - <td>Cassandra query default fetch size</td> - <td>5000</td> - </tr> - <tr> - <td>cassandra.query.default.serial.consistency</td> - <td> - Cassandra query default serial consistency level - <br/> - Available values: SERIAL, LOCAL_SERIAL - </td> - <td>SERIAL</td> - </tr> - <tr> - <td>cassandra.reconnection.policy</td> - <td> - Cassandra Reconnection Policy. - Default = new ExponentialReconnectionPolicy(1000, 10 * 60 * 1000) - To Specify your own policy, provide the <strong>fully qualify class name (FQCN)</strong> of your policy. - At runtime the interpreter will instantiate the policy using - <strong>Class.forName(FQCN).</strong> - </td> - <td>DEFAULT</td> - </tr> - <tr> - <td>cassandra.retry.policy</td> - <td> - Cassandra Retry Policy. - Default = DefaultRetryPolicy.INSTANCE - To Specify your own policy, provide the <strong>fully qualify class name (FQCN)</strong> of your policy. - At runtime the interpreter will instantiate the policy using - <strong>Class.forName(FQCN).</strong> - </td> - <td>DEFAULT</td> - </tr> - <tr> - <td>cassandra.socket.connection.timeout.millisecs</td> - <td>Cassandra socket default connection timeout in millisecs</td> - <td>500</td> - </tr> - <tr> - <td>cassandra.socket.read.timeout.millisecs</td> - <td>Cassandra socket read timeout in millisecs</td> - <td>12000</td> - </tr> - <tr> - <td>cassandra.socket.tcp.no_delay</td> - <td>Cassandra socket TCP no delay</td> - <td>true</td> - </tr> - <tr> - <td>cassandra.speculative.execution.policy</td> - <td> - Cassandra Speculative Execution Policy. - Default = NoSpeculativeExecutionPolicy.INSTANCE - To Specify your own policy, provide the <strong>fully qualify class name (FQCN)</strong> of your policy. - At runtime the interpreter will instantiate the policy using - <strong>Class.forName(FQCN).</strong> - </td> - <td>DEFAULT</td> - </tr> -</table> +<p><table class="table-configuration"> + <tr> + <th>Property Name</th> + <th>Description</th> + <th>Default Value</th> + </tr> + <tr> + <td>cassandra.cluster</td> + <td>Name of the Cassandra cluster to connect to</td> + <td>Test Cluster</td> + </tr> + <tr> + <td>cassandra.compression.protocol</td> + <td>On wire compression. Possible values are: NONE, SNAPPY, LZ4</td> + <td>NONE</td> + </tr> + <tr> + <td>cassandra.credentials.username</td> + <td>If security is enable, provide the login</td> + <td>none</td> + </tr> + <tr> + <td>cassandra.credentials.password</td> + <td>If security is enable, provide the password</td> + <td>none</td> + </tr> + <tr> + <td>cassandra.hosts</td> + <td> + Comma separated Cassandra hosts (DNS name or IP address). + <br/> + Ex: '192.168.0.12,node2,node3' + </td> + <td>localhost</td> + </tr> + <tr> + <td>cassandra.interpreter.parallelism</td> + <td>Number of concurrent paragraphs(queries block) that can be executed</td> + <td>10</td> + </tr> + <tr> + <td>cassandra.keyspace</td> + <td> + Default keyspace to connect to. + <strong> + It is strongly recommended to let the default value + and prefix the table name with the actual keyspace + in all of your queries + </strong> + </td> + <td>system</td> + </tr> + <tr> + <td>cassandra.load.balancing.policy</td> + <td> + Load balancing policy. Default = <em>new TokenAwarePolicy(new DCAwareRoundRobinPolicy())</em> + To Specify your own policy, provide the <strong>fully qualify class name (FQCN)</strong> of your policy. + At runtime the interpreter will instantiate the policy using + <strong>Class.forName(FQCN)</strong> + </td> + <td>DEFAULT</td> + </tr> + <tr> + <td>cassandra.max.schema.agreement.wait.second</td> + <td>Cassandra max schema agreement wait in second</td> + <td>10</td> + </tr> + <tr> + <td>cassandra.pooling.core.connection.per.host.local</td> + <td>Protocol V2 and below default = 2. Protocol V3 and above default = 1</td> + <td>2</td> + </tr> + <tr> + <td>cassandra.pooling.core.connection.per.host.remote</td> + <td>Protocol V2 and below default = 1. Protocol V3 and above default = 1</td> + <td>1</td> + </tr> + <tr> + <td>cassandra.pooling.heartbeat.interval.seconds</td> + <td>Cassandra pool heartbeat interval in secs</td> + <td>30</td> + </tr> + <tr> + <td>cassandra.pooling.idle.timeout.seconds</td> + <td>Cassandra idle time out in seconds</td> + <td>120</td> + </tr> + <tr> + <td>cassandra.pooling.max.connection.per.host.local</td> + <td>Protocol V2 and below default = 8. Protocol V3 and above default = 1</td> + <td>8</td> + </tr> + <tr> + <td>cassandra.pooling.max.connection.per.host.remote</td> + <td>Protocol V2 and below default = 2. Protocol V3 and above default = 1</td> + <td>2</td> + </tr> + <tr> + <td>cassandra.pooling.max.request.per.connection.local</td> + <td>Protocol V2 and below default = 128. Protocol V3 and above default = 1024</td> + <td>128</td> + </tr> + <tr> + <td>cassandra.pooling.max.request.per.connection.remote</td> + <td>Protocol V2 and below default = 128. Protocol V3 and above default = 256</td> + <td>128</td> + </tr> + <tr> + <td>cassandra.pooling.new.connection.threshold.local</td> + <td>Protocol V2 and below default = 100. Protocol V3 and above default = 800</td> + <td>100</td> + </tr> + <tr> + <td>cassandra.pooling.new.connection.threshold.remote</td> + <td>Protocol V2 and below default = 100. Protocol V3 and above default = 200</td> + <td>100</td> + </tr> + <tr> + <td>cassandra.pooling.pool.timeout.millisecs</td> + <td>Cassandra pool time out in millisecs</td> + <td>5000</td> + </tr> + <tr> + <td>cassandra.protocol.version</td> + <td>Cassandra binary protocol version</td> + <td>3</td> + </tr> + <tr> + <td>cassandra.query.default.consistency</td> + <td> + Cassandra query default consistency level + <br/> + Available values: ONE, TWO, THREE, QUORUM, LOCAL<em>ONE, LOCAL</em>QUORUM, EACH<em>QUORUM, ALL + </td> + <td>ONE</td> + </tr> + <tr> + <td>cassandra.query.default.fetchSize</td> + <td>Cassandra query default fetch size</td> + <td>5000</td> + </tr> + <tr> + <td>cassandra.query.default.serial.consistency</td> + <td> + Cassandra query default serial consistency level + <br/> + Available values: SERIAL, LOCAL</em>SERIAL + </td> + <td>SERIAL</td> + </tr> + <tr> + <td>cassandra.reconnection.policy</td> + <td> + Cassandra Reconnection Policy. + Default = new ExponentialReconnectionPolicy(1000, 10 * 60 * 1000) + To Specify your own policy, provide the <strong>fully qualify class name (FQCN)</strong> of your policy. + At runtime the interpreter will instantiate the policy using + <strong>Class.forName(FQCN)</strong> + </td> + <td>DEFAULT</td> + </tr> + <tr> + <td>cassandra.retry.policy</td> + <td> + Cassandra Retry Policy. + Default = DefaultRetryPolicy.INSTANCE + To Specify your own policy, provide the <strong>fully qualify class name (FQCN)</strong> of your policy. + At runtime the interpreter will instantiate the policy using + <strong>Class.forName(FQCN)</strong> + </td> + <td>DEFAULT</td> + </tr> + <tr> + <td>cassandra.socket.connection.timeout.millisecs</td> + <td>Cassandra socket default connection timeout in millisecs</td> + <td>500</td> + </tr> + <tr> + <td>cassandra.socket.read.timeout.millisecs</td> + <td>Cassandra socket read timeout in millisecs</td> + <td>12000</td> + </tr> + <tr> + <td>cassandra.socket.tcp.no_delay</td> + <td>Cassandra socket TCP no delay</td> + <td>true</td> + </tr> + <tr> + <td>cassandra.speculative.execution.policy</td> + <td> + Cassandra Speculative Execution Policy. + Default = NoSpeculativeExecutionPolicy.INSTANCE + To Specify your own policy, provide the <strong>fully qualify class name (FQCN)</strong> of your policy. + At runtime the interpreter will instantiate the policy using + <strong>Class.forName(FQCN)</strong> + </td> + <td>DEFAULT</td> + </tr> + </table></p> + +<h2>Change Log</h2> + +<p><strong>2.0</strong> <em>(Zeppelin 0.6.0-incubating-SNAPSHOT)</em> : +* Update help menu and add changelog +* Add Support for <strong>User Defined Functions</strong>, <strong>User Defined Aggregates</strong> and <strong>Materialized Views</strong> +* Upgrade Java driver version to <strong>3.0.0-rc1</strong></p> + +<p><strong>1.0</strong> <em>(Zeppelin 0.5.5-incubating)</em> : +* Initial version</p> <h2>Bugs & Contacts</h2> <p>If you encounter a bug for this interpreter, please create a <strong><a href="https://issues.apache.org/jira/browse/ZEPPELIN-382?jql=project%20%3D%20ZEPPELIN">JIRA</a></strong> ticket and ping me on Twitter - at <strong><a href="https://twitter.com/doanduyhai">@doanduyhai</a></strong>.</p> + at <strong><a href="https://twitter.com/doanduyhai">@doanduyhai</a></strong></p> </div> </div>
Modified: incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/interpreter/elasticsearch.html URL: http://svn.apache.org/viewvc/incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/interpreter/elasticsearch.html?rev=1730632&r1=1730631&r2=1730632&view=diff ============================================================================== --- incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/interpreter/elasticsearch.html (original) +++ incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/interpreter/elasticsearch.html Tue Feb 16 06:03:25 2016 @@ -74,6 +74,7 @@ <li role="separator" class="divider"></li> <!-- li><span><b>Guide</b><span></li --> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/manual/dynamicform.html">Dynamic Form</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/manual/publish.html">Publish your Paragraph</a></li> </ul> </li> <li> @@ -85,8 +86,10 @@ <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/elasticsearch.html">Elasticsearch</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/flink.html">Flink</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/geode.html">Geode</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/hbase.html">HBase</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/hive.html">Hive</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/ignite.html">Ignite</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/jdbc.html">JDBC</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/lens.html">Lens</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/markdown.html">Markdown</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/postgresql.html">Postgresql, hawq</a></li> @@ -128,6 +131,9 @@ <li><a href="/docs/0.6.0-incubating-SNAPSHOT/development/writingzeppelininterpreter.html">Writing Zeppelin Interpreter</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/development/howtocontribute.html">How to contribute (code)</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/development/howtocontributewebsite.html">How to contribute (website)</a></li> + <li role="separator" class="divider"></li> + <!-- li><span><b>Shiro Security</b><span></li --> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/manual/shiroauthentication.html">Shiro Authentication</a></li> </ul> </li> </ul> @@ -135,7 +141,6 @@ </div> </div> - <div class="container"> <!--<div class="hero-unit Elasticsearch Interpreter"> Modified: incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/interpreter/flink.html URL: http://svn.apache.org/viewvc/incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/interpreter/flink.html?rev=1730632&r1=1730631&r2=1730632&view=diff ============================================================================== --- incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/interpreter/flink.html (original) +++ incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/interpreter/flink.html Tue Feb 16 06:03:25 2016 @@ -74,6 +74,7 @@ <li role="separator" class="divider"></li> <!-- li><span><b>Guide</b><span></li --> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/manual/dynamicform.html">Dynamic Form</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/manual/publish.html">Publish your Paragraph</a></li> </ul> </li> <li> @@ -85,8 +86,10 @@ <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/elasticsearch.html">Elasticsearch</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/flink.html">Flink</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/geode.html">Geode</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/hbase.html">HBase</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/hive.html">Hive</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/ignite.html">Ignite</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/jdbc.html">JDBC</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/lens.html">Lens</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/markdown.html">Markdown</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/postgresql.html">Postgresql, hawq</a></li> @@ -128,6 +131,9 @@ <li><a href="/docs/0.6.0-incubating-SNAPSHOT/development/writingzeppelininterpreter.html">Writing Zeppelin Interpreter</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/development/howtocontribute.html">How to contribute (code)</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/development/howtocontributewebsite.html">How to contribute (website)</a></li> + <li role="separator" class="divider"></li> + <!-- li><span><b>Shiro Security</b><span></li --> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/manual/shiroauthentication.html">Shiro Authentication</a></li> </ul> </li> </ul> @@ -135,7 +141,6 @@ </div> </div> - <div class="container"> <!--<div class="hero-unit Flink Interpreter"> Modified: incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/interpreter/geode.html URL: http://svn.apache.org/viewvc/incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/interpreter/geode.html?rev=1730632&r1=1730631&r2=1730632&view=diff ============================================================================== --- incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/interpreter/geode.html (original) +++ incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/interpreter/geode.html Tue Feb 16 06:03:25 2016 @@ -74,6 +74,7 @@ <li role="separator" class="divider"></li> <!-- li><span><b>Guide</b><span></li --> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/manual/dynamicform.html">Dynamic Form</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/manual/publish.html">Publish your Paragraph</a></li> </ul> </li> <li> @@ -85,8 +86,10 @@ <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/elasticsearch.html">Elasticsearch</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/flink.html">Flink</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/geode.html">Geode</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/hbase.html">HBase</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/hive.html">Hive</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/ignite.html">Ignite</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/jdbc.html">JDBC</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/lens.html">Lens</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/markdown.html">Markdown</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/postgresql.html">Postgresql, hawq</a></li> @@ -128,6 +131,9 @@ <li><a href="/docs/0.6.0-incubating-SNAPSHOT/development/writingzeppelininterpreter.html">Writing Zeppelin Interpreter</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/development/howtocontribute.html">How to contribute (code)</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/development/howtocontributewebsite.html">How to contribute (website)</a></li> + <li role="separator" class="divider"></li> + <!-- li><span><b>Shiro Security</b><span></li --> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/manual/shiroauthentication.html">Shiro Authentication</a></li> </ul> </li> </ul> @@ -135,7 +141,6 @@ </div> </div> - <div class="container"> <!--<div class="hero-unit Geode OQL Interpreter"> Modified: incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/interpreter/hive.html URL: http://svn.apache.org/viewvc/incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/interpreter/hive.html?rev=1730632&r1=1730631&r2=1730632&view=diff ============================================================================== --- incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/interpreter/hive.html (original) +++ incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/interpreter/hive.html Tue Feb 16 06:03:25 2016 @@ -74,6 +74,7 @@ <li role="separator" class="divider"></li> <!-- li><span><b>Guide</b><span></li --> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/manual/dynamicform.html">Dynamic Form</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/manual/publish.html">Publish your Paragraph</a></li> </ul> </li> <li> @@ -85,8 +86,10 @@ <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/elasticsearch.html">Elasticsearch</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/flink.html">Flink</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/geode.html">Geode</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/hbase.html">HBase</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/hive.html">Hive</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/ignite.html">Ignite</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/jdbc.html">JDBC</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/lens.html">Lens</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/markdown.html">Markdown</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/postgresql.html">Postgresql, hawq</a></li> @@ -128,6 +131,9 @@ <li><a href="/docs/0.6.0-incubating-SNAPSHOT/development/writingzeppelininterpreter.html">Writing Zeppelin Interpreter</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/development/howtocontribute.html">How to contribute (code)</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/development/howtocontributewebsite.html">How to contribute (website)</a></li> + <li role="separator" class="divider"></li> + <!-- li><span><b>Shiro Security</b><span></li --> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/manual/shiroauthentication.html">Shiro Authentication</a></li> </ul> </li> </ul> @@ -135,7 +141,6 @@ </div> </div> - <div class="container"> <!--<div class="hero-unit Hive Interpreter"> Modified: incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/interpreter/ignite.html URL: http://svn.apache.org/viewvc/incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/interpreter/ignite.html?rev=1730632&r1=1730631&r2=1730632&view=diff ============================================================================== --- incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/interpreter/ignite.html (original) +++ incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/interpreter/ignite.html Tue Feb 16 06:03:25 2016 @@ -74,6 +74,7 @@ <li role="separator" class="divider"></li> <!-- li><span><b>Guide</b><span></li --> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/manual/dynamicform.html">Dynamic Form</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/manual/publish.html">Publish your Paragraph</a></li> </ul> </li> <li> @@ -85,8 +86,10 @@ <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/elasticsearch.html">Elasticsearch</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/flink.html">Flink</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/geode.html">Geode</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/hbase.html">HBase</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/hive.html">Hive</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/ignite.html">Ignite</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/jdbc.html">JDBC</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/lens.html">Lens</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/markdown.html">Markdown</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/postgresql.html">Postgresql, hawq</a></li> @@ -128,6 +131,9 @@ <li><a href="/docs/0.6.0-incubating-SNAPSHOT/development/writingzeppelininterpreter.html">Writing Zeppelin Interpreter</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/development/howtocontribute.html">How to contribute (code)</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/development/howtocontributewebsite.html">How to contribute (website)</a></li> + <li role="separator" class="divider"></li> + <!-- li><span><b>Shiro Security</b><span></li --> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/manual/shiroauthentication.html">Shiro Authentication</a></li> </ul> </li> </ul> @@ -135,7 +141,6 @@ </div> </div> - <div class="container"> <!--<div class="hero-unit Ignite Interpreter"> Modified: incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/interpreter/lens.html URL: http://svn.apache.org/viewvc/incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/interpreter/lens.html?rev=1730632&r1=1730631&r2=1730632&view=diff ============================================================================== --- incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/interpreter/lens.html (original) +++ incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/interpreter/lens.html Tue Feb 16 06:03:25 2016 @@ -74,6 +74,7 @@ <li role="separator" class="divider"></li> <!-- li><span><b>Guide</b><span></li --> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/manual/dynamicform.html">Dynamic Form</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/manual/publish.html">Publish your Paragraph</a></li> </ul> </li> <li> @@ -85,8 +86,10 @@ <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/elasticsearch.html">Elasticsearch</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/flink.html">Flink</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/geode.html">Geode</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/hbase.html">HBase</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/hive.html">Hive</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/ignite.html">Ignite</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/jdbc.html">JDBC</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/lens.html">Lens</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/markdown.html">Markdown</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/postgresql.html">Postgresql, hawq</a></li> @@ -128,6 +131,9 @@ <li><a href="/docs/0.6.0-incubating-SNAPSHOT/development/writingzeppelininterpreter.html">Writing Zeppelin Interpreter</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/development/howtocontribute.html">How to contribute (code)</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/development/howtocontributewebsite.html">How to contribute (website)</a></li> + <li role="separator" class="divider"></li> + <!-- li><span><b>Shiro Security</b><span></li --> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/manual/shiroauthentication.html">Shiro Authentication</a></li> </ul> </li> </ul> @@ -135,7 +141,6 @@ </div> </div> - <div class="container"> <!--<div class="hero-unit Lens Interpreter"> Modified: incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/interpreter/markdown.html URL: http://svn.apache.org/viewvc/incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/interpreter/markdown.html?rev=1730632&r1=1730631&r2=1730632&view=diff ============================================================================== --- incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/interpreter/markdown.html (original) +++ incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/interpreter/markdown.html Tue Feb 16 06:03:25 2016 @@ -74,6 +74,7 @@ <li role="separator" class="divider"></li> <!-- li><span><b>Guide</b><span></li --> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/manual/dynamicform.html">Dynamic Form</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/manual/publish.html">Publish your Paragraph</a></li> </ul> </li> <li> @@ -85,8 +86,10 @@ <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/elasticsearch.html">Elasticsearch</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/flink.html">Flink</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/geode.html">Geode</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/hbase.html">HBase</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/hive.html">Hive</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/ignite.html">Ignite</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/jdbc.html">JDBC</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/lens.html">Lens</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/markdown.html">Markdown</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/postgresql.html">Postgresql, hawq</a></li> @@ -128,6 +131,9 @@ <li><a href="/docs/0.6.0-incubating-SNAPSHOT/development/writingzeppelininterpreter.html">Writing Zeppelin Interpreter</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/development/howtocontribute.html">How to contribute (code)</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/development/howtocontributewebsite.html">How to contribute (website)</a></li> + <li role="separator" class="divider"></li> + <!-- li><span><b>Shiro Security</b><span></li --> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/manual/shiroauthentication.html">Shiro Authentication</a></li> </ul> </li> </ul> @@ -135,7 +141,6 @@ </div> </div> - <div class="container"> <!--<div class="hero-unit Markdown Interpreter"> Modified: incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/interpreter/postgresql.html URL: http://svn.apache.org/viewvc/incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/interpreter/postgresql.html?rev=1730632&r1=1730631&r2=1730632&view=diff ============================================================================== --- incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/interpreter/postgresql.html (original) +++ incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/interpreter/postgresql.html Tue Feb 16 06:03:25 2016 @@ -74,6 +74,7 @@ <li role="separator" class="divider"></li> <!-- li><span><b>Guide</b><span></li --> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/manual/dynamicform.html">Dynamic Form</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/manual/publish.html">Publish your Paragraph</a></li> </ul> </li> <li> @@ -85,8 +86,10 @@ <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/elasticsearch.html">Elasticsearch</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/flink.html">Flink</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/geode.html">Geode</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/hbase.html">HBase</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/hive.html">Hive</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/ignite.html">Ignite</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/jdbc.html">JDBC</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/lens.html">Lens</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/markdown.html">Markdown</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/postgresql.html">Postgresql, hawq</a></li> @@ -128,6 +131,9 @@ <li><a href="/docs/0.6.0-incubating-SNAPSHOT/development/writingzeppelininterpreter.html">Writing Zeppelin Interpreter</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/development/howtocontribute.html">How to contribute (code)</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/development/howtocontributewebsite.html">How to contribute (website)</a></li> + <li role="separator" class="divider"></li> + <!-- li><span><b>Shiro Security</b><span></li --> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/manual/shiroauthentication.html">Shiro Authentication</a></li> </ul> </li> </ul> @@ -135,7 +141,6 @@ </div> </div> - <div class="container"> <!--<div class="hero-unit PostgreSQL and HAWQ Interpreter"> Modified: incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/interpreter/scalding.html URL: http://svn.apache.org/viewvc/incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/interpreter/scalding.html?rev=1730632&r1=1730631&r2=1730632&view=diff ============================================================================== --- incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/interpreter/scalding.html (original) +++ incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/interpreter/scalding.html Tue Feb 16 06:03:25 2016 @@ -74,6 +74,7 @@ <li role="separator" class="divider"></li> <!-- li><span><b>Guide</b><span></li --> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/manual/dynamicform.html">Dynamic Form</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/manual/publish.html">Publish your Paragraph</a></li> </ul> </li> <li> @@ -85,8 +86,10 @@ <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/elasticsearch.html">Elasticsearch</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/flink.html">Flink</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/geode.html">Geode</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/hbase.html">HBase</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/hive.html">Hive</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/ignite.html">Ignite</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/jdbc.html">JDBC</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/lens.html">Lens</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/markdown.html">Markdown</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/postgresql.html">Postgresql, hawq</a></li> @@ -128,6 +131,9 @@ <li><a href="/docs/0.6.0-incubating-SNAPSHOT/development/writingzeppelininterpreter.html">Writing Zeppelin Interpreter</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/development/howtocontribute.html">How to contribute (code)</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/development/howtocontributewebsite.html">How to contribute (website)</a></li> + <li role="separator" class="divider"></li> + <!-- li><span><b>Shiro Security</b><span></li --> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/manual/shiroauthentication.html">Shiro Authentication</a></li> </ul> </li> </ul> @@ -135,7 +141,6 @@ </div> </div> - <div class="container"> <!--<div class="hero-unit Scalding Interpreter"> Modified: incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/interpreter/spark.html URL: http://svn.apache.org/viewvc/incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/interpreter/spark.html?rev=1730632&r1=1730631&r2=1730632&view=diff ============================================================================== --- incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/interpreter/spark.html (original) +++ incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/interpreter/spark.html Tue Feb 16 06:03:25 2016 @@ -74,6 +74,7 @@ <li role="separator" class="divider"></li> <!-- li><span><b>Guide</b><span></li --> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/manual/dynamicform.html">Dynamic Form</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/manual/publish.html">Publish your Paragraph</a></li> </ul> </li> <li> @@ -85,8 +86,10 @@ <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/elasticsearch.html">Elasticsearch</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/flink.html">Flink</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/geode.html">Geode</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/hbase.html">HBase</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/hive.html">Hive</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/ignite.html">Ignite</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/jdbc.html">JDBC</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/lens.html">Lens</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/markdown.html">Markdown</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/postgresql.html">Postgresql, hawq</a></li> @@ -128,6 +131,9 @@ <li><a href="/docs/0.6.0-incubating-SNAPSHOT/development/writingzeppelininterpreter.html">Writing Zeppelin Interpreter</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/development/howtocontribute.html">How to contribute (code)</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/development/howtocontributewebsite.html">How to contribute (website)</a></li> + <li role="separator" class="divider"></li> + <!-- li><span><b>Shiro Security</b><span></li --> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/manual/shiroauthentication.html">Shiro Authentication</a></li> </ul> </li> </ul> @@ -135,7 +141,6 @@ </div> </div> - <div class="container"> <!--<div class="hero-unit Spark Interpreter Group"> @@ -417,6 +422,29 @@ select * from ${table=defaultTableName} </code></pre></div> <p>To learn more about dynamic form, checkout <a href="../manual/dynamicform.html">Dynamic Form</a>.</p> +<h2>Setting up Zeppelin with Kerberos</h2> + +<p>Logical setup with Zeppelin, Kerberos Distribution Center (KDC), and Spark on YARN:</p> + +<p><img src="../assets/themes/zeppelin/img/docs-img/kdc_zeppelin.png"></p> + +<h4>Configuration Setup</h4> + +<ol> +<li><p>On the server that Zeppelin is installed, install Kerberos client modules and configuration, krb5.conf. +This is to make the server communicate with KDC.</p></li> +<li><p>Set SPARK_HOME in [ZEPPELIN_HOME]/conf/zeppelin-env.sh to use spark-submit +( Additionally, you might have to set âexport HADOOP_CONF_DIR=/etc/hadoop/confâ )</p></li> +<li><p>Add the two properties below to spark configuration ( [SPARK_HOME]/conf/spark-defaults.conf ):</p> +<div class="highlight"><pre><code class="text language-text" data-lang="text">spark.yarn.principal +spark.yarn.keytab +</code></pre></div> +<blockquote> +<p><strong>NOTE:</strong> If you do not have access to the above spark-defaults.conf file, optionally, you may add the lines to the Spark Interpreter through the Interpreter tab in the Zeppelin UI.</p> +</blockquote></li> +<li><p>That's it. Play with Zeppelin !</p></li> +</ol> + </div> </div> Modified: incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/interpreter/tachyon.html URL: http://svn.apache.org/viewvc/incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/interpreter/tachyon.html?rev=1730632&r1=1730631&r2=1730632&view=diff ============================================================================== --- incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/interpreter/tachyon.html (original) +++ incubator/zeppelin/site/docs/0.6.0-incubating-SNAPSHOT/interpreter/tachyon.html Tue Feb 16 06:03:25 2016 @@ -74,6 +74,7 @@ <li role="separator" class="divider"></li> <!-- li><span><b>Guide</b><span></li --> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/manual/dynamicform.html">Dynamic Form</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/manual/publish.html">Publish your Paragraph</a></li> </ul> </li> <li> @@ -85,8 +86,10 @@ <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/elasticsearch.html">Elasticsearch</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/flink.html">Flink</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/geode.html">Geode</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/hbase.html">HBase</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/hive.html">Hive</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/ignite.html">Ignite</a></li> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/jdbc.html">JDBC</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/lens.html">Lens</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/markdown.html">Markdown</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/interpreter/postgresql.html">Postgresql, hawq</a></li> @@ -128,6 +131,9 @@ <li><a href="/docs/0.6.0-incubating-SNAPSHOT/development/writingzeppelininterpreter.html">Writing Zeppelin Interpreter</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/development/howtocontribute.html">How to contribute (code)</a></li> <li><a href="/docs/0.6.0-incubating-SNAPSHOT/development/howtocontributewebsite.html">How to contribute (website)</a></li> + <li role="separator" class="divider"></li> + <!-- li><span><b>Shiro Security</b><span></li --> + <li><a href="/docs/0.6.0-incubating-SNAPSHOT/manual/shiroauthentication.html">Shiro Authentication</a></li> </ul> </li> </ul> @@ -135,7 +141,6 @@ </div> </div> - <div class="container"> <!--<div class="hero-unit Tachyon Interpreter">
