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 2019/12/25 14:08:47 UTC

svn commit: r1871971 - in /kylin/site: cn/docs30/howto/howto_use_restapi.html cn/docs30/install/configuration.html docs30/howto/howto_use_restapi.html docs30/install/configuration.html feed.xml

Author: lidong
Date: Wed Dec 25 14:08:46 2019
New Revision: 1871971

URL: http://svn.apache.org/viewvc?rev=1871971&view=rev
Log:
Add KYLIN-4143,4098,4175,4178 doc

Modified:
    kylin/site/cn/docs30/howto/howto_use_restapi.html
    kylin/site/cn/docs30/install/configuration.html
    kylin/site/docs30/howto/howto_use_restapi.html
    kylin/site/docs30/install/configuration.html
    kylin/site/feed.xml

Modified: kylin/site/cn/docs30/howto/howto_use_restapi.html
URL: http://svn.apache.org/viewvc/kylin/site/cn/docs30/howto/howto_use_restapi.html?rev=1871971&r1=1871970&r2=1871971&view=diff
==============================================================================
--- kylin/site/cn/docs30/howto/howto_use_restapi.html (original)
+++ kylin/site/cn/docs30/howto/howto_use_restapi.html Wed Dec 25 14:08:46 2019
@@ -200,6 +200,7 @@ var _hmt = _hmt || [];
       <li><a href="#disable-cube">Disable cube</a></li>
       <li><a href="#purge-cube">Purge cube</a></li>
       <li><a href="#delete-segment">Delete segment</a></li>
+      <li><a href="#auto-merge-segment">Auto-Merge segment</a></li>
     </ul>
   </li>
   <li>MODEL
@@ -1062,6 +1063,9 @@ Get descriptor for specified cube instan
 <h2 id="delete-segment">Delete Segment</h2>
 <p><code class="highlighter-rouge">DELETE /kylin/api/cubes/{cubeName}/segs/{segmentName}</code></p>
 
+<h2 id="auto-merge-segment">Auto-merge Segment</h2>
+<p><code class="highlighter-rouge">PUT /kylin/api/cubes/{cubeName}/automerge</code></p>
+
 <hr />
 
 <h2 id="create-model">Create Model</h2>

Modified: kylin/site/cn/docs30/install/configuration.html
URL: http://svn.apache.org/viewvc/kylin/site/cn/docs30/install/configuration.html?rev=1871971&r1=1871970&r2=1871971&view=diff
==============================================================================
--- kylin/site/cn/docs30/install/configuration.html (original)
+++ kylin/site/cn/docs30/install/configuration.html Wed Dec 25 14:08:46 2019
@@ -229,6 +229,9 @@ var _hmt = _hmt || [];
       <li><a href="#email-notification">启用邮件通知</a></li>
       <li><a href="#cube-planner">启用 Cube Planner</a></li>
       <li><a href="#hbase-config">HBase 存储</a></li>
+      <li><a href="#secondary-hbase">备用 Hbase 存储</a></li>
+      <li><a href="#safe-mode">任务调度安全模式</a></li>
+      <li><a href="#job-output">任务输出</a></li>
       <li><a href="#compress-config">启用压缩</a></li>
       <li><a href="#realtime-olap">实时 OLAP</a></li>
     </ul>
@@ -711,6 +714,33 @@ var _hmt = _hmt || [];
   <li><code class="highlighter-rouge">kylin.storage.hbase.scan-cache-rows</code>:指定扫描缓存行数,默认值为 1024</li>
 </ul>
 
