You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by li...@apache.org on 2017/10/10 14:01:07 UTC

svn commit: r1811701 - in /kylin/site: community/index.html docs21/tutorial/kylin_sample.html feed.xml

Author: lidong
Date: Tue Oct 10 14:01:07 2017
New Revision: 1811701

URL: http://svn.apache.org/viewvc?rev=1811701&view=rev
Log:
KYLIN-2775 sample streaming cube tutorial

Modified:
    kylin/site/community/index.html
    kylin/site/docs21/tutorial/kylin_sample.html
    kylin/site/feed.xml

Modified: kylin/site/community/index.html
URL: http://svn.apache.org/viewvc/kylin/site/community/index.html?rev=1811701&r1=1811700&r2=1811701&view=diff
==============================================================================
--- kylin/site/community/index.html (original)
+++ kylin/site/community/index.html Tue Oct 10 14:01:07 2017
@@ -383,7 +383,7 @@
     </tr>
     <tr>
       <td style="text-align: left">Yanghong Zhong (钟阳红)</td>
-      <td style="text-align: left"><a href="http://home.apache.org/phonebook.html?uid="></a></td>
+      <td style="text-align: left"><a href="http://home.apache.org/phonebook.html?uid=nju_yaho">nju_yaho</a></td>
       <td style="text-align: left"><a href="http://github.com/kyotoYaho"><img width="48" src="http://github.com/kyotoYaho.png" /></a></td>
       <td style="text-align: left">committer</td>
     </tr>
@@ -393,6 +393,30 @@
       <td style="text-align: left"><a href="http://github.com/yiming187"><img width="48" src="http://github.com/yiming187.png" /></a></td>
       <td style="text-align: left">committer</td>
     </tr>
+    <tr>
+      <td style="text-align: left">Kaisen Kang (康凯森)</td>
+      <td style="text-align: left"><a href="http://home.apache.org/phonebook.html?uid=kangkaisen">kangkaisen</a></td>
+      <td style="text-align: left"><a href="http://github.com/kangkaisen"><img width="48" src="http://github.com/kangkaisen.png" /></a></td>
+      <td style="text-align: left">committer</td>
+    </tr>
+    <tr>
+      <td style="text-align: left">Alberto Ramón</td>
+      <td style="text-align: left"><a href="http://home.apache.org/phonebook.html?uid=alb">alb</a></td>
+      <td style="text-align: left"><a href="http://github.com/albertoRamon"><img width="48" src="http://github.com/albertoRamon.png" /></a></td>
+      <td style="text-align: left">committer</td>
+    </tr>
+    <tr>
+      <td style="text-align: left">Roger Shi (施继承)</td>
+      <td style="text-align: left"><a href="http://home.apache.org/phonebook.html?uid=sjc">sjc</a></td>
+      <td style="text-align: left"><a href="http://github.com/rogercloud"><img width="48" src="http://github.com/rogercloud.png" /></a></td>
+      <td style="text-align: left">committer</td>
+    </tr>
+    <tr>
+      <td style="text-align: left">Zhixiong Chen (陈志雄)</td>
+      <td style="text-align: left"><a href="http://home.apache.org/phonebook.html?uid=chen">chen</a></td>
+      <td style="text-align: left"><a href="http://github.com/chenzhx"><img width="48" src="http://github.com/chenzhx.png" /></a></td>
+      <td style="text-align: left">committer</td>
+    </tr>
   </tbody>
 </table>
 

Modified: kylin/site/docs21/tutorial/kylin_sample.html
URL: http://svn.apache.org/viewvc/kylin/site/docs21/tutorial/kylin_sample.html?rev=1811701&r1=1811700&r2=1811701&view=diff
==============================================================================
--- kylin/site/docs21/tutorial/kylin_sample.html (original)
+++ kylin/site/docs21/tutorial/kylin_sample.html Tue Oct 10 14:01:07 2017
@@ -2832,7 +2832,7 @@
 							
 							
 							<article class="post-content" >	
-							<p>Kylin provides a script for you to create a sample Cube; the script will also create three sample hive tables:</p>
+							<p>Kylin provides a script for you to create a sample Cube; the script will also create five sample hive tables:</p>
 
 <ol>
   <li>Run ${KYLIN_HOME}/bin/sample.sh ; Restart kylin server to flush the caches;</li>
@@ -2844,6 +2844,21 @@
   <li>You can verify the query result and compare the response time with hive;</li>
 </ol>
 
+<h2 id="quick-start-with-streaming-sample-cube">Quick Start with Streaming Sample Cube</h2>
+
+<p>Kylin provides a script for streaming sample cube also. This script will create Kafka topic and send the random messages constantly to the generated topic.</p>
+
+<ol>
+  <li>Export KAFKA_HOME first, and start Kylin.</li>
+  <li>Run ${KYLIN_HOME}/bin/sample.sh, it will generate Table DEFAULT.KYLIN_STREAMING_TABLE, Model kylin_streaming_model, Cube kylin_streaming_cube in learn_kylin project.</li>
+  <li>Run ${KYLIN_HOME}/bin/sample-streaming.sh, it will create Kafka Topic kylin_streaming_topic into the localhost:9092 broker. It also send the random 100 messages into kylin_streaming_topic per second.</li>
+  <li>Follow the the standard cube build process, and trigger the Cube kylin_streaming_cube build.</li>
+  <li>Check the build process in “Monitor” tab, until at least one job is 100%.</li>
+  <li>Execute SQLs in the “Insight” tab, for example:<br />
+      select count(*), HOUR_START from kylin_streaming_table group by HOUR_START</li>
+  <li>Verify the query result.</li>
+</ol>
+
 <h2 id="whats-next">What’s next</h2>
 
 <p>You can create another cube with the sample tables, by following the tutorials.</p>

Modified: kylin/site/feed.xml
URL: http://svn.apache.org/viewvc/kylin/site/feed.xml?rev=1811701&r1=1811700&r2=1811701&view=diff
==============================================================================
--- kylin/site/feed.xml (original)
+++ kylin/site/feed.xml Tue Oct 10 14:01:07 2017
@@ -19,8 +19,8 @@
     <description>Apache Kylin Home</description>
     <link>http://kylin.apache.org/</link>
     <atom:link href="http://kylin.apache.org/feed.xml" rel="self" type="application/rss+xml"/>
-    <pubDate>Fri, 06 Oct 2017 18:55:21 -0700</pubDate>
-    <lastBuildDate>Fri, 06 Oct 2017 18:55:21 -0700</lastBuildDate>
+    <pubDate>Tue, 10 Oct 2017 06:59:07 -0700</pubDate>
+    <lastBuildDate>Tue, 10 Oct 2017 06:59:07 -0700</lastBuildDate>
     <generator>Jekyll v2.5.3</generator>
     
       <item>