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 2018/11/12 14:08:46 UTC

svn commit: r1846419 - in /kylin/site: cn/docs/install/configuration.html cn/docs/tutorial/mysql_metastore.html docs/install/configuration.html docs/tutorial/mysql_metastore.html feed.xml

Author: lidong
Date: Mon Nov 12 14:08:45 2018
New Revision: 1846419

URL: http://svn.apache.org/viewvc?rev=1846419&view=rev
Log:
Update website/_docs/install/configuration.md

Modified:
    kylin/site/cn/docs/install/configuration.html
    kylin/site/cn/docs/tutorial/mysql_metastore.html
    kylin/site/docs/install/configuration.html
    kylin/site/docs/tutorial/mysql_metastore.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=1846419&r1=1846418&r2=1846419&view=diff
==============================================================================
--- kylin/site/cn/docs/install/configuration.html (original)
+++ kylin/site/cn/docs/install/configuration.html Mon Nov 12 14:08:45 2018
@@ -268,26 +268,29 @@ Kylin 的配置文件å¦
 
 <h3 id="cube-config-override">Cube 配置重写</h3>
 
-<p>在设计 Cube (<strong>Cube Designer</strong>)的 <strong>Configuration overrides</strong> 步骤可以添加配置项,进行 Cube 级别的配置重写,如下图所示:<br />
+<p>在设计 Cube (<strong>Cube Designer</strong>)的 <strong>Configuration Overwrites</strong> 步骤可以添加配置项,进行 Cube 级别的配置重写,如下图所示:<br />
 <img src="/images/install/override_config_cube.png" alt="" /></p>
 
 <h3 id="mr-config-override">重写 MapReduce 任务相关</h3>
 
 <p>Kylin 支持在项目和 Cube 级别重写 <code class="highlighter-rouge">kylin_job_conf.xml</code> 和 <code class="highlighter-rouge">kylin_job_conf_inmem.xml</code> 中参数,以键值对的性质,按照如下格式替换:<br />
 <code class="highlighter-rouge">kylin.job.mr.config.override.&lt;key&gt; = &lt;value&gt;</code><br />
-如果用户希望 Cube 的构建任务使用不同的 YARN resource queue,可以设置:<code class="highlighter-rouge">kylin.engine.mr.config-override.mapreduce.job.queuename={queueName}</code></p>
+如果用户希望 Cube 的构建任务使用不同的 YARN resource queue,可以设置:<br />
+<code class="highlighter-rouge">kylin.engine.mr.config-override.mapreduce.job.queuename={queueName}</code></p>
 
 <h3 id="hive-config-override">重写 Hive 参数</h3>
 
 <p>Kylin 支持在项目和 Cube 级别重写 <code class="highlighter-rouge">kylin_hive_conf.xml</code> 中参数,以键值对的性质,按照如下格式替换:<br />
 <code class="highlighter-rouge">kylin.source.hive.config-override.&lt;key&gt; = &lt;value&gt;</code><br />
-如果用户希望 Hive 使用不同的 YARN resource queue,可以设置:<code class="highlighter-rouge">kylin.source.hive.config-override.mapreduce.job.queuename={queueName}</code></p>
+如果用户希望 Hive 使用不同的 YARN resource queue,可以设置:<br />
+<code class="highlighter-rouge">kylin.source.hive.config-override.mapreduce.job.queuename={queueName}</code></p>
 
 <h3 id="spark-config-override">重写 Spark 参数</h3>
 
 <p>Kylin 支持在项目和 Cube 级别重写 <code class="highlighter-rouge">kylin.properties</code> 中的 Spark 参数,以键值对的性质,按照如下格式替换:<br />
 <code class="highlighter-rouge">kylin.engine.spark-conf.&lt;key&gt; = &lt;value&gt;</code><br />
-如果用户希望 Spark 使用不同的 YARN resource queue,可以设置:<code class="highlighter-rouge">kylin.engine.spark-conf.spark.yarn.queue={queueName}</code></p>
+如果用户希望 Spark 使用不同的 YARN resource queue,可以设置:<br />
+<code class="highlighter-rouge">kylin.engine.spark-conf.spark.yarn.queue={queueName}</code></p>
 
 <h3 id="kylin-deploy">部署配置</h3>
 
@@ -311,17 +314,7 @@ Kylin 的配置文件å¦
   <li><code class="highlighter-rouge">kylin.env.zookeeper-base-path</code>:指定 Kylin 服务所用的 ZooKeeper 路径,默认值为 <code class="highlighter-rouge">/kylin</code></li>
   <li><code class="highlighter-rouge">kylin.env.zookeeper-connect-string</code>:指定 ZooKeeper 连接字符串,如果为空,使用 HBase 的 ZooKeeper</li>
   <li><code class="highlighter-rouge">kylin.env.hadoop-conf-dir</code>:指定 Hadoop 配置文件目录,如果不指定的话,获取环境中的 <code class="highlighter-rouge">HADOOP_CONF_DIR</code></li>