+<h3 id="secondary-hbase">备用 Hbase 存储</h3>
+
+<p>Kylin支持用户配置备用Hbase,这样在集群迁移时,Kylin仍然可以从旧集群中查询到构建好的Cube数据。</p>
+
+<ul>
+  <li><code class="highlighter-rouge">kylin.secondary.storage.url</code>: 指定备用Hbase的集群地址以及metadata url. 例如 <em>kylin.secondary.storage.url=hostname:kylin_metadata@hbase</em>.</li>
+  <li><code class="highlighter-rouge">hbase.zookeeper.quorum</code>: 指定备用Hbase所在集群的Zookeeper信息. 例如 <em>hbase.zookeeper.quorum=hostname:11000,zookeeper.znode.parent=/hbase/</em>, 如果还有其他的配置项,可以以<key> = <value>的形式添加在后面.</value></key></li>
+</ul>
+
+<h3 id="safe-mode">任务调度安全模式</h3>
+
+<p>为了保证安全的对Hbase集群作出更改,用户可以为Kylin开启安全模式。在安全模式下,未创建Htable的任务将不会被调度,其他任务则会继续执行至结束。所有可以执行的任务完成后,用户可以更改配置到一个新的Hbase集群,然后再调度执行其他任务。</p>
+
+<ul>
+  <li><code class="highlighter-rouge">kylin.job.scheduler.safemode</code>: 是否开启安全模式. 默认值为FALSE.</li>
+  <li><code class="highlighter-rouge">kylin.job.scheduler.safemode.runnable-projects</code>: 不受安全模式影响的Project. 例如 <em>kylin.job.scheduler.safemode.runnable-projects=learn_kylin</em>.</li>
+</ul>
+
+<h3 id="job-output">任务输出</h3>
+
+<p>为了避免job output的内容太多,用户可以设置output的最大长度。</p>
+
+<ul>
+  <li><code class="highlighter-rouge">kylin.job.execute-output.max-size</code>: Job output的最大长度. 默认值为10484760.</li>
+  <li><code class="highlighter-rouge">kylin.engine.spark.output.max-size</code>: Spark job output的最大长度. 默认值为10484760.</li>
+</ul>
+
 <h3 id="compress-config">启用压缩</h3>
 
 <p>Kylin 在默认状态下不会启用压缩,不支持的压缩算法会阻碍 Kylin 的构建任务,但是一个合适的压缩算法可以减少存储开销和网络开销,提高整体系统运行效率。<br />

Modified: kylin/site/docs30/howto/howto_use_restapi.html
URL: http://svn.apache.org/viewvc/kylin/site/docs30/howto/howto_use_restapi.html?rev=1871971&r1=1871970&r2=1871971&view=diff
==============================================================================
--- kylin/site/docs30/howto/howto_use_restapi.html (original)
+++ kylin/site/docs30/howto/howto_use_restapi.html Wed Dec 25 14:08:46 2019
@@ -7067,6 +7067,7 @@ var _hmt = _hmt || [];
       <li><a href="#disable-cube">Disable cube</a></li>
       <li><a href="#purge-cube">Purge cube</a></li>
       <li><a href="#delete-segment">Delete segment</a></li>
+      <li><a href="#auto-merge-segment">Auto-Merge segment</a></li>
     </ul>
   </li>
   <li>MODEL
@@ -7929,6 +7930,9 @@ Get descriptor for specified cube instan
 <h2 id="delete-segment">Delete Segment</h2>
 <p><code class="highlighter-rouge">DELETE /kylin/api/cubes/{cubeName}/segs/{segmentName}</code></p>
 
+<h2 id="auto-merge-segment">Auto-merge Segment</h2>
+<p><code class="highlighter-rouge">PUT /kylin/api/cubes/{cubeName}/automerge</code></p>
+
 <hr />
 
 <h2 id="create-model">Create Model</h2>

Modified: kylin/site/docs30/install/configuration.html
URL: http://svn.apache.org/viewvc/kylin/site/docs30/install/configuration.html?rev=1871971&r1=1871970&r2=1871971&view=diff
==============================================================================
--- kylin/site/docs30/install/configuration.html (original)
+++ kylin/site/docs30/install/configuration.html Wed Dec 25 14:08:46 2019
@@ -7096,6 +7096,9 @@ var _hmt = _hmt || [];
       <li><a href="#email-notification">Enable Email Notification</a></li>
       <li><a href="#cube-planner">Enable Cube Planner</a></li>
       <li><a href="#hbase-config">HBase Storage</a></li>
