You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@griffin.apache.org by gu...@apache.org on 2018/09/14 01:48:40 UTC

incubator-griffin-site git commit: Updated asf-site site from master (68b073c8ea768a4cdad6aea5b71f99b9b0bb71cc)

Repository: incubator-griffin-site
Updated Branches:
  refs/heads/asf-site 0c87850cd -> 893e4899d


Updated asf-site site from master (68b073c8ea768a4cdad6aea5b71f99b9b0bb71cc)


Project: http://git-wip-us.apache.org/repos/asf/incubator-griffin-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-griffin-site/commit/893e4899
Tree: http://git-wip-us.apache.org/repos/asf/incubator-griffin-site/tree/893e4899
Diff: http://git-wip-us.apache.org/repos/asf/incubator-griffin-site/diff/893e4899

Branch: refs/heads/asf-site
Commit: 893e4899d48dcdf25a8c27f55d6ad7af7bf559a8
Parents: 0c87850
Author: William Guo <gu...@apache.org>
Authored: Fri Sep 14 09:48:35 2018 +0800
Committer: William Guo <gu...@apache.org>
Committed: Fri Sep 14 09:48:35 2018 +0800

----------------------------------------------------------------------
 docs/community.html  | 13 +++++++------
 docs/quickstart.html | 17 +++++++++++++----
 2 files changed, 20 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-griffin-site/blob/893e4899/docs/community.html
----------------------------------------------------------------------
diff --git a/docs/community.html b/docs/community.html
index 0b96519..f160cb2 100644
--- a/docs/community.html
+++ b/docs/community.html
@@ -171,14 +171,14 @@ under the License.
       <td> </td>
       <td> </td>
       <td> </td>
-      <td><a href="mailto:user@Griffin.apache.org">user@Griffin.apache.org</a></td>
+      <td><a href="mailto:users@Griffin.apache.org">users@Griffin.apache.org</a></td>
       <td> </td>
       <td> </td>
       <td> </td>
       <td> </td>
-      <td><a href="mailto:user-subscribe@Griffin.apache.org">subscribe</a></td>
-      <td><a href="mailto:user-unsubscribe@Griffin.apache.org">unsubscribe</a></td>
-      <td><a href="http://mail-archives.apache.org/mod_mbox/Griffin-user/">Griffin-user</a></td>
+      <td><a href="mailto:users-subscribe@Griffin.apache.org">subscribe</a></td>
+      <td><a href="mailto:users-unsubscribe@Griffin.apache.org">unsubscribe</a></td>
+      <td><a href="http://mail-archives.apache.org/mod_mbox/griffin-users/">Griffin-users</a></td>
     </tr>
     <tr>
       <td>Dev Mailling List</td>
@@ -193,7 +193,7 @@ under the License.
       <td> </td>
       <td><a href="mailto:dev-subscribe@Griffin.apache.org">subscribe</a></td>
       <td><a href="mailto:dev-unsubscribe@Griffin.apache.org">unsubscribe</a></td>
-      <td><a href="http://mail-archives.apache.org/mod_mbox/Griffin-dev/">Griffin-dev</a></td>
+      <td><a href="http://mail-archives.apache.org/mod_mbox/griffin-dev/">Griffin-dev</a></td>
     </tr>
     <tr>
       <td>Issues Mailling List</td>
@@ -208,6 +208,7 @@ under the License.
       <td> </td>
       <td><a href="mailto:issues-subscribe@Griffin.apache.org">subscribe</a></td>
       <td><a href="mailto:issues-unsubscribe@Griffin.apache.org">unsubscribe</a></td>
+      <!-- TODO: leads nowhere -->
       <td><a href="http://mail-archives.apache.org/mod_mbox/Griffin-issues/">Griffin-issues</a></td>
     </tr>
     <tr>
@@ -223,7 +224,7 @@ under the License.
       <td> </td>
       <td><a href="mailto:commits-subscribe@Griffin.apache.org">subscribe</a></td>
       <td><a href="mailto:commits-unsubscribe@Griffin.apache.org">unsubscribe</a></td>
-      <td><a href="http://mail-archives.apache.org/mod_mbox/Griffin-commits/">Griffin-commits</a></td>
+      <td><a href="http://mail-archives.apache.org/mod_mbox/griffin-commits/">Griffin-commits</a></td>
     </tr>
   </tbody>
 </table>

http://git-wip-us.apache.org/repos/asf/incubator-griffin-site/blob/893e4899/docs/quickstart.html
----------------------------------------------------------------------
diff --git a/docs/quickstart.html b/docs/quickstart.html
index aea2255..c2696ea 100644
--- a/docs/quickstart.html
+++ b/docs/quickstart.html
@@ -140,7 +140,7 @@ hour                    string
 
 <p>as every day we have one daily partition dt(like 20180912),</p>
 
-<p>for every day we have 24 hourly partitions(like 01,02, …).</p>
+<p>for every day we have 24 hourly partitions(like 00, 01, 02, …, 23).</p>
 
 <h2 id="environment-preparation">Environment Preparation</h2>
 <p>You need to prepare the environment for Apache Griffin measure module, including the following software:</p>
@@ -201,10 +201,19 @@ LOCATION
   'hdfs:///griffin/data/batch/demo_tgt';
 
 </code></pre></div></div>
-<p>and we will load data into both two tables for every hour.</p>
-
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>#load data here...
+<p>The data could be generated this:</p>
+<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>1|18|student
+2|23|engineer
+3|42|cook
+...
+</code></pre></div></div>
+<p>For demo_src and demo_tgt, there could be some different items between each other. 
+You can download <a href="https://github.com/bhlx3lyx7/griffin-docker/tree/master/griffin_spark2/prep/data">this directory</a> and execute <code class="highlighter-rouge">./gen_demo_data.sh</code> to get the two data source files.
+Then we will load data into both two tables for every hour.</p>
+<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>LOAD DATA LOCAL INPATH 'demo_src' INTO TABLE demo_src PARTITION (dt='20180912',hour='09');
+LOAD DATA LOCAL INPATH 'demo_tgt' INTO TABLE demo_tgt PARTITION (dt='20180912',hour='09');
 </code></pre></div></div>
+<p>Or you can just execute <code class="highlighter-rouge">./gen-hive-data.sh</code> in the downloaded directory above, to generate and load data into the tables hourly.</p>
 
 <h2 id="define-data-quality-measure">Define data quality measure</h2>