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/03/01 14:09:19 UTC
svn commit: r1854592 - in /kylin/site: cn/docs/install/configuration.html
docs/install/configuration.html feed.xml
Author: lidong
Date: Fri Mar 1 14:09:19 2019
New Revision: 1854592
URL: http://svn.apache.org/viewvc?rev=1854592&view=rev
Log:
Update doc for distributed cache
Modified:
kylin/site/cn/docs/install/configuration.html
kylin/site/docs/install/configuration.html
kylin/site/feed.xml
Modified: kylin/site/cn/docs/install/configuration.html
URL: http://svn.apache.org/viewvc/kylin/site/cn/docs/install/configuration.html?rev=1854592&r1=1854591&r2=1854592&view=diff
==============================================================================
--- kylin/site/cn/docs/install/configuration.html (original)
+++ kylin/site/cn/docs/install/configuration.html Fri Mar 1 14:09:19 2019
@@ -864,11 +864,11 @@ Kylin å¯ä»¥ä½¿ç¨ä¸ç§
<h3 id="distributed-cache">ä½¿ç¨ Memcached ä½ä¸º Kylin æ¥è¯¢ç¼å</h3>
-<p>ä» v2.6.0ï¼Kylin å¯ä»¥ä½¿ç¨ Memcached ä½ä¸ºæ¥è¯¢ç¼åãæ³è¦å¯ç¨è¯¥åè½ï¼æ¨éè¦æ§è¡ä»¥ä¸æ¥éª¤ï¼</p>
+<p>ä» v2.6.0ï¼Kylin å¯ä»¥ä½¿ç¨ Memcached ä½ä¸ºæ¥è¯¢ç¼åï¼ä¸èµ·å¼å
¥çè¿æä¸ç³»åç¼åå¢å¼º (<a href="https://issues.apache.org/jira/browse/KYLIN-2895">KYLIN-2895</a>)ãæ³è¦å¯ç¨è¯¥åè½ï¼æ¨éè¦æ§è¡ä»¥ä¸æ¥éª¤ï¼</p>
<ol>
<li>
- <p>å¨ä¸ä¸ªæå¤ä¸ªèç¹ä¸å®è£
Memcached;</p>
+ <p>å¨ä¸ä¸ªæå¤ä¸ªèç¹ä¸å®è£
Memcached (ææ°ç¨³å®ç v1.5.12); å¦æèµæºå¤çè¯ï¼å¯ä»¥å¨æ¯ä¸ªå®è£
Kylin çèç¹ä¸å®è£
Memcachedã</p>
</li>
<li>
<p>æç
§å¦ä¸æ示æ¹å¼ä¿®æ¹ $KYLIN_HOME/tomcat/webapps/kylin/WEB-INF/classes ç®å½ä¸ç applicationContext.xml çå
容ï¼</p>
@@ -911,9 +911,9 @@ kylin.cache.memcached.hosts=memcached1:1
<ul>
<li><code class="highlighter-rouge">kylin.query.cache-enabled</code> æ¯å¦å¼å¯æ¥è¯¢ç¼åçæ»å¼å
³ï¼é»è®¤å¼ä¸º <code class="highlighter-rouge">true</code>ã</li>
- <li><code class="highlighter-rouge">kylin.query.lazy-query-enabled</code> æ¯å¦ä¸ºçæ¶é´å
éå¤åéçæ¥è¯¢ï¼çå¾
并éç¨å次æ¥è¯¢çç»æï¼é»è®¤ä¸º falseã</li>
- <li><code class="highlighter-rouge">kylin.query.cache-signature-enabled</code> æ¯å¦ä¸ºç¼åè¿è¡ç¾åæ£æ¥ï¼ä¾æ®ç¾åååæ¥å³å®ç¼åçæææ§ãç¼åçç¾åç±é¡¹ç®ä¸ç cube / hybrid çç¶æ以åå®ä»¬çæåæ建æ¶é´çæ¥å¨æ计ç®ï¼å¨ç¼å被记å½æ¶ï¼ã</li>
- <li><code class="highlighter-rouge">kylin.query.segment-cache-enabled</code> æ¯å¦å¨ segment 级å«ç¼åä» åå¨å¼æ(HBase)è¿åçæ°æ®ï¼é»è®¤ä¸ºfalseï¼è®¾ç½®ä¸º trueï¼ä¸å¯ç¨ memcached åå¸å¼ç¼åå¼å¯çæ¶åï¼æ¤åè½æä¼çæãå¯ä¸ºé¢ç¹æ建ç cube ï¼å¦ streaming cubeï¼æåç¼åå½ä¸çï¼ä»èæåæ§è½ã</li>
+ <li><code class="highlighter-rouge">kylin.query.lazy-query-enabled</code> æ¯å¦ä¸ºçæ¶é´å
éå¤åéçæ¥è¯¢ï¼çå¾
并éç¨å次æ¥è¯¢çç»æï¼é»è®¤ä¸º <code class="highlighter-rouge">false</code>ã</li>
+ <li><code class="highlighter-rouge">kylin.query.cache-signature-enabled</code> æ¯å¦ä¸ºç¼åè¿è¡ç¾åæ£æ¥ï¼ä¾æ®ç¾åååæ¥å³å®ç¼åçæææ§ãç¼åçç¾åç±é¡¹ç®ä¸ç cube / hybrid çç¶æ以åå®ä»¬çæåæ建æ¶é´çæ¥å¨æ计ç®ï¼å¨ç¼å被记å½æ¶ï¼,é»è®¤ä¸º <code class="highlighter-rouge">false</code>ï¼é«åº¦æ¨è设置为 <code class="highlighter-rouge">true</code>ã</li>
+ <li><code class="highlighter-rouge">kylin.query.segment-cache-enabled</code> æ¯å¦å¨ segment 级å«ç¼åä» åå¨å¼æ(HBase)è¿åçæ°æ®ï¼é»è®¤ä¸º <code class="highlighter-rouge">false</code>ï¼è®¾ç½®ä¸º <code class="highlighter-rouge">true</code>ï¼ä¸å¯ç¨ Memcached åå¸å¼ç¼åå¼å¯çæ¶åï¼æ¤åè½æä¼çæãå¯ä¸ºé¢ç¹æ建ç cube ï¼å¦ streaming cubeï¼æåç¼åå½ä¸çï¼ä»èæåæ§è½ã</li>
<li><code class="highlighter-rouge">kylin.cache.memcached.hosts</code> ææäº memcached çæºå¨åå端å£ã</li>
</ul>
Modified: kylin/site/docs/install/configuration.html
URL: http://svn.apache.org/viewvc/kylin/site/docs/install/configuration.html?rev=1854592&r1=1854591&r2=1854592&view=diff
==============================================================================
--- kylin/site/docs/install/configuration.html (original)
+++ kylin/site/docs/install/configuration.html Fri Mar 1 14:09:19 2019
@@ -7044,11 +7044,11 @@ Kylin can use three types of compression
<h3 id="distributed-cache">Distributed query cache with Memcached</h3>
-<p>From v2.6.0, Kylin can use Memcached as the cache. To enable this feature, you need to do the following steps:</p>
+<p>From v2.6.0, Kylin can use Memcached as the distributed cache, and also there are some improvements on the cache policy (<a href="https://issues.apache.org/jira/browse/KYLIN-2895">KYLIN-2895</a>). To enable these new features, you need to do the following steps:</p>
<ol>
<li>
- <p>Install Memcached on 1 or multiple nodes;</p>
+ <p>Install Memcached (latest v1.5.12) on 1 or multiple nodes; You can install it on all Kylin nodes if resource is enough;</p>
</li>
<li>
<p>Modify the applicationContext.xml under $KYLIN_HOME/tomcat/webapps/kylin/WEB-INF/classes directory, comment the following code:</p>
@@ -7090,8 +7090,8 @@ kylin.cache.memcached.hosts=memcached1:1
<ul>
<li><code class="highlighter-rouge">kylin.query.cache-enabled</code> controls the on-off of query cache, its default value is <code class="highlighter-rouge">true</code>.</li>
<li><code class="highlighter-rouge">kylin.query.lazy-query-enabled</code> : whether to lazily answer the queries that be sent repeatedly in a short time (hold it until the previous query be returned, and then reuse the result); The default value is <code class="highlighter-rouge">false</code>.</li>
- <li><code class="highlighter-rouge">kylin.query.cache-signature-enabled</code> : whether to use the signature of a query to determine the cacheâs validity. The signature is calculated by the cube/hybrid list of the project, their last build time and other information (at the moment when cache is persisted); Itâs default value is <code class="highlighter-rouge">false</code>.</li>
- <li><code class="highlighter-rouge">kylin.query.segment-cache-enabled</code> : whether to cache the segment level returned data (from HBase storage) into Memcached. This feature is mainly for the cube that built very frequently (e.g, streaming cube, whose last build time always changed, the whole query cache is very likely be cleaned). This only works when Memcached configured. Itâs default value is <code class="highlighter-rouge">false</code>.</li>
+ <li><code class="highlighter-rouge">kylin.query.cache-signature-enabled</code> : whether to use the signature of a query to determine the cacheâs validity. The signature is calculated by the cube/hybrid list of the project, their last build time and other information (at the moment when cache is persisted); Itâs default value is <code class="highlighter-rouge">false</code>, highly recommend to set it to <code class="highlighter-rouge">true</code>.</li>
+ <li><code class="highlighter-rouge">kylin.query.segment-cache-enabled</code> : whether to cache the segment level returned data (from HBase storage) into Memcached. This feature is mainly for the cube that built very frequently (e.g, streaming cube, whose last build time always changed a couple minutes, the whole SQL statement level cache is very likely be cleaned; in this case, the by-segment cache can reduce the I/O). This only works when Memcached configured, the default value is <code class="highlighter-rouge">false</code>.</li>
<li><code class="highlighter-rouge">kylin.cache.memcached.hosts</code>: a list of memcached node and port, connected with comma.</li>
</ul>
Modified: kylin/site/feed.xml
URL: http://svn.apache.org/viewvc/kylin/site/feed.xml?rev=1854592&r1=1854591&r2=1854592&view=diff
==============================================================================
--- kylin/site/feed.xml (original)
+++ kylin/site/feed.xml Fri Mar 1 14:09:19 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>Wed, 27 Feb 2019 17:39:34 -0800</pubDate>
- <lastBuildDate>Wed, 27 Feb 2019 17:39:34 -0800</lastBuildDate>
+ <pubDate>Fri, 01 Mar 2019 05:59:24 -0800</pubDate>
+ <lastBuildDate>Fri, 01 Mar 2019 05:59:24 -0800</lastBuildDate>
<generator>Jekyll v2.5.3</generator>
<item>