Author: lidong Date: Wed Apr 10 14:09:14 2019 New Revision: 1857249 URL: http://svn.apache.org/viewvc?rev=1857249&view=rev Log: Update Kylin architecture diagram
Modified: kylin/site/assets/images/kylin_diagram.png kylin/site/cn/docs/howto/howto_use_restapi.html kylin/site/cn/docs/install/configuration.html kylin/site/docs/install/configuration.html kylin/site/feed.xml Modified: kylin/site/assets/images/kylin_diagram.png URL: http://svn.apache.org/viewvc/kylin/site/assets/images/kylin_diagram.png?rev=1857249&r1=1857248&r2=1857249&view=diff ============================================================================== Binary files - no diff available. Modified: kylin/site/cn/docs/howto/howto_use_restapi.html URL: http://svn.apache.org/viewvc/kylin/site/cn/docs/howto/howto_use_restapi.html?rev=1857249&r1=1857248&r2=1857249&view=diff ============================================================================== --- kylin/site/cn/docs/howto/howto_use_restapi.html (original) +++ kylin/site/cn/docs/howto/howto_use_restapi.html Wed Apr 10 14:09:14 2019 @@ -193,6 +193,7 @@ var _hmt = _hmt || []; <ul> <li><a href="#resume-job">Resume job</a></li> <li><a href="#pause-job">Pause job</a></li> + <li><a href="#drop-job">Drop job</a></li> <li><a href="#discard-job">Discard job</a></li> <li><a href="#get-job-status">Get job status</a></li> <li><a href="#get-job-step-output">Get job step output</a></li> @@ -226,7 +227,11 @@ var _hmt = _hmt || []; <h4 id="request-header">Request Header</h4> <p>Authorization data encoded by basic auth is needed in the header, such as:<br /> -Authorization:Basic {data}</p> +Authorization:Basic {data}<br /> +You can generate {data} by using below python script<br /> +<code class="highlighter-rouge"> +python -c "import base64; print base64.standard_b64encode('$UserName:$Password')" +</code></p> <h4 id="response-body">Response Body</h4> <ul> @@ -1090,10 +1095,18 @@ Get descriptor for specified cube instan <li>jobId - <code class="highlighter-rouge">required</code> <code class="highlighter-rouge">string</code> Job id.</li> </ul> +<h2 id="drop-job">Drop Job</h2> +<p><code class="highlighter-rouge">DELETE /kylin/api/jobs/{jobId}/drop</code></p> + +<h4 id="path-variable-10">Path variable</h4> +<ul> + <li>jobId - <code class="highlighter-rouge">required</code> <code class="highlighter-rouge">string</code> Job id.</li> +</ul> + <h2 id="get-job-status">Get Job Status</h2> <p><code class="highlighter-rouge">GET /kylin/api/jobs/{jobId}</code></p> -<h4 id="path-variable-10">Path variable</h4> +<h4 id="path-variable-11">Path variable</h4> <ul> <li>jobId - <code class="highlighter-rouge">required</code> <code class="highlighter-rouge">string</code> Job id.</li> </ul> @@ -1104,7 +1117,7 @@ Get descriptor for specified cube instan <h2 id="get-job-step-output">Get job step output</h2> <p><code class="highlighter-rouge">GET /kylin/api/jobs/{jobId}/steps/{stepId}/output</code></p> -<h4 id="path-variable-11">Path Variable</h4> +<h4 id="path-variable-12">Path Variable</h4> <ul> <li>jobId - <code class="highlighter-rouge">required</code> <code class="highlighter-rouge">string</code> Job id.</li> <li>stepId - <code class="highlighter-rouge">required</code> <code class="highlighter-rouge">string</code> Step id; the step id is composed by jobId with step sequence id; for example, the jobId is âfb479e54-837f-49a2-b457-651fc50be110â, its 3rd step id is âfb479e54-837f-49a2-b457-651fc50be110-3â,</li> @@ -1303,7 +1316,7 @@ Get descriptor for specified cube instan <h2 id="wipe-cache">Wipe cache</h2> <p><code class="highlighter-rouge">PUT /kylin/api/cache/{type}/{name}/{action}</code></p> -<h4 id="path-variable-12">Path variable</h4> +<h4 id="path-variable-13">Path variable</h4> <ul> <li>type - <code class="highlighter-rouge">required</code> <code class="highlighter-rouge">string</code> âMETADATAâ or âCUBEâ</li> <li>name - <code class="highlighter-rouge">required</code> <code class="highlighter-rouge">string</code> Cache key, e.g the cube name.</li> @@ -1317,7 +1330,7 @@ Get descriptor for specified cube instan <p><code class="highlighter-rouge">PUT /kylin/api/cubes/{cubeName}/init_start_offsets</code></p> -<h4 id="path-variable-13">Path variable</h4> +<h4 id="path-variable-14">Path variable</h4> <ul> <li>cubeName - <code class="highlighter-rouge">required</code> <code class="highlighter-rouge">string</code> Cube name</li> </ul> @@ -1335,7 +1348,7 @@ Get descriptor for specified cube instan <p>This API is specific for stream cubeâs building;</p> -<h4 id="path-variable-14">Path variable</h4> +<h4 id="path-variable-15">Path variable</h4> <ul> <li>cubeName - <code class="highlighter-rouge">required</code> <code class="highlighter-rouge">string</code> Cube name</li> </ul> @@ -1379,7 +1392,7 @@ Get descriptor for specified cube instan <h2 id="check-segment-holes">Check segment holes</h2> <p><code class="highlighter-rouge">GET /kylin/api/cubes/{cubeName}/holes</code></p> -<h4 id="path-variable-15">Path variable</h4> +<h4 id="path-variable-16">Path variable</h4> <ul> <li>cubeName - <code class="highlighter-rouge">required</code> <code class="highlighter-rouge">string</code> Cube name</li> </ul> @@ -1387,7 +1400,7 @@ Get descriptor for specified cube instan <h2 id="fill-segment-holes">Fill segment holes</h2> <p><code class="highlighter-rouge">PUT /kylin/api/cubes/{cubeName}/holes</code></p> -<h4 id="path-variable-16">Path variable</h4> +<h4 id="path-variable-17">Path variable</h4> <ul> <li>cubeName - <code class="highlighter-rouge">required</code> <code class="highlighter-rouge">string</code> Cube name</li> </ul> Modified: kylin/site/cn/docs/install/configuration.html URL: http://svn.apache.org/viewvc/kylin/site/cn/docs/install/configuration.html?rev=1857249&r1=1857248&r2=1857249&view=diff ============================================================================== --- kylin/site/cn/docs/install/configuration.html (original) +++ kylin/site/cn/docs/install/configuration.html Wed Apr 10 14:09:14 2019 @@ -533,7 +533,7 @@ var _hmt = _hmt || []; <li><code class="highlighter-rouge">kylin.dictionary.append-max-versions</code>ï¼é»è®¤å¼ä¸º 3</li> <li><code class="highlighter-rouge">kylin.dictionary.append-version-ttl</code>ï¼é»è®¤å¼ä¸º 259200000</li> <li><code class="highlighter-rouge">kylin.dictionary.resuable</code>ï¼æ¯å¦éç¨åå ¸ï¼é»è®¤å¼ä¸º FALSE</li> - <li><code class="highlighter-rouge">kylin.dictionary.shrunken-from-global-enable</code>ï¼æ¯å¦ç¼©å°å ¨å±åå ¸ï¼é»è®¤å¼ä¸º FALSE</li> + <li><code class="highlighter-rouge">kylin.dictionary.shrunken-from-global-enabled</code>ï¼æ¯å¦ç¼©å°å ¨å±åå ¸ï¼é»è®¤å¼ä¸º FALSE</li> </ul> <h3 id="uhc-config">è¶ é«åºç»´åº¦çå¤ç</h3> @@ -626,7 +626,8 @@ var _hmt = _hmt || []; <li><code class="highlighter-rouge">kylin.cube.cubeplanner.algorithm-threshold-greedy</code>ï¼é»è®¤å¼ä¸º 8</li> <li><code class="highlighter-rouge">kylin.cube.cubeplanner.expansion-threshold</code>ï¼é»è®¤å¼ä¸º 15.0</li> <li><code class="highlighter-rouge">kylin.cube.cubeplanner.recommend-cache-max-size</code>ï¼é»è®¤å¼ä¸º 200</li> - <li><code class="highlighter-rouge">kylin.cube.cubeplanner.mandatory-rollup-threshold</code>ï¼é»è®¤å¼ä¸º 1000</li> + <li><code class="highlighter-rouge">kylin.cube.cubeplanner.query-uncertainty-ratio</code>ï¼é»è®¤å¼ä¸º 0.1</li> + <li><code class="highlighter-rouge">kylin.cube.cubeplanner.bpus-min-benefit-ratio</code>ï¼é»è®¤å¼ä¸º 0.01</li> <li><code class="highlighter-rouge">kylin.cube.cubeplanner.algorithm-threshold-genetic</code>ï¼é»è®¤å¼ä¸º 23</li> </ul> @@ -800,6 +801,7 @@ Kylin å¯ä»¥ä½¿ç¨ä¸ç§ <ul> <li><code class="highlighter-rouge">kylin.query.force-limit</code>ï¼è¯¥åæ°éè¿ä¸º select * è¯å¥å¼ºå¶æ·»å LIMIT åå¥ï¼è¾¾å°ç¼©çæ°æ®è¿åæ¶é´çç®çï¼è¯¥åæ°é»è®¤å¼ä¸º -1ï¼å°è¯¥åæ°å¼è®¾ç½®ä¸ºæ£æ´æ°ï¼å¦ 1000ï¼è¯¥å¼ä¼è¢«åºç¨å° LIMIT åå¥ï¼æ¥è¯¢è¯å¥æç»ä¼è¢«è½¬åæ select * from fact_table limit 1000</li> + <li><code class="highlighter-rouge">kylin.storage.limit-push-down-enabled</code>: é»è®¤å¼ä¸º <em>TRUE</em>ï¼è®¾ç½®ä¸º <em>FALSE</em> æå³çå ³éåå¨å±ç limit-pushdown</li> </ul> <h3 id="jmx-metrics">æ¶éæ¥è¯¢ææ å° JMX</h3> Modified: kylin/site/docs/install/configuration.html URL: http://svn.apache.org/viewvc/kylin/site/docs/install/configuration.html?rev=1857249&r1=1857248&r2=1857249&view=diff ============================================================================== --- kylin/site/docs/install/configuration.html (original) +++ kylin/site/docs/install/configuration.html Wed Apr 10 14:09:14 2019 @@ -6712,7 +6712,7 @@ The default setting use relatively less <li><code class="highlighter-rouge">kylin.dictionary.append-max-versions</code>: The default value is 3</li> <li><code class="highlighter-rouge">kylin.dictionary.append-version-ttl</code>: The default value is 259200000</li> <li><code class="highlighter-rouge">kylin.dictionary.resuable</code>: whether to reuse the dictionary. The default value is FALSE</li> - <li><code class="highlighter-rouge">kylin.dictionary.shrunken-from-global-enable</code>: whether to reduce the size of global dictionary. The default value is <em>FALSE</em></li> + <li><code class="highlighter-rouge">kylin.dictionary.shrunken-from-global-enabled</code>: whether to reduce the size of global dictionary. The default value is <em>FALSE</em></li> </ul> <h3 id="uhc-config">Deal with Ultra-High-Cardinality Columns</h3> @@ -6806,7 +6806,8 @@ The default setting use relatively less <li><code class="highlighter-rouge">kylin.cube.cubeplanner.algorithm-threshold-greedy</code>: the default value is 8</li> <li><code class="highlighter-rouge">kylin.cube.cubeplanner.expansion-threshold</code>: the default value is 15.0</li> <li><code class="highlighter-rouge">kylin.cube.cubeplanner.recommend-cache-max-size</code>: the default value is 200</li> - <li><code class="highlighter-rouge">kylin.cube.cubeplanner.mandatory-rollup-threshold</code>: the default value is 1000</li> + <li><code class="highlighter-rouge">kylin.cube.cubeplanner.query-uncertainty-ratio</code>: the default value is 0.1</li> + <li><code class="highlighter-rouge">kylin.cube.cubeplanner.bpus-min-benefit-ratio</code>: the default value is 0.01</li> <li><code class="highlighter-rouge">kylin.cube.cubeplanner.algorithm-threshold-genetic</code>: the default value is 23</li> </ul> @@ -6980,6 +6981,7 @@ Kylin can use three types of compression <ul> <li><code class="highlighter-rouge">kylin.query.force-limit</code>: this parameter achieves the purpose of shortening the query duration by forcing a LIMIT clause for the select * statement. The default value is <em>-1</em>, and the parameter value is set to a positive integer, such as 1000, the value will be applied to the LIMIT clause, and the query will eventually be converted to select * from fact_table limit 1000</li> + <li><code class="highlighter-rouge">kylin.storage.limit-push-down-enabled</code>: the default value is <em>TRUE</em>, set to <em>FALSE</em> to close the limit-pushdown of storage layer</li> </ul> <h3 id="jmx-metrics">Collect Query Metrics to JMX</h3> Modified: kylin/site/feed.xml URL: http://svn.apache.org/viewvc/kylin/site/feed.xml?rev=1857249&r1=1857248&r2=1857249&view=diff ============================================================================== --- kylin/site/feed.xml (original) +++ kylin/site/feed.xml Wed Apr 10 14:09:14 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>Fri, 29 Mar 2019 06:59:36 -0700</pubDate> - <lastBuildDate>Fri, 29 Mar 2019 06:59:36 -0700</lastBuildDate> + <pubDate>Wed, 10 Apr 2019 06:59:35 -0700</pubDate> + <lastBuildDate>Wed, 10 Apr 2019 06:59:35 -0700</lastBuildDate> <generator>Jekyll v2.5.3</generator> <item>