-  <li>
-    <table>
-      <tbody>
-        <tr>
-          <td><code class="highlighter-rouge">kylin.server.mode</code>:指定 Kylin 实例的运行模式,参数值可选 (<code class="highlighter-rouge">all</code></td>
-          <td><code class="highlighter-rouge">job</code></td>
-          <td><code class="highlighter-rouge">query</code>),默认值为 <code class="highlighter-rouge">all</code>,job 模式代表该服务仅用于任务调度,不用于查询;query 模式代表该服务仅用于查询,不用于构建任务的调度;all 模式代表该服务同时用于任务调度和 SQL 查询。</td>
-        </tr>
-      </tbody>
-    </table>
-  </li>
+  <li><code class="highlighter-rouge">kylin.server.mode</code>:指定 Kylin 实例的运行模式,参数值可选 <code class="highlighter-rouge">all</code>, <code class="highlighter-rouge">job</code>, <code class="highlighter-rouge">query</code>,默认值为 <code class="highlighter-rouge">all</code>,job 模式代表该服务仅用于任务调度,不用于查询;query 模式代表该服务仅用于查询,不用于构建任务的调度;all 模式代表该服务同时用于任务调度和 SQL 查询。</li>
   <li><code class="highlighter-rouge">kylin.server.cluster-name</code>:指定集群名称</li>
 </ul>
 
@@ -461,7 +454,7 @@ Kylin 的配置文件å¦
 <h3 id="cube-algorithm">Cube 构建算法</h3>
 
 <ul>
-  <li><code class="highlighter-rouge">kylin.cube.algorithm</code>:指定 Cube 构建的算法,参数值可选 <code class="highlighter-rouge">auto</code>,<code class="highlighter-rouge">layer</code> 和 <code class="highlighter-rouge">inmem</code>, 默认值为 <code class="highlighter-rouge">auto</code>,即 Kylin 会通过采集数据动态地选择一个算法 (layer or inmem),如果用户很了解 Kylin 和自身的数据、集群,可以直接设置喜欢的算法</li>
+  <li><code class="highlighter-rouge">kylin.cube.algorithm</code>:指定 Cube 构建的算法,参数值可选 <code class="highlighter-rouge">auto</code>,<code class="highlighter-rouge">layer</code> 和 <code class="highlighter-rouge">inmem</code>, 默认值为 auto,即 Kylin 会通过采集数据动态地选择一个算法 (layer or inmem),如果用户很了解 Kylin 和自身的数据、集群,可以直接设置喜欢的算法</li>
   <li><code class="highlighter-rouge">kylin.cube.algorithm.layer-or-inmem-threshold</code>:默认值为 7</li>
   <li><code class="highlighter-rouge">kylin.cube.algorithm.inmem-split-limit</code>:默认值为 500</li>
   <li><code class="highlighter-rouge">kylin.cube.algorithm.inmem-concurrent-threads</code>:默认值为 1</li>
@@ -503,7 +496,7 @@ Kylin 的配置文件å¦
   <li><code class="highlighter-rouge">kylin.engine.mr.max-reducer-number</code>:MapReduce 任务中 Reducer 数目的最大值,默认值为 500</li>
   <li><code class="highlighter-rouge">kylin.engine.mr.mapper-input-rows</code>:每个 Mapper 可以处理的行数,默认值为 1000000,如果将这个值调小,会起更多的 Mapper</li>
   <li><code class="highlighter-rouge">kylin.engine.mr.max-cuboid-stats-calculator-number</code>:用于计算 Cube 统计数据的线程数量,默认值为 1</li>
-  <li><code class="highlighter-rouge">kylin.engine.mr.build-dict-in-reducer</code>:是否在构建任务 <strong>Extract Fact Table Distinct Columns</strong> 的 Reduce 阶段构建字典,默认值为 <code class="highlighter-rouge">TRUE</code></li>
+  <li><code class="highlighter-rouge">kylin.engine.mr.build-dict-in-reducer</code>:是否在构建任务 <strong>Extract Fact Table Distinct Columns</strong> 的 Reduce 阶段构建字典,默认值为 TRUE</li>
   <li><code class="highlighter-rouge">kylin.engine.mr.yarn-check-interval-seconds</code>:构建引擎间隔多久检查 Hadoop 任务的状态,默认值为 10(s)</li>
 </ul>
 
@@ -524,15 +517,15 @@ Kylin 的配置文件å¦
 <h3 id="uhc-config">超高基维度的处理</h3>
 
 <p>Cube 构建默认在 <strong>Extract Fact Table Distinct Column</strong> 这一步为每一列分配一个 Reducer,对于超高基维度,可以通过以下参数增加 Reducer 个数<br />
-- <code class="highlighter-rouge">kylin.engine.mr.build-uhc-dict-in-additional-step</code>:默认值为 <code class="highlighter-rouge">FALSE</code>,设置为 <code class="highlighter-rouge">TRUE</code><br />
+- <code class="highlighter-rouge">kylin.engine.mr.build-uhc-dict-in-additional-step</code>:默认值为 FALSE,设置为 TRUE<br />
 - <code class="highlighter-rouge">kylin.engine.mr.uhc-reducer-count</code>:默认值为 1,可以设置为 5,即为每个超高基的列分配 5 个 Reducer。</p>
 
 <h3 id="spark-cubing">Spark 构建引擎</h3>
 
 <ul>
