zeppelin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ahyoung...@apache.org
Subject svn commit: r1778365 - in /zeppelin/site/docs/0.7.0-SNAPSHOT/interpreter: flink.html pig.html
Date Thu, 12 Jan 2017 03:12:49 GMT
Author: ahyoungryu
Date: Thu Jan 12 03:12:49 2017
New Revision: 1778365

URL: http://svn.apache.org/viewvc?rev=1778365&view=rev
Log: (empty)

Modified:
    zeppelin/site/docs/0.7.0-SNAPSHOT/interpreter/flink.html
    zeppelin/site/docs/0.7.0-SNAPSHOT/interpreter/pig.html

Modified: zeppelin/site/docs/0.7.0-SNAPSHOT/interpreter/flink.html
URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.7.0-SNAPSHOT/interpreter/flink.html?rev=1778365&r1=1778364&r2=1778365&view=diff
==============================================================================
--- zeppelin/site/docs/0.7.0-SNAPSHOT/interpreter/flink.html (original)
+++ zeppelin/site/docs/0.7.0-SNAPSHOT/interpreter/flink.html Thu Jan 12 03:12:49 2017
@@ -243,7 +243,7 @@ limitations under the License.
 
 <h2>How to test it&#39;s working</h2>
 
-<p>In example, by using the <a href="https://www.zeppelinhub.com/viewer/notebooks/aHR0cHM6Ly9yYXcuZ2l0aHVidXNlcmNvbnRlbnQuY29tL05GTGFicy96ZXBwZWxpbi1ub3RlYm9va3MvbWFzdGVyL25vdGVib29rcy8yQVFFREs1UEMvbm90ZS5qc29u">Zeppelin
notebook</a> is from Till Rohrmann&#39;s presentation <a href="http://www.slideshare.net/tillrohrmann/data-analysis-49806564">Interactive
data analysis with Apache Flink</a> for Apache Flink Meetup.</p>
+<p>You can find an example of Flink usage in the Zeppelin Tutorial folder or try the
following word count example, by using the <a href="https://www.zeppelinhub.com/viewer/notebooks/aHR0cHM6Ly9yYXcuZ2l0aHVidXNlcmNvbnRlbnQuY29tL05GTGFicy96ZXBwZWxpbi1ub3RlYm9va3MvbWFzdGVyL25vdGVib29rcy8yQVFFREs1UEMvbm90ZS5qc29u">Zeppelin
notebook</a> from Till Rohrmann&#39;s presentation <a href="http://www.slideshare.net/tillrohrmann/data-analysis-49806564">Interactive
data analysis with Apache Flink</a> for Apache Flink Meetup.</p>
 <div class="highlight"><pre><code class="text language-text" data-lang="text">%sh
 rm 10.txt.utf-8
 wget http://www.gutenberg.org/ebooks/10.txt.utf-8

Modified: zeppelin/site/docs/0.7.0-SNAPSHOT/interpreter/pig.html
URL: http://svn.apache.org/viewvc/zeppelin/site/docs/0.7.0-SNAPSHOT/interpreter/pig.html?rev=1778365&r1=1778364&r2=1778365&view=diff
==============================================================================
--- zeppelin/site/docs/0.7.0-SNAPSHOT/interpreter/pig.html (original)
+++ zeppelin/site/docs/0.7.0-SNAPSHOT/interpreter/pig.html Thu Jan 12 03:12:49 2017
@@ -215,6 +215,7 @@
 <ul>
 <li>Local</li>
 <li>MapReduce</li>
+<li>Tez_Local (Only Tez 0.7 is supported)</li>
 <li>Tez  (Only Tez 0.7 is supported)</li>
 </ul>
 
@@ -229,6 +230,9 @@
 <li><p>MapReduce Mode</p>
 
 <p>HADOOP_CONF_DIR needs to be specified in <code>ZEPPELIN_HOME/conf/zeppelin-env.sh</code>.</p></li>
+<li><p>Tez Local Mode</p>
+
+<p>Nothing needs to be done for tez local mode</p></li>
 <li><p>Tez Mode</p>
 
 <p>HADOOP_CONF_DIR and TEZ_CONF_DIR needs to be specified in <code>ZEPPELIN_HOME/conf/zeppelin-env.sh</code>.</p></li>
@@ -247,7 +251,7 @@
     <tr>
         <td>zeppelin.pig.execType</td>
         <td>mapreduce</td>
-        <td>Execution mode for pig runtime. local | mapreduce | tez </td>
+        <td>Execution mode for pig runtime. local | mapreduce | tez_local | tez </td>
     </tr>
     <tr>
         <td>zeppelin.pig.includeJobStats</td>
@@ -278,7 +282,9 @@ b = foreach raw_data generate Category;
 c = group b by Category;
 foreach c generate group as category, COUNT($1) as count;
 </code></pre></div>
-<p>Data is shared between <code>%pig</code> and <code>%pig.query</code>,
so that you can do some common work in <code>%pig</code>, and do different kinds
of query based on the data of <code>%pig</code>.</p>
+<p>Data is shared between <code>%pig</code> and <code>%pig.query</code>,
so that you can do some common work in <code>%pig</code>, and do different kinds
of query based on the data of <code>%pig</code>. 
+Besides, we recommend you to specify alias explicitly so that the visualization can display
the column name correctly. Here, we name <code>COUNT($1)</code> as <code>count</code>,
if you don&#39;t do this,
+then we will name it using position, here we will use <code>col_1</code> to represent
<code>COUNT($1)</code> if you don&#39;t specify alias for it. There&#39;s
one pig tutorial note in zeppelin for your reference.</p>
 
   </div>
 </div>



Mime
View raw message