+      <li><a href="#secondary-hbase">Secondary Hbase Storage</a></li>
+      <li><a href="#safe-mode">Job Scheduler Safe Mode</a></li>
+      <li><a href="#job-output">Job Output</a></li>
       <li><a href="#compress-config">Enable Compression</a></li>
       <li><a href="#realtime-olap">Real-time OLAP</a></li>
     </ul>
@@ -7580,6 +7583,33 @@ The default setting use relatively less
   <li><code class="highlighter-rouge">kylin.storage.hbase.scan-cache-rows</code>: specifies the number of scan cache lines. The default value is 1024.</li>
 </ul>
 
+<h3 id="secondary-hbase">Secondary Hbase Storage</h3>
+
+<p>Kylin support secondary hbase storage and made the kylin cluster can query cube data from the old hbase cluster during the cluster migration.</p>
+
+<ul>
+  <li><code class="highlighter-rouge">kylin.secondary.storage.url</code>: specifies the secondary hbase cluster and metadata path. Such as <em>kylin.secondary.storage.url=hostname:kylin_metadata@hbase</em>.</li>
+  <li><code class="highlighter-rouge">hbase.zookeeper.quorum</code>: specifies the zookeeper information where secondary hbase cluster located. Such as <em>hbase.zookeeper.quorum=hostname:11000,zookeeper.znode.parent=/hbase/</em>, if there are other parameters,  they can be added in the form of <key> = <value>.</value></key></li>
+</ul>
+
+<h3 id="safe-mode">Job Scheduler Safe Mode</h3>
+
+<p>In order to change HBase cluster safely, user can turn on the safe mode for kylin. In safe mode, the job have not create htable cannot be scheduled, and the other jobs can run continuous. After all running job finished,  user can change the cluster config to the new one,  and rest of job can be scheduled again.</p>
+
+<ul>
+  <li><code class="highlighter-rouge">kylin.job.scheduler.safemode</code>: Whether to turn on safe mode. The default value is FALSE.</li>
+  <li><code class="highlighter-rouge">kylin.job.scheduler.safemode.runnable-projects</code>: Projects not affected by safe mode. Such as <em>kylin.job.scheduler.safemode.runnable-projects=learn_kylin</em>.</li>
+</ul>
+
+<h3 id="job-output">Job Output</h3>
+
+<p>In order to avoid job output content is too large, user could set the max length of output.</p>
+
+<ul>
+  <li><code class="highlighter-rouge">kylin.job.execute-output.max-size</code>: The max length of job output. The default value is 10484760.</li>
+  <li><code class="highlighter-rouge">kylin.engine.spark.output.max-size</code>: The max length of spark job output. The default value is 10484760.</li>
+</ul>
+
 <h3 id="compress-config">Enable Compression</h3>
 
 <p>Kylin does not enable Enable Compression by default. Unsupported compression algorithms can hinder Kylin’s build jobs, but a suitable compression algorithm can reduce storage overhead and network overhead and improve overall system operation efficiency.<br />

Modified: kylin/site/feed.xml
URL: http://svn.apache.org/viewvc/kylin/site/feed.xml?rev=1871971&r1=1871970&r2=1871971&view=diff
==============================================================================
--- kylin/site/feed.xml (original)
+++ kylin/site/feed.xml Wed Dec 25 14:08:46 2019
@@ -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>Tue, 24 Dec 2019 05:59:19 -0800</pubDate>
-    <lastBuildDate>Tue, 24 Dec 2019 05:59:19 -0800</lastBuildDate>
+    <pubDate>Wed, 25 Dec 2019 05:59:19 -0800</pubDate>
+    <lastBuildDate>Wed, 25 Dec 2019 05:59:19 -0800</lastBuildDate>
     <generator>Jekyll v2.5.3</generator>
     
       <item>