-  <li><code class="highlighter-rouge">kylin.engine.spark-conf.spark.master</code>:指定 Spark 运行模式,默认值为 <code class="highlighter-rouge">yarn</code></li>
-  <li><code class="highlighter-rouge">kylin.engine.spark-conf.spark.submit.deployMode</code>:指定 Spark on YARN 的部署模式,默认值为 <code class="highlighter-rouge">cluster</code></li>
-  <li><code class="highlighter-rouge">kylin.engine.spark-conf.spark.yarn.queue</code>:指定 Spark 资源队列,默认值为 <code class="highlighter-rouge">default</code></li>
+  <li><code class="highlighter-rouge">kylin.engine.spark-conf.spark.master</code>:指定 Spark 运行模式,默认值为 yarn</li>
+  <li><code class="highlighter-rouge">kylin.engine.spark-conf.spark.submit.deployMode</code>:指定 Spark on YARN 的部署模式,默认值为 cluster</li>
+  <li><code class="highlighter-rouge">kylin.engine.spark-conf.spark.yarn.queue</code>:指定 Spark 资源队列,默认值为 default</li>
   <li><code class="highlighter-rouge">kylin.engine.spark-conf.spark.driver.memory</code>:指定 Spark Driver 内存大小,默认值为 2G</li>
   <li><code class="highlighter-rouge">kylin.engine.spark-conf.spark.executor.memory</code>:指定 Spark Executor 内存大小,默认值为 4G</li>
   <li><code class="highlighter-rouge">kylin.engine.spark-conf.spark.yarn.executor.memoryOverhead</code>:指定 Spark Executor 堆外内存大小,默认值为 1024(MB)</li>
@@ -649,24 +642,17 @@ Kylin 的配置文件å¦
 <h3 id="compress-config">启用压缩</h3>
 
 <p>Kylin 在默认状态下不会启用压缩,不支持的压缩算法会阻碍 Kylin 的构建任务,但是一个合适的压缩算法可以减少存储开销和网络开销,提高整体系统运行效率。<br />
-Kylin 可以使用三种类型的压缩,分别是 HBase 表压缩,Hive 输出压缩 和 MapReduce 任务输出压缩。 <br />
-&gt; <strong>注意</strong>:压缩设置只有在重启 Kylin 实例后才会生效。</p>
+Kylin 可以使用三种类型的压缩,分别是 HBase 表压缩,Hive 输出压缩 和 MapReduce 任务输出压缩。</p>
+
+<blockquote>
+  <p><strong>注意</strong>:压缩设置只有在重启 Kylin 实例后才会生效。</p>
+</blockquote>
 
 <ul>
   <li>HBase 表压缩</li>
 </ul>
 
-<table>
-  <tbody>
-    <tr>
-      <td>该项压缩通过 <code class="highlighter-rouge">kyiln.properties</code> 中的 <code class="highlighter-rouge">kylin.hbase.default.compression.codec</code> 进行配置,参数值可选( <code class="highlighter-rouge">none</code></td>
-      <td><code class="highlighter-rouge">snappy</code></td>
-      <td><code class="highlighter-rouge">lzo</code></td>
-      <td><code class="highlighter-rouge">gzip</code></td>
-      <td><code class="highlighter-rouge">lz4</code>),默认值为 <code class="highlighter-rouge">none</code>,即不压缩数据。</td>
-    </tr>
-  </tbody>
-</table>
+<p>该项压缩通过 <code class="highlighter-rouge">kyiln.properties</code> 中的 <code class="highlighter-rouge">kylin.hbase.default.compression.codec</code> 进行配置,参数值可选 <code class="highlighter-rouge">none</code>,<code class="highlighter-rouge">snappy</code>, <code class="highlighter-rouge">lzo</code>, <code class="highlighter-rouge">gzip</code>, <code class="highlighter-rouge">lz4</code>),默认值为 none,即不压缩数据。</p>
 
 <blockquote>
   <p><strong>注意</strong>:在修改压缩算法前,请确保用户的 HBase 集群支持所选压缩算法。</p>
@@ -710,7 +696,7 @@ Kylin 可以使用三ç§
 </code></pre>
 </div>
 
-<h3 id="kylin-query">查询配置 {$kylin-query}</h3>
+<h3 id="kylin-query">查询配置</h3>
 
 <p>本小节介绍 Kylin 查询有关的配置。</p>
 
@@ -723,28 +709,8 @@ Kylin 可以使用三ç§
   <li><code class="highlighter-rouge">kylin.query.security.table-acl-enabled</code>:是否在查询时检查对应表的 ACL,默认值为 TRUE</li>
   <li><code class="highlighter-rouge">kylin.query.calcite.extras-props.conformance</code>:是否严格解析,默认值为 LENIENT</li>
   <li><code class="highlighter-rouge">kylin.query.calcite.extras-props.caseSensitive</code>:是否大小写敏感,默认值为 TRUE</li>
