Author: lidong
Date: Thu Aug 27 14:10:06 2020
New Revision: 1881248
URL: http://svn.apache.org/viewvc?rev=1881248&view=rev
Log:
KYLIN-4715 Wrong function with kylin document about how to optimize cube build
Modified:
kylin/site/cn/docs/howto/howto_optimize_build.html
kylin/site/cn/docs/tutorial/cube_spark.html
kylin/site/cn/docs24/howto/howto_optimize_build.html
kylin/site/cn/docs30/howto/howto_optimize_build.html
kylin/site/cn/docs30/tutorial/cube_spark.html
kylin/site/docs/howto/howto_optimize_build.html
kylin/site/docs/tutorial/cube_spark.html
kylin/site/docs24/howto/howto_optimize_build.html
kylin/site/docs30/howto/howto_optimize_build.html
kylin/site/docs30/tutorial/cube_spark.html
kylin/site/feed.xml
Modified: kylin/site/cn/docs/howto/howto_optimize_build.html
URL:
http://svn.apache.org/viewvc/kylin/site/cn/docs/howto/howto_optimize_build.html?rev=1881248&r1=1881247&r2=1881248&view=diff
==============================================================================
--- kylin/site/cn/docs/howto/howto_optimize_build.html (original)
+++ kylin/site/cn/docs/howto/howto_optimize_build.html Thu Aug 27 14:10:06 2020
@@ -293,7 +293,7 @@ INSERT OVERWRITE TABLE kylin_intermediat
<p>æäºcuboidå¯ä»¥ä»ä¸ä¸ªä»¥ä¸çç¶cuboidèåå¾å°ï¼è¿ç§æ
åµä¸ï¼Kylinä¼éæ©æå°çä¸ä¸ªç¶cuboidã举ä¾,ABå¯ä»¥ä»ABC(id:1110)åABD(id:1101)çæï¼åABDä¼è¢«éä¸ï¼å
为å®çæ¯ABCè¦å°ãå¨è¿åºç¡ä¸ï¼å¦æDçåºæ°è¾å°ï¼èåè¿ç®çææ¬å°±ä¼æ¯è¾ä½ãæä»¥ï¼å½è®¾è®¡rowkeyåºåçæ¶åï¼è¯·è®°å¾å°åºæ°è¾å°ç维度æ¾å¨æ«å°¾ãè¿æ
·ä¸ä»
æå©äºcubeæå»ºï¼è䏿å©äºcubeæ¥è¯¢ï¼å
为é¢èåä¹éµå¾ªç¸åçè§åã</p>
-<p>é常æ¥è¯´ï¼ä»Nç»´å°(N/2)ç»´çæå»ºæ¯è¾æ
¢ï¼å
ä¸ºè¿æ¯cuboidæ°éçç¸æ§å¢é¿çé¶æ®µï¼Nç»´æ1个cuboidï¼(N-1)ç»´æN个cuboidï¼(N-2)ç»´æN*(N-1)个cuboidï¼ä»¥æ¤ç±»æ¨ãç»è¿(N/2)ç»´æå»ºçæ¥éª¤ï¼æ´ä¸ªæå»ºä»»å¡ä¼éæ¸åå¿«ã</p>
+<p>é常æ¥è¯´ï¼ä»Nç»´å°(N/2)ç»´çæå»ºæ¯è¾æ
¢ï¼å
ä¸ºè¿æ¯cuboidæ°éçç¸æ§å¢é¿çé¶æ®µï¼Nç»´æ1个cuboidï¼(N-1)ç»´æN个cuboidï¼(N-2)ç»´æN*(N-1)/2个cuboidï¼ä»¥æ¤ç±»æ¨ãç»è¿(N/2)ç»´æå»ºçæ¥éª¤ï¼æ´ä¸ªæå»ºä»»å¡ä¼éæ¸åå¿«ã</p>
<h2 id="cube">æå»ºcube</h2>
Modified: kylin/site/cn/docs/tutorial/cube_spark.html
URL:
http://svn.apache.org/viewvc/kylin/site/cn/docs/tutorial/cube_spark.html?rev=1881248&r1=1881247&r2=1881248&view=diff
==============================================================================
--- kylin/site/cn/docs/tutorial/cube_spark.html (original)
+++ kylin/site/cn/docs/tutorial/cube_spark.html Thu Aug 27 14:10:06 2020
@@ -299,7 +299,8 @@ kylin.engine.livy-conf.livy-arr.jars=hdf
<p>ç°å¨æå»ºæ¥éª¤ä¸çâextract fact table distinct valueâ å
âbuild dimension dictionaryâ
两个æ¥éª¤ä¹å¯ä»¥ä½¿ç¨Sparkè¿è¡æå»ºäºãç¸å
³çé
ç½®å¦ä¸ï¼</p>
<div class="highlight"><pre><code class="language-groff"
data-lang="groff">kylin.engine.spark-fact-distinct=true
-kylin.engine.spark-dimension-dictionary=true</code></pre></div>
+kylin.engine.spark-dimension-dictionary=true
+kylin.engine.spark-uhc-dictionary=true</code></pre></div>
<h2 id="section-2">çé¾è§£ç</h2>
Modified: kylin/site/cn/docs24/howto/howto_optimize_build.html
URL:
http://svn.apache.org/viewvc/kylin/site/cn/docs24/howto/howto_optimize_build.html?rev=1881248&r1=1881247&r2=1881248&view=diff
==============================================================================
--- kylin/site/cn/docs24/howto/howto_optimize_build.html (original)
+++ kylin/site/cn/docs24/howto/howto_optimize_build.html Thu Aug 27 14:10:06
2020
@@ -293,7 +293,7 @@ INSERT OVERWRITE TABLE kylin_intermediat
<p>æäºcuboidå¯ä»¥ä»ä¸ä¸ªä»¥ä¸çç¶cuboidèåå¾å°ï¼è¿ç§æ
åµä¸ï¼Kylinä¼éæ©æå°çä¸ä¸ªç¶cuboidã举ä¾,ABå¯ä»¥ä»ABC(id:1110)åABD(id:1101)çæï¼åABDä¼è¢«éä¸ï¼å
为å®çæ¯ABCè¦å°ãå¨è¿åºç¡ä¸ï¼å¦æDçåºæ°è¾å°ï¼èåè¿ç®çææ¬å°±ä¼æ¯è¾ä½ãæä»¥ï¼å½è®¾è®¡rowkeyåºåçæ¶åï¼è¯·è®°å¾å°åºæ°è¾å°ç维度æ¾å¨æ«å°¾ãè¿æ
·ä¸ä»
æå©äºcubeæå»ºï¼è䏿å©äºcubeæ¥è¯¢ï¼å
为é¢èåä¹éµå¾ªç¸åçè§åã</p>
-<p>é常æ¥è¯´ï¼ä»Nç»´å°(N/2)ç»´çæå»ºæ¯è¾æ
¢ï¼å
ä¸ºè¿æ¯cuboidæ°éçç¸æ§å¢é¿çé¶æ®µï¼Nç»´æ1个cuboidï¼(N-1)ç»´æN个cuboidï¼(N-2)ç»´æN*(N-1)个cuboidï¼ä»¥æ¤ç±»æ¨ãç»è¿(N/2)ç»´æå»ºçæ¥éª¤ï¼æ´ä¸ªæå»ºä»»å¡ä¼éæ¸åå¿«ã</p>
+<p>é常æ¥è¯´ï¼ä»Nç»´å°(N/2)ç»´çæå»ºæ¯è¾æ
¢ï¼å
ä¸ºè¿æ¯cuboidæ°éçç¸æ§å¢é¿çé¶æ®µï¼Nç»´æ1个cuboidï¼(N-1)ç»´æN个cuboidï¼(N-2)ç»´æN*(N-1)/2个cuboidï¼ä»¥æ¤ç±»æ¨ãç»è¿(N/2)ç»´æå»ºçæ¥éª¤ï¼æ´ä¸ªæå»ºä»»å¡ä¼éæ¸åå¿«ã</p>
<h2 id="cube">æå»ºcube</h2>
Modified: kylin/site/cn/docs30/howto/howto_optimize_build.html
URL:
http://svn.apache.org/viewvc/kylin/site/cn/docs30/howto/howto_optimize_build.html?rev=1881248&r1=1881247&r2=1881248&view=diff
==============================================================================
--- kylin/site/cn/docs30/howto/howto_optimize_build.html (original)
+++ kylin/site/cn/docs30/howto/howto_optimize_build.html Thu Aug 27 14:10:06
2020
@@ -293,7 +293,7 @@ INSERT OVERWRITE TABLE kylin_intermediat
<p>æäºcuboidå¯ä»¥ä»ä¸ä¸ªä»¥ä¸çç¶cuboidèåå¾å°ï¼è¿ç§æ
åµä¸ï¼Kylinä¼éæ©æå°çä¸ä¸ªç¶cuboidã举ä¾,ABå¯ä»¥ä»ABC(id:1110)åABD(id:1101)çæï¼åABDä¼è¢«éä¸ï¼å
为å®çæ¯ABCè¦å°ãå¨è¿åºç¡ä¸ï¼å¦æDçåºæ°è¾å°ï¼èåè¿ç®çææ¬å°±ä¼æ¯è¾ä½ãæä»¥ï¼å½è®¾è®¡rowkeyåºåçæ¶åï¼è¯·è®°å¾å°åºæ°è¾å°ç维度æ¾å¨æ«å°¾ãè¿æ
·ä¸ä»
æå©äºcubeæå»ºï¼è䏿å©äºcubeæ¥è¯¢ï¼å
为é¢èåä¹éµå¾ªç¸åçè§åã</p>
-<p>é常æ¥è¯´ï¼ä»Nç»´å°(N/2)ç»´çæå»ºæ¯è¾æ
¢ï¼å
ä¸ºè¿æ¯cuboidæ°éçç¸æ§å¢é¿çé¶æ®µï¼Nç»´æ1个cuboidï¼(N-1)ç»´æN个cuboidï¼(N-2)ç»´æN*(N-1)个cuboidï¼ä»¥æ¤ç±»æ¨ãç»è¿(N/2)ç»´æå»ºçæ¥éª¤ï¼æ´ä¸ªæå»ºä»»å¡ä¼éæ¸åå¿«ã</p>
+<p>é常æ¥è¯´ï¼ä»Nç»´å°(N/2)ç»´çæå»ºæ¯è¾æ
¢ï¼å
ä¸ºè¿æ¯cuboidæ°éçç¸æ§å¢é¿çé¶æ®µï¼Nç»´æ1个cuboidï¼(N-1)ç»´æN个cuboidï¼(N-2)ç»´æN*(N-1)/2个cuboidï¼ä»¥æ¤ç±»æ¨ãç»è¿(N/2)ç»´æå»ºçæ¥éª¤ï¼æ´ä¸ªæå»ºä»»å¡ä¼éæ¸åå¿«ã</p>
<h2 id="cube">æå»ºcube</h2>
Modified: kylin/site/cn/docs30/tutorial/cube_spark.html
URL:
http://svn.apache.org/viewvc/kylin/site/cn/docs30/tutorial/cube_spark.html?rev=1881248&r1=1881247&r2=1881248&view=diff
==============================================================================
--- kylin/site/cn/docs30/tutorial/cube_spark.html (original)
+++ kylin/site/cn/docs30/tutorial/cube_spark.html Thu Aug 27 14:10:06 2020
@@ -299,7 +299,8 @@ kylin.engine.livy-conf.livy-arr.jars=hdf
<p>ç°å¨æå»ºæ¥éª¤ä¸çâextract fact table distinct valueâ å
âbuild dimension dictionaryâ
两个æ¥éª¤ä¹å¯ä»¥ä½¿ç¨Sparkè¿è¡æå»ºäºãç¸å
³çé
ç½®å¦ä¸ï¼</p>
<div class="highlight"><pre><code class="language-groff"
data-lang="groff">kylin.engine.spark-fact-distinct=true
-kylin.engine.spark-dimension-dictionary=true</code></pre></div>
+kylin.engine.spark-dimension-dictionary=true
+kylin.engine.spark-uhc-dictionary=true</code></pre></div>
<h2 id="section-2">çé¾è§£ç</h2>
Modified: kylin/site/docs/howto/howto_optimize_build.html
URL:
http://svn.apache.org/viewvc/kylin/site/docs/howto/howto_optimize_build.html?rev=1881248&r1=1881247&r2=1881248&view=diff
==============================================================================
--- kylin/site/docs/howto/howto_optimize_build.html (original)
+++ kylin/site/docs/howto/howto_optimize_build.html Thu Aug 27 14:10:06 2020
@@ -8513,7 +8513,7 @@ INSERT OVERWRITE TABLE kylin_intermediat
<p>Some cuboid can be aggregated from more than 1 parent cubiods, in this
case, Kylin will select the minimal parent cuboid. For example, AB can be
generated from ABC (id: 1110) and ABD (id: 1101), so ABD will be used as its id
is smaller than ABC. Based on this, if Dâs cardinality is small, the
aggregation will be cost-efficient. So, when you design the Cube rowkey
sequence, please remember to put low cardinality dimensions to the tail
position. This not only benefit the Cube build, but also benefit the Cube query
as the post-aggregation follows the same rule.</p>
-<p>Usually from the N-D to (N/2)-D the building is slow, because it is the
cuboid explosion process: N-D has 1 Cuboid, (N-1)-D has N cuboids, (N-2)-D has
N*(N-1) cuboids, etc. After (N/2)-D step, the building gets faster
gradually.</p>
+<p>Usually from the N-D to (N/2)-D the building is slow, because it is the
cuboid explosion process: N-D has 1 Cuboid, (N-1)-D has N cuboids, (N-2)-D has
N*(N-1)/2 cuboids, etc. After (N/2)-D step, the building gets faster
gradually.</p>
<h2 id="build-cube">Build Cube</h2>
Modified: kylin/site/docs/tutorial/cube_spark.html
URL:
http://svn.apache.org/viewvc/kylin/site/docs/tutorial/cube_spark.html?rev=1881248&r1=1881247&r2=1881248&view=diff
==============================================================================
--- kylin/site/docs/tutorial/cube_spark.html (original)
+++ kylin/site/docs/tutorial/cube_spark.html Thu Aug 27 14:10:06 2020
@@ -8518,8 +8518,8 @@ kylin.engine.livy-conf.livy-arr.jars=hdf
<p>As we all know, the cubing job includes several steps and the steps
âextract fact table distinct valueâ, âbuild dimension dictionaryâ and
âbuild UHC dimension dictionaryâ can also be built by spark. The
configurations are as follows.</p>
<div class="highlight"><pre><code class="language-groff"
data-lang="groff">kylin.engine.spark-fact-distinct=true
-kylin.engine.spark-dimension-dictionary=true
-kylin.engine.spark-udc-dictionary=true</code></pre></div>
+kylin.engine.spark-dimension-dictionary=true
+kylin.engine.spark-uhc-dictionary=true</code></pre></div>
<h2 id="troubleshooting">Troubleshooting</h2>
Modified: kylin/site/docs24/howto/howto_optimize_build.html
URL:
http://svn.apache.org/viewvc/kylin/site/docs24/howto/howto_optimize_build.html?rev=1881248&r1=1881247&r2=1881248&view=diff
==============================================================================
--- kylin/site/docs24/howto/howto_optimize_build.html (original)
+++ kylin/site/docs24/howto/howto_optimize_build.html Thu Aug 27 14:10:06 2020
@@ -8514,7 +8514,7 @@ INSERT OVERWRITE TABLE kylin_intermediat
<p>Some cuboid can be aggregated from more than 1 parent cubiods, in this
case, Kylin will select the minimal parent cuboid. For example, AB can be
generated from ABC (id: 1110) and ABD (id: 1101), so ABD will be used as its id
is smaller than ABC. Based on this, if Dâs cardinality is small, the
aggregation will be cost-efficient. So, when you design the Cube rowkey
sequence, please remember to put low cardinality dimensions to the tail
position. This not only benefit the Cube build, but also benefit the Cube query
as the post-aggregation follows the same rule.</p>
-<p>Usually from the N-D to (N/2)-D the building is slow, because it is the
cuboid explosion process: N-D has 1 Cuboid, (N-1)-D has N cuboids, (N-2)-D has
N*(N-1) cuboids, etc. After (N/2)-D step, the building gets faster
gradually.</p>
+<p>Usually from the N-D to (N/2)-D the building is slow, because it is the
cuboid explosion process: N-D has 1 Cuboid, (N-1)-D has N cuboids, (N-2)-D has
N*(N-1)/2 cuboids, etc. After (N/2)-D step, the building gets faster
gradually.</p>
<h2 id="build-cube">Build Cube</h2>
Modified: kylin/site/docs30/howto/howto_optimize_build.html
URL:
http://svn.apache.org/viewvc/kylin/site/docs30/howto/howto_optimize_build.html?rev=1881248&r1=1881247&r2=1881248&view=diff
==============================================================================
--- kylin/site/docs30/howto/howto_optimize_build.html (original)
+++ kylin/site/docs30/howto/howto_optimize_build.html Thu Aug 27 14:10:06 2020
@@ -8513,7 +8513,7 @@ INSERT OVERWRITE TABLE kylin_intermediat
<p>Some cuboid can be aggregated from more than 1 parent cubiods, in this
case, Kylin will select the minimal parent cuboid. For example, AB can be
generated from ABC (id: 1110) and ABD (id: 1101), so ABD will be used as its id
is smaller than ABC. Based on this, if Dâs cardinality is small, the
aggregation will be cost-efficient. So, when you design the Cube rowkey
sequence, please remember to put low cardinality dimensions to the tail
position. This not only benefit the Cube build, but also benefit the Cube query
as the post-aggregation follows the same rule.</p>
-<p>Usually from the N-D to (N/2)-D the building is slow, because it is the
cuboid explosion process: N-D has 1 Cuboid, (N-1)-D has N cuboids, (N-2)-D has
N*(N-1) cuboids, etc. After (N/2)-D step, the building gets faster
gradually.</p>
+<p>Usually from the N-D to (N/2)-D the building is slow, because it is the
cuboid explosion process: N-D has 1 Cuboid, (N-1)-D has N cuboids, (N-2)-D has
N*(N-1)/2 cuboids, etc. After (N/2)-D step, the building gets faster
gradually.</p>
<h2 id="build-cube">Build Cube</h2>
Modified: kylin/site/docs30/tutorial/cube_spark.html
URL:
http://svn.apache.org/viewvc/kylin/site/docs30/tutorial/cube_spark.html?rev=1881248&r1=1881247&r2=1881248&view=diff
==============================================================================
--- kylin/site/docs30/tutorial/cube_spark.html (original)
+++ kylin/site/docs30/tutorial/cube_spark.html Thu Aug 27 14:10:06 2020
@@ -8519,7 +8519,7 @@ kylin.engine.livy-conf.livy-arr.jars=hdf
<div class="highlight"><pre><code class="language-groff"
data-lang="groff">kylin.engine.spark-fact-distinct=true
kylin.engine.spark-dimension-dictionary=true
-kylin.engine.spark-udc-dictionary=true</code></pre></div>
+kylin.engine.spark-uhc-dictionary=true</code></pre></div>
<h2 id="troubleshooting">Troubleshooting</h2>
Modified: kylin/site/feed.xml
URL:
http://svn.apache.org/viewvc/kylin/site/feed.xml?rev=1881248&r1=1881247&r2=1881248&view=diff
==============================================================================
--- kylin/site/feed.xml (original)
+++ kylin/site/feed.xml Thu Aug 27 14:10:06 2020
@@ -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>Mon, 24 Aug 2020 06:59:11 -0700</pubDate>
- <lastBuildDate>Mon, 24 Aug 2020 06:59:11 -0700</lastBuildDate>
+ <pubDate>Thu, 27 Aug 2020 06:59:14 -0700</pubDate>
+ <lastBuildDate>Thu, 27 Aug 2020 06:59:14 -0700</lastBuildDate>
<generator>Jekyll v2.5.3</generator>
<item>