-  <li>
-    <table>
-      <tbody>
-        <tr>
-          <td><code class="highlighter-rouge">kylin.query.calcite.extras-props.unquotedCasing</code>:是否需要将查询语句进行大小写转换,参数值可选( <code class="highlighter-rouge">UNCHANGED</code></td>
-          <td><code class="highlighter-rouge">TO_UPPER</code></td>
-          <td><code class="highlighter-rouge">TO_LOWER</code> ),默认值为 <code class="highlighter-rouge">TO_UPPER</code>,即全部大写</td>
-        </tr>
-      </tbody>
-    </table>
-  </li>
-  <li>
-    <table>
-      <tbody>
-        <tr>
-          <td><code class="highlighter-rouge">kylin.query.calcite.extras-props.quoting</code>:是否添加引号,参数值可选( <code class="highlighter-rouge">DOUBLE_QUOTE</code></td>
-          <td><code class="highlighter-rouge">BACK_TICK</code></td>
-          <td><code class="highlighter-rouge">BRACKET</code>),默认值为 <code class="highlighter-rouge">DOUBLE_QUOTE</code></td>
-        </tr>
-      </tbody>
-    </table>
-  </li>
+  <li><code class="highlighter-rouge">kylin.query.calcite.extras-props.unquotedCasing</code>:是否需要将查询语句进行大小写转换,参数值可选 <code class="highlighter-rouge">UNCHANGED</code>, <code class="highlighter-rouge">TO_UPPER</code>, <code class="highlighter-rouge">TO_LOWER</code> ,默认值为 <code class="highlighter-rouge">TO_UPPER</code>,即全部大写</li>
+  <li><code class="highlighter-rouge">kylin.query.calcite.extras-props.quoting</code>:是否添加引号,参数值可选 <code class="highlighter-rouge">DOUBLE_QUOTE</code>, <code class="highlighter-rouge">BACK_TICK</code>,<code class="highlighter-rouge">BRACKET</code>,默认值为 DOUBLE_QUOTE</li>
   <li><code class="highlighter-rouge">kylin.query.statement-cache-max-num</code>:缓存的 PreparedStatement 的最大条数,默认值为 50000</li>
   <li><code class="highlighter-rouge">kylin.query.statement-cache-max-num-per-key</code>:每个键缓存的 PreparedStatement 的最大条数,默认值为 50</li>
   <li><code class="highlighter-rouge">kylin.query.enable-dict-enumerator</code>:是否启用字典枚举器,默认值为 FALSE</li>
@@ -806,7 +772,7 @@ Kylin 可以使用三ç§
 <h3 id="jmx-metrics">收集查询指标到 JMX</h3>
 
 <ul>
-  <li><code class="highlighter-rouge">kylin.server.query-metrics-enabled</code>:默认值为 <code class="highlighter-rouge">FALSE</code>,设为 <code class="highlighter-rouge">TRUE</code> 来将查询指标收集到 JMX</li>
+  <li><code class="highlighter-rouge">kylin.server.query-metrics-enabled</code>:默认值为 FALSE,设为 TRUE 来将查询指标收集到 JMX</li>
 </ul>
 
 <blockquote>
@@ -816,7 +782,7 @@ Kylin 可以使用三ç§
 <h3 id="dropwizard-metrics">收集查询指标到 dropwizard</h3>
 
 <ul>
-  <li><code class="highlighter-rouge">kylin.server.query-metrics2-enabled</code>:默认值为 <code class="highlighter-rouge">FALSE</code>,设为 <code class="highlighter-rouge">TRUE</code> 来将查询指标收集到 dropwizard</li>
+  <li><code class="highlighter-rouge">kylin.server.query-metrics2-enabled</code>:默认值为 FALSE,设为 TRUE 来将查询指标收集到 dropwizard</li>
 </ul>
 
 <blockquote>
@@ -831,7 +797,7 @@ Kylin 可以使用三ç§
 
 <ul>
   <li><code class="highlighter-rouge">kylin.security.profile=ldap</code>:启用 LDAP</li>
-  <li><code class="highlighter-rouge">kylin.security.ldap.connection-server</code>:LDAP 服务器,如 <code class="highlighter-rouge">ldap://ldap_server:389</code></li>
+  <li><code class="highlighter-rouge">kylin.security.ldap.connection-server</code>:LDAP 服务器,如 ldap://ldap_server:389</li>
   <li><code class="highlighter-rouge">kylin.security.ldap.connection-username</code>:LDAP 用户名</li>
   <li><code class="highlighter-rouge">kylin.security.ldap.connection-password</code>:LDAP 密码</li>
   <li><code class="highlighter-rouge">kylin.security.ldap.user-search-base</code>:定义同步到 Kylin 的用户的范围</li>

Modified: kylin/site/cn/docs/tutorial/mysql_metastore.html
URL: http://svn.apache.org/viewvc/kylin/site/cn/docs/tutorial/mysql_metastore.html?rev=1846419&r1=1846418&r2=1846419&view=diff
==============================================================================
--- kylin/site/cn/docs/tutorial/mysql_metastore.html (original)
+++ kylin/site/cn/docs/tutorial/mysql_metastore.html Mon Nov 12 14:08:45 2018
@@ -175,7 +175,7 @@ var _hmt = _hmt || [];
 <h3 id="section">准备工作</h3>
 
 <p>1.安装 MySQL 服务,例如 v5.1.17<br />
-2.下载 MySQL 的  JDBC 驱动 ( <code class="highlighter-rouge">mysql-connector-java-&lt;version&gt;.jar</code>) 并放置到 <code class="highlighter-rouge">$KYLIN_HOME/ext/</code> 目录下</p>
+2.下载 MySQL 的  JDBC 驱动 ( <code class="highlighter-rouge">mysql-connector-java-&lt;version&gt;.jar</code>) 并放置到 <code class="highlighter-rouge">$KYLIN_HOME/ext/</code> 目录下。</p>
 
 <blockquote>
   <p>提示:如果没有该目录,请自行创建。</p>
@@ -188,20 +188,20 @@ var _hmt = _hmt || [];
 <p>2.在配置文件 <code class="highlighter-rouge">kylin.properties</code> 中配置 <code class="highlighter-rouge">kylin.metadata.url={metadata_name}@jdbc</code>,该参数中各配置项的含义如下,其中 <code class="highlighter-rouge">url</code>、<code class="highlighter-rouge">username</code> 和 <code class="highlighter-rouge">password</code> 为必须配置项,其他项如果不配置将使用默认值。</p>
 
 <blockquote>
-  <p>提示:<code class="highlighter-rouge"><span class="p">{</span><span class="err">metadata_name</span><span class="p">}</span></code> 需要替换成用户需要的元数据表名,如果这张表已存在,会使用现有的表;如果不存在,则会自动创建该表。</p>
+  <p>提示:{metadata_name} 需要替换成用户需要的元数据表名,如果这张表已存在,会使用现有的表;如果不存在,则会自动创建该表。</p>
 </blockquote>
 
 <ul>
   <li><code class="highlighter-rouge">url</code>:JDBC 连接的 URL</li>
   <li><code class="highlighter-rouge">username</code>:JDBC 的用户名</li>
   <li><code class="highlighter-rouge">password</code>:JDBC 的密码,如果对密码进行了加密,填写加密后的密码</li>
-  <li><code class="highlighter-rouge">driverClassName</code>: JDBC 的 driver 类名,默认值为 com.mysql.jdbc.Driver</li>
+  <li><code class="highlighter-rouge">driverClassName</code>: JDBC 的 driver 类名,默认值为 <code class="highlighter-rouge">com.mysql.jdbc.Driver</code></li>
   <li><code class="highlighter-rouge">maxActive</code>:最大数据库连接数,默认值为 5</li>
   <li><code class="highlighter-rouge">maxIdle</code>:最大等待中的连接数量,默认值为 5</li>
   <li><code class="highlighter-rouge">maxWait</code>:最大等待连接毫秒数,默认值为 1000</li>
   <li><code class="highlighter-rouge">removeAbandoned</code>:是否自动回收超时连接,默认值为 true</li>
   <li><code class="highlighter-rouge">removeAbandonedTimeout</code>:超时时间秒数,默认为 300</li>
-  <li><code class="highlighter-rouge">passwordEncrypted</code>:是否对 JDBC 密码进行加密,默认为 false</li>
+  <li><code class="highlighter-rouge">passwordEncrypted</code>:是否对 JDBC 密码进行加密,默认为 FALSE</li>
 </ul>
 
 <blockquote>
@@ -229,6 +229,14 @@ AES test123
 </code></pre>
 </div>
 
+<p>执行结果如下:</p>
+
+<div class="highlighter-rouge"><pre class="highlight"><code>AES encrypted password is:
+bUmSqT/opyqz89Geu0yQ3g==
+</code></pre>
+</div>
+<p>将生成的密码填入 <code class="highlighter-rouge">kylin.metadata.url</code> 中的 <code class="highlighter-rouge">password</code> 中,设置 <code class="highlighter-rouge">passwordEncrypted</code> 为 TRUE。</p>
+
 <p>3.由于元数据不依赖于 HBase,所以需要在配置文件 <code class="highlighter-rouge">$KYLIN_HOME/conf/kylin.properties</code> 中添加 ZooKeeper 的连接项 <code class="highlighter-rouge">kylin.env.zookeeper-connect-string = host:port</code>。</p>
 
 <p>4.<code class="highlighter-rouge">kylin.properties</code> 的样例配置如下:</p>

Modified: kylin/site/docs/install/configuration.html
URL: http://svn.apache.org/viewvc/kylin/site/docs/install/configuration.html?rev=1846419&r1=1846418&r2=1846419&view=diff
==============================================================================
--- kylin/site/docs/install/configuration.html (original)
+++ kylin/site/docs/install/configuration.html Mon Nov 12 14:08:45 2018
@@ -6174,7 +6174,7 @@ If user wants Spark to use a different Y
 </ul>
 
 <blockquote>
-  <p>Tip: For more information, please refer to <a href="http://kylin.apache.org/blog/2016/06/10/standalone-hbase-cluster/">Deploy Apache Kylin with Standalone HBase Cluster</a></p>
+  <p>Note: For more information, please refer to <a href="http://kylin.apache.org/blog/2016/06/10/standalone-hbase-cluster/">Deploy Apache Kylin with Standalone HBase Cluster</a></p>
 </blockquote>
 
 <h3 id="kylin-jvm-settings">Allocate More Memory for Kylin</h3>
@@ -6204,15 +6204,15 @@ The default setting use relatively less
 <h3 id="metadata">Metadata</h3>
 
 <ul>
-  <li><code class="highlighter-rouge">kylin.metadata.url</code>: specifies the Metadata path. The default value is <code class="highlighter-rouge">kylin_metadata@hbase</code></li>
+  <li><code class="highlighter-rouge">kylin.metadata.url</code>: specifies the Metadata path. The default value is <em>kylin_metadata@hbase</em></li>
   <li><code class="highlighter-rouge">kylin.metadata.dimension-encoding-max-length</code>: specifies the maximum length when the dimension is used as Rowkeys with fix_length encoding. The default value is 256.</li>
   <li><code class="highlighter-rouge">kylin.metadata.sync-retries</code>: specifies the number of Metadata sync retries. The default value is 3.</li>
-  <li><code class="highlighter-rouge">kylin.metadata.sync-error-handler</code>: The default value is <code class="highlighter-rouge">DefaultSyncErrorHandler</code></li>
-  <li><code class="highlighter-rouge">kylin.metadata.check-copy-on-write</code>: whether clear metadata cache, default value is <code class="highlighter-rouge">FALSE</code></li>
+  <li><code class="highlighter-rouge">kylin.metadata.sync-error-handler</code>: The default value is <em>DefaultSyncErrorHandler</em></li>
+  <li><code class="highlighter-rouge">kylin.metadata.check-copy-on-write</code>: whether clear metadata cache, default value is <em>FALSE</em></li>
   <li><code class="highlighter-rouge">kylin.metadata.hbase-client-scanner-timeout-period</code>: specifies the total timeout between the RPC call initiated by the HBase client. The default value is 10000 (ms).</li>
   <li><code class="highlighter-rouge">kylin.metadata.hbase-rpc-timeout</code>: specifies the timeout for HBase to perform RPC operations. The default value is 5000 (ms).</li>
   <li><code class="highlighter-rouge">kylin.metadata.hbase-client-retries-number</code>: specifies the number of HBase retries. The default value is 1 (times).</li>
-  <li><code class="highlighter-rouge">kylin.metadata.resource-store-provider.jdbc</code>: specifies the class used by JDBC. The default value is <code class="highlighter-rouge">org.apache.kylin.common.persistence.JDBCResourceStore</code></li>
+  <li><code class="highlighter-rouge">kylin.metadata.resource-store-provider.jdbc</code>: specifies the class used by JDBC. The default value is <em>org.apache.kylin.common.persistence.JDBCResourceStore</em></li>
 </ul>
 
 <h3 id="mysql-metastore">MySQL Metastore Configuration (Beta)</h3>
@@ -6232,7 +6232,7 @@ The default setting use relatively less
 </ul>
 
 <blockquote>
-  <p>Tip: For more information, please refer to <a href="/docs/tutorial/mysql_metastore.html">MySQL-based Metastore Configuration</a></p>
+  <p>Note: For more information, please refer to <a href="/docs/tutorial/mysql_metastore.html">MySQL-based Metastore Configuration</a></p>
 </blockquote>
 
 <h3 id="kylin-build">Modeling Configuration</h3>
@@ -6265,7 +6265,7 @@ The default setting use relatively less
 </ul>
 
 <blockquote>
-  <p>Tip: For more information, please refer to <a href="/docs/tutorial/setup_jdbc_datasource.html">Building a JDBC Data Source</a>.</p>
+  <p>Note: For more information, please refer to <a href="/docs/tutorial/setup_jdbc_datasource.html">Building a JDBC Data Source</a>.</p>
 </blockquote>
 
 <h3 id="precision-config">Data Type Precision</h3>
@@ -6394,7 +6394,7 @@ The default setting use relatively less
 </ul>
 
 <blockquote>
-  <p>Tip: For more information, please refer to <a href="/docs/tutorial/cube_spark.html">Building Cubes with Spark</a>.</p>
+  <p>Note: For more information, please refer to <a href="/docs/tutorial/cube_spark.html">Building Cubes with Spark</a>.</p>
 </blockquote>
 
 <h3 id="dynamic-allocation">Spark Dynamic Allocation</h3>
@@ -6409,7 +6409,7 @@ The default setting use relatively less
 </ul>
 
 <blockquote>
-  <p>Tip: For more information, please refer to the official documentation: <a href="http://spark.apache.org/docs/1.6.2/job-scheduling.html#dynamic-resource-allocation">Dynamic Resource Allocation</a>.</p>
+  <p>Note: For more information, please refer to the official documentation: <a href="http://spark.apache.org/docs/1.6.2/job-scheduling.html#dynamic-resource-allocation">Dynamic Resource Allocation</a>.</p>
 </blockquote>
 
 <h3 id="job-config">Job-related</h3>
@@ -6458,7 +6458,7 @@ The default setting use relatively less
 </ul>
 
 <blockquote>
-  <p>Tip: For more information, please refer to <a href="/docs/tutorial/use_cube_planner.html">Using Cube Planner</a>.</p>
+  <p>Note: For more information, please refer to <a href="/docs/tutorial/use_cube_planner.html">Using Cube Planner</a>.</p>
 </blockquote>
 
 <h3 id="hbase-config">HBase Storage</h3>
@@ -6491,15 +6491,21 @@ The default setting use relatively less
 <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 />
-Kylin can use three types of compression, HBase table compression, Hive output compression, and MapReduce job output compression.<br />
-&gt; <em>Note</em>: The compression settings will not take effect until the Kylin instance is restarted.</p>
+Kylin can use three types of compression, HBase table compression, Hive output compression, and MapReduce job output compression.</p>
+
+<blockquote>
+  <p><em>Note</em>: The compression settings will not take effect until the Kylin instance is restarted.</p>
+</blockquote>
 
 <ul>
   <li>HBase table compression</li>
 </ul>
 
-<p>This compression is configured by <code class="highlighter-rouge">kylin.hbase.default.compression.codec</code> in <code class="highlighter-rouge">kyiln.properties</code>. Optional values include <code class="highlighter-rouge">none</code>, <code class="highlighter-rouge">snappy</code>, <code class="highlighter-rouge">lzo</code>, <code class="highlighter-rouge">gzip</code> and <code class="highlighter-rouge">lz4</code>. The default value is <code class="highlighter-rouge">none</code>, which means no data is compressed.<br />
-&gt; <em>Note</em>: Before modifying the compression algorithm, make sure userr HBase cluster supports the selected compression algorithm.</p>
+<p>This compression is configured by <code class="highlighter-rouge">kylin.hbase.default.compression.codec</code> in <code class="highlighter-rouge">kyiln.properties</code>. Optional values include <code class="highlighter-rouge">none</code>, <code class="highlighter-rouge">snappy</code>, <code class="highlighter-rouge">lzo</code>, <code class="highlighter-rouge">gzip</code> and <code class="highlighter-rouge">lz4</code>. The default value is none, which means no data is compressed.</p>
+
+<blockquote>
+  <p><em>Note</em>: Before modifying the compression algorithm, make sure userr HBase cluster supports the selected compression algorithm.</p>
+</blockquote>
 
 <ul>
   <li>Hive output compression</li>
@@ -6539,7 +6545,7 @@ Kylin can use three types of compression
 </code></pre>
 </div>
 
-<h3 id="query-configuration-kylin-query">Query Configuration {$kylin-query}</h3>
+<h3 id="kylin-query">Query Configuration</h3>
 
 <p>This section introduces Kylin query related configuration.</p>
 
@@ -6603,7 +6609,7 @@ Kylin can use three types of compression
 </ul>
 
 <blockquote>
-  <p>Tip: For more information, please refer to <a href="/docs/tutorial/query_pushdown.html">Query Pushdown</a></p>
+  <p>Note: For more information, please refer to <a href="/docs/tutorial/query_pushdown.html">Query Pushdown</a></p>
 </blockquote>
 
 <h3 id="convert-sql">Query rewriting</h3>
@@ -6619,7 +6625,7 @@ Kylin can use three types of compression
 </ul>
 
 <blockquote>
-  <p>Tip: For more information, please refer to <a href="https://www.oracle.com/technetwork/java/javase/tech/javamanagement-140525.html">JMX</a></p>
+  <p>Note: For more information, please refer to <a href="https://www.oracle.com/technetwork/java/javase/tech/javamanagement-140525.html">JMX</a></p>
 </blockquote>
 
 <h3 id="dropwizard-metrics">Collect Query Metrics to dropwizard</h3>
@@ -6629,7 +6635,7 @@ Kylin can use three types of compression
 </ul>
 
 <blockquote>
-  <p>Tip: For more information, please refer to <a href="https://metrics.dropwizard.io/4.0.0/">dropwizard</a></p>
+  <p>Note: For more information, please refer to <a href="https://metrics.dropwizard.io/4.0.0/">dropwizard</a></p>
 </blockquote>
 
 <h3 id="kylin-security">Security Configuration</h3>
@@ -6662,7 +6668,7 @@ Kylin can use three types of compression
 </ul>
 
 <blockquote>
-  <p>Tip: For more information, please refer to <a href="https://cwiki.apache.org/confluence/display/RANGER/Kylin+Plugin">How to integrate the Kylin plugin in the installation documentation for Ranger</a></p>
+  <p>Note: For more information, please refer to <a href="https://cwiki.apache.org/confluence/display/RANGER/Kylin+Plugin">How to integrate the Kylin plugin in the installation documentation for Ranger</a></p>
 </blockquote>
 
 <h3 id="zookeeper-acl">Enable ZooKeeper ACL</h3>

Modified: kylin/site/docs/tutorial/mysql_metastore.html
URL: http://svn.apache.org/viewvc/kylin/site/docs/tutorial/mysql_metastore.html?rev=1846419&r1=1846418&r2=1846419&view=diff
==============================================================================
--- kylin/site/docs/tutorial/mysql_metastore.html (original)
+++ kylin/site/docs/tutorial/mysql_metastore.html Mon Nov 12 14:08:45 2018
@@ -6035,29 +6035,22 @@ var _hmt = _hmt || [];
 
 <h3 id="prerequisites">Prerequisites</h3>
 
-<ol>
-  <li>Install MySQL, such as v5.1.17</li>
-  <li>Download the MySQL JDBC driver ( <code class="highlighter-rouge">mysql-connector-java-&lt;version&gt;.jar</code>) and place it in the <code class="highlighter-rouge">$KYLIN_HOME/ext/</code> directory.</li>
-</ol>
+<p>1.Install MySQL, such as v5.1.17<br />
+2.Download the MySQL JDBC driver ( <code class="highlighter-rouge">mysql-connector-java-&lt;version&gt;.jar</code>) and place it in the <code class="highlighter-rouge">$KYLIN_HOME/ext/</code> directory.</p>
 
 <blockquote>
-  <p>Tip: Please create it yourself, if you do not have this directory.</p>
+  <p><em>Note</em>: Please create it yourself, if you do not have this directory.</p>
 </blockquote>
 
 <h3 id="configuration-steps">Configuration Steps</h3>
 
-<ol>
-  <li>
-    <p>Create a new database in MySQL for storing Kylin metadata, such as <code class="highlighter-rouge">kylin</code></p>
-  </li>
-  <li>
-    <p>Configure <code class="highlighter-rouge">kylin.metadata.url={metadata_name}@jdbc</code> in the configuration file <code class="highlighter-rouge">kylin.properties</code>. <br />
+<p>1.Create a new database in MySQL for storing Kylin metadata, such as <code class="highlighter-rouge">kylin</code></p>
+
+<p>2.Configure <code class="highlighter-rouge">kylin.metadata.url={metadata_name}@jdbc</code> in the configuration file <code class="highlighter-rouge">kylin.properties</code>. <br />
 The description of each configuration item in this parameter is as follows, where <code class="highlighter-rouge">url</code>, <code class="highlighter-rouge">username</code> and <code class="highlighter-rouge">password</code> are required.</p>
-  </li>
-</ol>
 
 <blockquote>
-  <p>Tip: <code class="highlighter-rouge"><span class="p">{</span><span class="err">metadata_name</span><span class="p">}</span></code> needs to be replaced with the metadata table name, if the table already exists, the existing table will be used; if it does not exist, the table will be created automatically.</p>
+  <p>Note: {metadata_name} needs to be replaced with the metadata table name, if the table already exists, the existing table will be used; if it does not exist, the table will be created automatically.</p>
 </blockquote>
 
 <ul>
@@ -6077,7 +6070,7 @@ The description of each configuration it
   <p>Note: To encrypt the JDBC password, run the following command under <code class="highlighter-rouge">$KYLIN_HOME/tomcat/webapps/kylin/WEB-INF/lib/</code>:</p>
 </blockquote>
 
-<div class="highlighter-rouge"><pre class="highlight"><code>Java -classpath kylin-server-base-&lt;version&gt;.jar<span class="se">\</span>
+<div class="highlighter-rouge"><pre class="highlight"><code>java -classpath kylin-server-base-&lt;version&gt;.jar<span class="se">\</span>
 :kylin-core-common-&lt;version&gt;.jar<span class="se">\</span>
 :spring-beans-4.3.10.RELEASE.jar:spring-core-4.3.10.RELEASE.jar<span class="se">\</span>
 :commons-codec-1.7.jar <span class="se">\</span>
@@ -6088,7 +6081,7 @@ AES &lt;your_password&gt;
 
 <p>As in Kylin v2.5, execute the following command:</p>
 
-<div class="highlighter-rouge"><pre class="highlight"><code>Java -classpath kylin-server-base-2.5.0.jar<span class="se">\</span>
+<div class="highlighter-rouge"><pre class="highlight"><code>java -classpath kylin-server-base-2.5.0.jar<span class="se">\</span>
 :kylin-core-common-2.5.0.jar<span class="se">\</span>
 :spring-beans-4.3.10.RELEASE.jar<span class="se">\</span>
 :spring-core-4.3.10.RELEASE.jar<span class="se">\</span>
@@ -6098,23 +6091,25 @@ AES test123
 </code></pre>
 </div>
 
-<ol>
-  <li>
-    <p>Since the metadata does not depend on HBase, you need to add the ZooKeeper connection configuration <code class="highlighter-rouge">kylin.env.zookeeper-connect-string = host:port</code> in the configuration file <code class="highlighter-rouge">kylin.properties</code>.</p>
-  </li>
-  <li>
-    <p>The sample configuration of <code class="highlighter-rouge">kylin.properties</code> is as follows:</p>
-  </li>
-</ol>
+<p>The execution output is as belows:</p>
+
+<div class="highlighter-rouge"><pre class="highlight"><code>AES encrypted password is:
+bUmSqT/opyqz89Geu0yQ3g==
+</code></pre>
+</div>
+
+<p>Fill in the generated password into <code class="highlighter-rouge">password</code> in <code class="highlighter-rouge">kylin.metadata.url</code> and set <code class="highlighter-rouge">passwordEncrypted</code> to <em>TRUE</em>.</p>
+
+<p>3.Since the metadata does not depend on HBase, you need to add the ZooKeeper connection configuration <code class="highlighter-rouge">kylin.env.zookeeper-connect-string = host:port</code> in the configuration file <code class="highlighter-rouge">kylin.properties</code>.</p>
+
+<p>4.The sample configuration of <code class="highlighter-rouge">kylin.properties</code> is as follows:</p>
 
 <div class="highlighter-rouge"><pre class="highlight"><code><span class="py">Kylin.metadata.url</span><span class="p">=</span><span class="s">mysql_test@jdbc,url=jdbc:mysql://localhost:3306/kylin,username=kylin_test,password=bUmSqT/opyqz89Geu0yQ3g==,maxActive=10,maxIdle=10,passwordEncrypted=true</span>
 <span class="err">Kylin.env.zookeeper-connect-</span><span class="py">string</span><span class="p">=</span><span class="s">localhost:2181</span>
 </code></pre>
 </div>
 
-<ol>
-  <li>Start Kylin</li>
-</ol>
+<p>5.Start Kylin</p>
 
 							</article>
 						</div>

Modified: kylin/site/feed.xml
URL: http://svn.apache.org/viewvc/kylin/site/feed.xml?rev=1846419&r1=1846418&r2=1846419&view=diff
==============================================================================
--- kylin/site/feed.xml (original)
+++ kylin/site/feed.xml Mon Nov 12 14:08:45 2018
@@ -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>Sun, 11 Nov 2018 05:59:29 -0800</pubDate>
-    <lastBuildDate>Sun, 11 Nov 2018 05:59:29 -0800</lastBuildDate>
+    <pubDate>Mon, 12 Nov 2018 05:59:24 -0800</pubDate>
+    <lastBuildDate>Mon, 12 Nov 2018 05:59:24 -0800</lastBuildDate>
     <generator>Jekyll v2.5.3</generator>
     
       <item>