Modified: kylin/site/cn/development/howto_release.html URL: http://svn.apache.org/viewvc/kylin/site/cn/development/howto_release.html?rev=1881142&r1=1881141&r2=1881142&view=diff ============================================================================== --- kylin/site/cn/development/howto_release.html (original) +++ kylin/site/cn/development/howto_release.html Mon Aug 24 14:09:05 2020 @@ -187,76 +187,76 @@ var _hmt = _hmt || []; <p>ç¡®ä¿æ¨æå¯ä½¿ç¨çè´¦å·ä¸å¯¹ä»¥ä¸åºç¨ææé:</p> <ul> - <li>Apache è´¦æ·: <a href="https://id.apache.org/">https://id.apache.org</a></li> - <li>Apache Kylin git repo (main cobe base): <a href="https://github.com/apache/kylin">https://github.com/apache/kylin</a></li> - <li>Apache Kylin svn ä»åº (åªé对ç½ç«): <a href="https://svn.apache.org/repos/asf/kylin">https://svn.apache.org/repos/asf/kylin</a></li> - <li>Apache Nexus (maven ä»åº): <a href="https://repository.apache.org">https://repository.apache.org</a></li> - <li>Apache Kylin dist ä»åº: <a href="https://dist.apache.org/repos/dist/dev/kylin">https://dist.apache.org/repos/dist/dev/kylin</a></li> + <li>Apache è´¦æ·ï¼<a href="https://id.apache.org/">https://id.apache.org</a></li> + <li>Apache Kylin git repo (main cobe base)ï¼ <a href="https://github.com/apache/kylin">https://github.com/apache/kylin</a></li> + <li>Apache Kylin svn ä»åºï¼åªé对ç½ç«ï¼ï¼https://svn.apache.org/repos/asf/kylin](https://svn.apache.org/repos/asf/kylin)</li> + <li>Apache Nexus ï¼maven ä»åºï¼ï¼<a href="https://repository.apache.org">https://repository.apache.org</a></li> + <li>Apache Kylin dist ä»åºï¼<a href="https://dist.apache.org/repos/dist/dev/kylin">https://dist.apache.org/repos/dist/dev/kylin</a></li> </ul> <h2 id="section-1">软件è¦æ±</h2> <ul> - <li>Java 8 or above;</li> - <li>Maven 3.5.3 ææ´é«çæ¬ã</li> - <li>å¦æä½ æ¯ç¨ Mac OS X ååå¸, 请å®è£ GNU TAR, æç § <a href="http://macappstore.org/gnu-tar/">æ¤æç« </a>.</li> + <li>Java 8 ææ´é«çæ¬ï¼</li> + <li>Maven 3.5.3 ææ´é«çæ¬ï¼</li> + <li>å¦æä½ æ¯ç¨ Mac OS X ååå¸ï¼è¯·æç §<a href="http://macappstore.org/gnu-tar/">æ¤æç« </a>å®è£ GNU TARã</li> </ul> <h2 id="gpg-">设置 GPG ç¾åå¯é¥</h2> <p>æç § <a href="http://www.apache.org/dev/release-signing">http://www.apache.org/dev/release-signing</a> ä¸ç说æå建å¯é¥å¯¹ <br /> -å®è£ gpg (以 Mac OS X 为ä¾): <br /> +å®è£ gpgï¼ä»¥ Mac OS X 为ä¾ï¼ï¼ <br /> <code class="highlighter-rouge">brew install gpg</code></p> -<p>çæ gpg å¯é¥: <br /> +<p>çæ gpg å¯é¥ï¼ <br /> åè: <a href="https://www.gnupg.org/gph/en/manual/c14.html">https://www.gnupg.org/gph/en/manual/c14.html</a> <br /> <em>çæçæææ° RSA å¯é¥åºè³å°ä¸º 4096 ä½ãä¸è¦çææ°ç DSA å¯é¥</em> <br /> <code class="highlighter-rouge">gpg --full-generate-key</code></p> -<p>éªè¯æ¨çå¯é¥: <br /> +<p>éªè¯æ¨çå¯é¥ï¼ <br /> <code class="highlighter-rouge">gpg --list-sigs YOUR_NAME</code></p> -<p>è·åå¯é¥çæ纹:<br /> +<p>è·åå¯é¥çæ纹ï¼<br /> <code class="highlighter-rouge">gpg --fingerprint YOUR_NAME</code></p> -<p>å®å°æ¾ç¤ºæ纹ï¼å¦ âKey fingerprint = XXXX XXXX â¦âï¼ç¶åå¨ <a href="https://id.apache.org/">https://id.apache.org/</a> ä¸çâOpenPGP Public Key Primary Fingerprintâå段å¤å°æ纹添å å°æ¨ç apache å¸æ·ï¼çå¾ å 个å°æ¶ï¼å¯é¥å°æ·»å å° <a href="https://people.apache.org/keys/">https://people.apache.org/keys/</a>ï¼ä¾å¦:<br /> +<p>å®å°æ¾ç¤ºæ纹ï¼å¦ âKey fingerprint = XXXX XXXX â¦âï¼ç¶åå¨ <a href="https://id.apache.org/">https://id.apache.org/</a> ä¸ç âOpenPGP Public Key Primary Fingerprintâ å段å¤å°æ纹添å å°æ¨ç apache å¸æ·ï¼çå¾ å 个å°æ¶ï¼å¯é¥å°æ·»å å° <a href="https://people.apache.org/keys/">https://people.apache.org/keys/</a>ï¼ä¾å¦:<br /> <a href="https://people.apache.org/keys/committer/lukehan.asc">https://people.apache.org/keys/committer/lukehan.asc</a></p> -<p>çæ ASCII Amromed é®: <br /> +<p>çæ ASCII Amromed é®ï¼ <br /> <code class="highlighter-rouge">gpg -a --export YOUR_MAIL_ADDRESS > YOUR_NAME.asc &</code></p> -<p>ä¸ä¼ å¯é¥å°å ¬å ±æå¡å¨: <br /> +<p>ä¸ä¼ å¯é¥å°å ¬å ±æå¡å¨ï¼ <br /> <code class="highlighter-rouge">gpg --send-keys YOUR_KEY_HASH</code></p> -<p>æéè¿ web æ交å¯é¥: <br /> -æå¼å¹¶æäº¤å° <a href="http://pool.sks-keyservers.net:11371">http://pool.sks-keyservers.net:11371</a> (æ¨å¯ä»¥éæ©ä»»æä¸ä¸ªææçå ¬é¥æå¡å¨)</p> +<p>æéè¿ web æ交å¯é¥ï¼ <br /> +æå¼å¹¶æäº¤å° <a href="http://pool.sks-keyservers.net:11371">http://pool.sks-keyservers.net:11371</a>ï¼æ¨å¯ä»¥éæ©ä»»æä¸ä¸ªææçå ¬é¥æå¡å¨ï¼</p> -<p>ä¸æ¦æ¨çå¯é¥æ交å°æå¡å¨ï¼æ¨å¯ä»¥éè¿ä½¿ç¨ä»¥ä¸å½ä»¤éªè¯: <br /> +<p>ä¸æ¦æ¨çå¯é¥æ交å°æå¡å¨ï¼æ¨å¯ä»¥éè¿ä½¿ç¨ä»¥ä¸å½ä»¤éªè¯ï¼ <br /> <code class="highlighter-rouge">gpg --recv-keys YOUR_KEY_HASH</code><br /> -举ä¾: <br /> +举ä¾ï¼ <br /> <code class="highlighter-rouge">gpg --recv-keys 027DC364</code></p> -<p>æç § KEYS æ件ä¸ç说æå°å ¬é¥æ·»å å° KEYS æ件: <br /> -<em>KEYS æ件ä½äº:</em> <strong>${kylin}/KEYS</strong> <br /> -ä¾å¦: <br /> +<p>æç § KEYS æ件ä¸ç说æå°å ¬é¥æ·»å å° KEYS æä»¶ï¼ <br /> +<em>KEYS æ件ä½äºï¼</em> <strong>${kylin}/KEYS</strong> <br /> +ä¾å¦ï¼ <br /> <code class="highlighter-rouge">(gpg --list-sigs YOURNAME && gpg --armor --export YOURNAME) >> KEYS</code></p> <p>æ交æ¨çæ¹å¨ã</p> <h2 id="release-">åå¤ release ç工件</h2> -<p><strong>å¼å§å:</strong></p> +<p><strong>å¼å§åï¼</strong></p> <ul> <li>å¦ä¸æ述设置ç¾åå¯é¥ã</li> <li>ç¡®ä¿æ¨ä½¿ç¨çæ¯ JDK 1.8ã</li> <li>ç¡®ä¿æ¨ä½¿ç¨çæ¯ GIT 2.7.2 ææ´é«çæ¬ã</li> <li>ç¡®ä¿æ¨ä½¿ç¨çæ¯æ£ç¡®ç release çæ¬å·ã</li> - <li>ç¡®ä¿æ¯ä¸ªâresolvedâç JIRA æ¡ä¾ï¼å æ¬éå¤æ¡ä¾ï¼é½åé äºä¿®å¤çæ¬ã</li> - <li>ç¡®ä¿ä½ å¨å¹²åçç®å½å·¥ä½</li> + <li>ç¡®ä¿æ¯ä¸ª âresolvedâ ç JIRA æ¡ä¾ï¼å æ¬éå¤æ¡ä¾ï¼é½åé äºä¿®å¤çæ¬ã</li> + <li>ç¡®ä¿ä½ å¨å¹²åçç®å½å·¥ä½ã</li> </ul> <p><strong>å¨ Maven ä¸é ç½® Apache åå¨åºæå¡å¨</strong><br /> -å¦ææ¨æ¯ç¬¬ä¸æ¬¡åå¸ï¼æ¨éè¦å¨ ~/.m2/settings.xml ä¸æå¡å¨ææä¿¡æ¯ï¼å¦æ该æ件ä¸åå¨ï¼ä» $M2_HOME/conf/settings.xml æ·è´ä¸ä¸ªæ¨¡æ¿;</p> +å¦ææ¨æ¯ç¬¬ä¸æ¬¡åå¸ï¼æ¨éè¦å¨ ~/.m2/settings.xml ä¸æå¡å¨ææä¿¡æ¯ï¼å¦æ该æ件ä¸åå¨ï¼ä» $M2_HOME/conf/settings.xml æ·è´ä¸ä¸ªæ¨¡æ¿ï¼</p> -<p>å¨âæå¡å¨âé¨åä¸ï¼ç¡®ä¿æ·»å 以ä¸æå¡å¨ï¼å¹¶å° #YOUR_APACHE_ID#, #YOUR_APACHE_PWD#, #YOUR_GPG_PASSPHRASE# æ¿æ¢ä¸ºæ¨ç IDï¼å¯ç åå£ä»¤:</p> +<p>å¨ âæå¡å¨â é¨åä¸ï¼ç¡®ä¿æ·»å 以ä¸æå¡å¨ï¼å¹¶å° #YOUR_APACHE_ID#, #YOUR_APACHE_PWD#, #YOUR_GPG_PASSPHRASE# æ¿æ¢ä¸ºæ¨ç IDï¼å¯ç åå£ä»¤ï¼</p> <div class="highlight"><pre><code class="language-bash" data-lang="bash"><servers> <!-- To publish a snapshot of some part of Maven --> @@ -272,6 +272,7 @@ var _hmt = _hmt || []; <password>#YOUR_APACHE_PWD#</password> </server> + <!-- To publish a website of some part of Maven --> <server> <id>apache.website</id> @@ -300,19 +301,19 @@ var _hmt = _hmt || []; <p><strong>ä¿®å¤è®¸å¯è¯é®é¢</strong></p> -<div class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="c"># Set passphrase variable without putting it into shell history</span> +<div class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="c"># 设置å¯ç åéèä¸å°å ¶æ¾å ¥shellåå²è®°å½ä¸</span> <span class="gp">$ </span><span class="nb">read</span> -s GPG_PASSPHRASE -<span class="c"># Make sure that there are no junk files in the sandbox</span> +<span class="c"># ç¡®ä¿æ²ç®±ä¸æ²¡æåå¾æ件</span> <span class="gp">$ </span>git clean -xf <span class="gp">$ </span>mvn clean -<span class="c"># Make sure all unit tests are passed</span> +<span class="c"># ç¡®ä¿ææåå æµè¯åéè¿</span> <span class="gp">$ </span>mvn <span class="nb">test</span> -<span class="c"># Check the `org.apache.kylin.common.KylinVersion` class, ensure the value of `CURRENT_KYLIN_VERSION` is the release version. </span> +<span class="c"># æ£æ¥ `org.apache.kylin.common.KylinVersion` ç±»ï¼ç¡®ä¿ `CURRENT_KYLIN_VERSION`çå¼æ¯åè¡çæ¬</span> -<span class="c"># Fix any license issues as reported by target/rat.txt</span> +<span class="c"># ä¿®å¤ target / rat.txt æ¥åçææ许å¯è¯é®é¢</span> <span class="gp">$ </span>mvn -Papache-release -DskipTests -Dgpg.passphrase<span class="o">=</span><span class="k">${</span><span class="nv">GPG_PASSPHRASE</span><span class="k">}</span> install</code></pre></div> <p>å¯éçï¼å½ dry-run æåäºï¼å°å®è£ å为é¨ç½²:</p> @@ -324,21 +325,21 @@ var _hmt = _hmt || []; <div class="highlight"><pre><code class="language-bash" data-lang="bash">ssh -T g...@github.com</code></pre></div> -<p>åºäºè¦å½åçå¼ååæ¯ï¼å建ä¸ä¸ªä»¥ release çæ¬å·å½åçåå¸åæ¯ï¼ä¾å¦ï¼v2.5.0-release (注æåæ¯ååä¸è½ä¸tagååç¸å)ï¼å¹¶å°å ¶æ¨å°æå¡å¨ç«¯ã</p> +<p>åºäºè¦å½åçå¼ååæ¯ï¼å建ä¸ä¸ªä»¥ release çæ¬å·å½åçåå¸åæ¯ï¼ä¾å¦ï¼v2.5.0-releaseï¼æ³¨æåæ¯ååä¸è½ä¸ tag ååç¸åï¼ï¼å¹¶å°å ¶æ¨å°æå¡å¨ç«¯ã</p> <div class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="gp">$ </span>git checkout -b vX.Y.Z-release <span class="gp">$ </span>git push -u origin vX.Y.Z-release</code></pre></div> <p>å¦æä»»ä½æ¥éª¤å¤±è´¥ï¼è¯·æ¸ çï¼è§ä¸æï¼ï¼è§£å³é®é¢ï¼ç¶åä»å¤´éæ°å¼å§ã</p> -<div class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="c"># Set passphrase variable without putting it into shell history</span> +<div class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="c"># 设置å¯ç åéèä¸å°å ¶æ¾å ¥shellåå²è®°å½ä¸</span> <span class="gp">$ </span><span class="nb">read</span> -s GPG_PASSPHRASE -<span class="c"># Make sure that there are no junk files in the sandbox</span> +<span class="c"># ç¡®ä¿æ²ç®±ä¸æ²¡æåå¾æ件</span> <span class="gp">$ </span>git clean -xf <span class="gp">$ </span>mvn clean -<span class="c"># å¯éç, do a dry run of the release:prepare step, which sets version numbers.</span> +<span class="c"># ï¼å¯éçï¼è¯è¿è¡ releaseï¼åå¤æ¥éª¤ï¼è¯¥æ¥éª¤è®¾ç½®çæ¬å·</span> <span class="gp">$ </span>mvn -DdryRun<span class="o">=</span><span class="nb">true</span> -DskipTests -DreleaseVersion<span class="o">=</span>X.Y.Z -DdevelopmentVersion<span class="o">=(</span>X.Y.Z+1<span class="o">)</span>-SNAPSHOT -Papache-release -Darguments<span class="o">=</span><span class="s2">"-Dgpg.passphrase=</span><span class="k">${</span><span class="nv">GPG_PASSPHRASE</span><span class="k">}</span><span class="s2"> -DskipTests"</span> release:prepare 2>&1 | tee /tmp/prepare-dry.log</code></pre></div> <p><strong>æ¥ç dry run è¾åº:</strong></p> @@ -352,38 +353,36 @@ var _hmt = _hmt || []; <li>apache-kylin-X.Y.Z-SNAPSHOT-source-release.zip.sha256</li> </ul> </li> - <li>ç§»é¤ .zip.asc.sha256 æ件å 为ä¸éè¦ã</li> + <li>ç§»é¤ .zip.asc.sha256 æ件å 为ä¸éè¦</li> <li>注ææ件å以 <code class="highlighter-rouge">apache-kylin-</code> å¼å§</li> - <li>å¨æºåè¡ç <code class="highlighter-rouge">.zip</code> æ件ä¸ï¼æ£æ¥æææ件æ¯å¦å±äºå为 <code class="highlighter-rouge">apache-kylin-X.Y.Z-SNAPSHOT</code> çç®å½ã</li> - <li>该ç®å½å¿ é¡»å å« <code class="highlighter-rouge">NOTICE</code>, <code class="highlighter-rouge">LICENSE</code>, <code class="highlighter-rouge">README.md</code> æ件</li> + <li>å¨æºåè¡ç <code class="highlighter-rouge">.zip</code> æ件ä¸ï¼æ£æ¥æææ件æ¯å¦å±äºå为 <code class="highlighter-rouge">apache-kylin-X.Y.Z-SNAPSHOT</code> çç®å½</li> + <li>该ç®å½å¿ é¡»å å« <code class="highlighter-rouge">NOTICE</code>ï¼<code class="highlighter-rouge">LICENSE</code>ï¼<code class="highlighter-rouge">README.md</code> æ件</li> <li>æ<a href="https://httpd.apache.org/dev/verification.html">æ¤</a>æ£æ¥ PGPã</li> </ul> -<p><strong>è¿è¡çå®ç release:</strong><br /> +<p><strong>è¿è¡çå®ç releaseï¼</strong><br /> ç°å¨çæ£å¼å§ release</p> -<div class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="c"># å¦æä¹ååäºdry runï¼å¨çæ£å¼å§releaseä¹åéè¦åæ¸ ç</span> -<span class="c"># Prepare sets the version numbers, creates a tag, and pushes it to git.</span> +<div class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="c"># å¦æä¹ååäºdry runï¼å¨çæ£å¼å§ release ä¹åéè¦åæ¸ ç</span> +<span class="c"># åå¤è®¾ç½®çæ¬å·ï¼å建 tagï¼å¹¶å°å ¶æ¨éå°git</span> <span class="gp">$ </span>mvn -DskipTests -DreleaseVersion<span class="o">=</span>X.Y.Z -DdevelopmentVersion<span class="o">=(</span>X.Y.Z+1<span class="o">)</span>-SNAPSHOT -Papache-release -Darguments<span class="o">=</span><span class="s2">"-Dgpg.passphrase=</span><span class="k">${</span><span class="nv">GPG_PASSPHRASE</span><span class="k">}</span><span class="s2"> -DskipTests"</span> release:prepare -<span class="c"># Perform checks out the tagged version, builds, and deploys to the staging repository</span> +<span class="c"># æéåºæ è®°ççæ¬ï¼æ建并é¨ç½²å°ç»å°åå¨åº</span> <span class="gp">$ </span>mvn -DskipTests -Papache-release -Darguments<span class="o">=</span><span class="s2">"-Dgpg.passphrase=</span><span class="k">${</span><span class="nv">GPG_PASSPHRASE</span><span class="k">}</span><span class="s2"> -DskipTests"</span> release:perform</code></pre></div> -<p><strong>ä¸ä¸ªå¤±è´¥ç release å°è¯åè¿è¡æ¸ ç:</strong></p> +<p><strong>ä¸ä¸ªå¤±è´¥ç release åè¿è¡æ¸ ç:</strong></p> -<div class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="c"># Make sure that the tag you are about to generate does not already</span> -<span class="c"># exist (due to a failed release attempt)</span> +<div class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="c"># ç¡®ä¿æ¨è¦çæç tag ä¸åå¨ï¼ç±äºä¸ä¸ªå¤±è´¥çåå¸ï¼</span> <span class="gp">$ </span>git tag -<span class="c"># If the tag exists, delete it locally and remotely</span> +<span class="c"># å¦æ tag åå¨ï¼è¯·å¨æ¬å°åè¿ç¨å é¤å®</span> <span class="gp">$ </span>git tag -d kylin-X.Y.Z <span class="gp">$ </span>git push origin :refs/tags/kylin-X.Y.Z -<span class="c"># Remove modified files</span> +<span class="c"># å é¤ä¿®æ¹çæ件</span> <span class="gp">$ </span>mvn release:clean -<span class="c"># Check whether there are modified files and if so, go back to the</span> -<span class="c"># original git commit</span> +<span class="c"># æ£æ¥æ¯å¦æä¿®æ¹çæ件ï¼å¦ææï¼è¯·è¿ååå§ç git commit</span> <span class="gp">$ </span>git status <span class="gp">$ </span>git reset --hard HEAD</code></pre></div> @@ -402,28 +401,28 @@ var _hmt = _hmt || []; <p><strong>ä¸ä¼ å°ä¸´æ¶åºå:</strong> <br /> éè¿ subversion å°å·¥ä»¶ä¸ä¼ å°ä¸´æ¶åºåï¼https://dist.apache.org/repos/dist/dev/kylin/apache-kylin-X.Y.Z-rcN:</p> -<div class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="c"># Create a subversion workspace, if you haven't already</span> +<div class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="c"># å建 subversion å·¥ä½åºï¼å¦æå°æªå建ï¼</span> <span class="gp">$ </span>mkdir -p ~/dist/dev <span class="gp">$ </span><span class="nb">pushd</span> ~/dist/dev <span class="gp">$ </span>svn co https://dist.apache.org/repos/dist/dev/kylin <span class="gp">$ </span><span class="nb">popd</span> -<span class="c">## Move the files into a directory</span> +<span class="c"># å°æ件移å°ç®å½ä¸</span> <span class="gp">$ </span><span class="nb">cd </span>target <span class="gp">$ </span>mkdir ~/dist/dev/kylin/apache-kylin-X.Y.Z-rcN <span class="gp">$ </span>mv apache-kylin-<span class="k">*</span> ~/dist/dev/kylin/apache-kylin-X.Y.Z-rcN -<span class="c">## Remove the .zip.asc.sha256 file as it is not needed.</span> +<span class="c"># å é¤ .zip.asc.sha256 æ件ï¼å 为å®ä¸åéè¦</span> <span class="gp">$ </span>rm ~/dist/dev/kylin/apache-kylin-X.Y.Z-rcN/apache-kylin-X.Y.Z-SNAPSHOT-source-release.zip.asc.sha256 -<span class="c">## Check in</span> +<span class="c"># Check in</span> <span class="gp">$ </span><span class="nb">cd</span> ~/dist/dev/kylin <span class="gp">$ </span>svn add apache-kylin-X.Y.Z-rcN <span class="gp">$ </span>svn commit -m <span class="s1">'Upload release artifacts to staging'</span> --username <YOUR_APACHE_ID></code></pre></div> -<h1 id="release">éªè¯ release</h1> +<h2 id="release">éªè¯ release</h2> -<div class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="c"># Check unit test</span> +<div class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="c"># æ£æ¥åå æµè¯</span> <span class="gp">$ </span>mvn <span class="nb">test</span> <span class="c"># Check that the signing key (e.g. 2AD3FAE3) is pushed</span> @@ -432,8 +431,7 @@ var _hmt = _hmt || []; <span class="c"># Check keys</span> <span class="gp">$ </span>curl -O https://dist.apache.org/repos/dist/release/kylin/KEYS -<span class="c"># Sign/check sha256 hashes</span> -<span class="c"># (Assumes your O/S has a 'shasum' command.)</span> +<span class="c"># Sign/check sha256 hashesï¼å设æ¨çæä½ç³»ç»å ·æâ shasumâå½ä»¤ï¼</span> <span class="k">function </span>checkHash<span class="o">()</span> <span class="o">{</span> <span class="nb">cd</span> <span class="s2">"</span><span class="nv">$1</span><span class="s2">"</span> <span class="k">for </span>i <span class="k">in</span> <span class="k">*</span>.<span class="o">{</span>pom,gz<span class="o">}</span>; <span class="k">do @@ -527,11 +525,7 @@ Apache-Kylin-X.Y.Z has passed.</code></p <h2 id="section-2">åå¸</h2> <p>æååå¸æ票åï¼æ们éè¦æ¨å¨åè¡å°éåï¼ä»¥åå ¶å®ä»»å¡ã</p> -<p>å¨ JIRA ä¸ï¼æç´¢<br /> -<a href="https://issues.apache.org/jira/issues/?jql=project%20%3D%20KYLIN%20">all issues resolved in this release</a>,<br /> -并è¿è¡æ¹éæ´æ°ï¼å°å®ä»¬çç¶ææ´æ¹ä¸ºâå ³éâï¼<br /> -并å ä¸æ´æ¹çè¯è®º<br /> -âResolved in release X.Y.Z (YYYY-MM-DD)â<br /> +<p>å¨ JIRA ä¸ï¼æç´¢ <a href="https://issues.apache.org/jira/issues/?jql=project%20%3D%20KYLIN%20">all issues resolved in this release</a>ï¼å¹¶è¿è¡æ¹éæ´æ°ï¼å°å®ä»¬çç¶ææ´æ¹ä¸º âå ³éâï¼å¹¶å ä¸æ´æ¹çè¯è®º âResolved in release X.Y.Z (YYYY-MM-DD)â<br /> (å¡«åéå½çåå¸å·åæ¥æ)ã <br /> <strong>åæ¶ âSend mail for this updateâã</strong></p> @@ -548,12 +542,12 @@ Apache-Kylin-X.Y.Z has passed.</code></p <p>å°å·¥ä»¶æ£å ¥ svnã</p> -<div class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="c"># Get the release candidate.</span> +<div class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="c"># è·ååéçæ¬</span> <span class="gp">$ </span>mkdir -p ~/dist/dev <span class="gp">$ </span><span class="nb">cd</span> ~/dist/dev <span class="gp">$ </span>svn co https://dist.apache.org/repos/dist/dev/kylin -<span class="c"># Copy the artifacts. Note that the copy does not have '-rcN' suffix.</span> +<span class="c"># å¤å¶å·¥ä»¶ï¼è¯·æ³¨æï¼å¯æ¬æ²¡æåç¼ '-rcN'</span> <span class="gp">$ </span>mkdir -p ~/dist/release <span class="gp">$ </span><span class="nb">cd</span> ~/dist/release <span class="gp">$ </span>svn co https://dist.apache.org/repos/dist/release/kylin @@ -562,7 +556,7 @@ Apache-Kylin-X.Y.Z has passed.</code></p <span class="gp">$ </span>cp -rp ../../dev/kylin/apache-kylin-X.Y.Z-rcN/apache-kylin<span class="k">*</span> apache-kylin-X.Y.Z/ <span class="gp">$ </span>svn add apache-kylin-X.Y.Z -<span class="c"># Check in.</span> +<span class="c"># Check in</span> svn commit -m <span class="s1">'checkin release artifacts'</span></code></pre></div> <p>Svnpubsub å°ä¼åå¸å°<br /> @@ -575,15 +569,15 @@ svn commit -m <span class="s1">'checkin svn rm apache-kylin-X.Y.Z svn commit -m <span class="s1">'Remove old release'</span></code></pre></div> -<p>æ§çæ¬å°ä¿çå¨ <a href="http://archive.apache.org/dist/kylin/">release archive</a>.</p> +<p>æ§çæ¬å°ä¿çå¨ <a href="http://archive.apache.org/dist/kylin/">release archive</a>ã</p> <p>å¨ JIRA ä¸åå¸ç¸åçæ¬ï¼æ£æ¥ææ°åå¸çæ¬çæ´æ¹æ¥å¿ã</p> <h2 id="section-3">æ建åä¸ä¼ äºè¿å¶å </h2> -<p>åå¸åï¼æ¨éè¦çæäºè¿å¶å 并å°å®ä»¬æ¾å ¥å° VPN åå¸åºä¸ï¼</p> +<p>åå¸åï¼æ¨éè¦çæäºè¿å¶å 并å°å®ä»¬æ¾å ¥å° VPN åå¸åºä¸ï¼</p> <ul> - <li>ä½¿ç¨ <code class="highlighter-rouge">git fetch --all --prune --tags</code> æ¥åæ¥æ¨æ¬å°åè¿ç¨çä»åºã</li> + <li>ä½¿ç¨ <code class="highlighter-rouge">git fetch --all --prune --tags</code> æ¥åæ¥æ¨æ¬å°åè¿ç¨çä»åºï¼</li> <li>Git æ£åºå½ååå¸çæ ç¾ï¼</li> <li>éè¿åè<a href="howto_package.html">æ¤ææ¡£</a>å¶ä½äºè¿å¶å ;</li> <li>ä½¿ç¨ gpg 对çæçäºè¿å¶å è¿è¡ç¾åï¼ä¾å¦ï¼</li> @@ -601,7 +595,7 @@ svn commit -m <span class="s1">'Remove o openssl sha256 apache-kylin-2.5.0-bin.tar.gz > apache-kylin-2.5.0-bin.tar.gz.sha256</code></pre></div> <ul> - <li>å°äºè¿å¶å ï¼ç¾åæ件å sha256 æ件æ¨éå° svn <strong>dev</strong> ä»åºï¼ç¶åè¿è¡ <code class="highlighter-rouge">svn mv <files-in-dev> <files-in-release></code> å½ä»¤å°ä»ä»¬ç§»å¨å° svn <strong>release</strong> ä»åºã</li> + <li>å°äºè¿å¶å ï¼ç¾åæ件å sha256 æ件æ¨éå° svn <strong>dev</strong> ä»åºï¼ç¶åè¿è¡ <code class="highlighter-rouge">svn mv <files-in-dev> <files-in-release></code> å½ä»¤å°ä»ä»¬ç§»å¨å° svn <strong>release</strong> ä»åºï¼</li> <li>对äºä¸åç Hadoop/HBase çæ¬ï¼æ¨å¯è½éè¦ä¸è¿°æ¥éª¤ï¼</li> <li>æ·»å æ件ï¼ç¶åå°æ´æ¹æ交 svnã</li> </ul> @@ -611,7 +605,7 @@ svn commit -m <span class="s1">'Remove o <ul> <li> - <p>æåå¸åæ¯ï¼å¦v2.5.0-releaseï¼å并å°å¼ååæ¯ä¸ï¼å¦2.5.xï¼ä»¥ä¾¿å¼å§ä¸ä¸ªçæ¬çå¼åã</p> + <p>æåå¸åæ¯ï¼å¦ v2.5.0-releaseï¼å并å°å¼ååæ¯ä¸ï¼å¦ 2.5.xï¼ä»¥ä¾¿å¼å§ä¸ä¸ªçæ¬çå¼åã</p> </li> <li> <p>æå¨æ´æ° <code class="highlighter-rouge">KylinVersion</code> ç±»ï¼å° <code class="highlighter-rouge">CURRENT_KYLIN_VERSION</code> çå¼æ´æ¹ä¸ºå½åå¼åçæ¬ã</p> @@ -625,10 +619,10 @@ svn commit -m <span class="s1">'Remove o <p>åéä¸ä¸ªé®ä»¶ä¸»é¢å¦ â[Announce] Apache Kylin x.y.z releasedâ å°ä»¥ä¸å表ï¼</p> <ul> - <li>Apache Kylin Dev é®ç®±å表: d...@kylin.apache.org</li> - <li>Apache Kylin User é®ç®±å表: u...@kylin.apache.org</li> - <li>Apache Announce é®ç®±å表: annou...@apache.org<br /> -请注æå§ç»ä½¿ç¨æ¨ç Apache é®ä»¶å°ååé;</li> + <li>Apache Kylin Dev é®ç®±å表ï¼d...@kylin.apache.org</li> + <li>Apache Kylin User é®ç®±å表ï¼u...@kylin.apache.org</li> + <li>Apache Announce é®ç®±å表ï¼annou...@apache.org<br /> +请注æå§ç»ä½¿ç¨æ¨ç Apache é®ä»¶å°ååéï¼</li> </ul> <p>è¿æ¯ä¸ä¸ªå ¬åçµåé®ä»¶çæ ·æ¬ï¼éè¿ç 究 Kafka):</p> @@ -653,7 +647,7 @@ We welcome your help and feedback. For m report problems, and to get involved, visit the project website at https://kylin.apache.org/</code></pre></div> -<h1 id="section-7">æè°¢</h1> +<h2 id="section-7">æè°¢</h2> <p>æ¬æåèµ·èäº <a href="http://calcite.apache.org">Apache Calcite</a> Howto doc çåèèµæï¼é常æè°¢ã</p> @@ -748,6 +742,8 @@ https://kylin.apache.org/</code></pre></ + + <li class="navlist"> <a href="/cn/development/index.html" class="list-group-item-lay pjaxlink">å¼åå¿«éæå</a></li> @@ -854,6 +850,8 @@ https://kylin.apache.org/</code></pre></ + + <li class="navlist"> <a href="/cn/development/howto_test.html" class="list-group-item-lay pjaxlink">å¦ä½æµè¯</a></li> @@ -892,6 +890,8 @@ https://kylin.apache.org/</code></pre></ + + <li class="navlist"> <a href="/cn/development/howto_contribute.html" class="list-group-item-lay pjaxlink">å¦ä½è´¡ç®</a></li> @@ -926,6 +926,8 @@ https://kylin.apache.org/</code></pre></ + + <li class="navlist"> <a href="/cn/development/howto_become_apache_committer.html" class="list-group-item-lay pjaxlink">å¦ä½æ为 Apache Committer</a></li> @@ -968,6 +970,8 @@ https://kylin.apache.org/</code></pre></ + + <li class="navlist"> <a href="/cn/development/howto_docs.html" class="list-group-item-lay pjaxlink">å¦ä½åææ¡£</a></li> @@ -1050,6 +1054,8 @@ https://kylin.apache.org/</code></pre></ + + <li class="navlist"> <a href="/cn/development/howto_package.html" class="list-group-item-lay pjaxlink">å¦ä½æäºè¿å¶å </a></li> @@ -1096,6 +1102,8 @@ https://kylin.apache.org/</code></pre></ + + <li class="navlist"> <a href="/cn/development/howto_hbase_branches.html" class="list-group-item-lay pjaxlink">å¦ä½ç»´æ¤ HBase åæ¯</a></li> @@ -1150,6 +1158,8 @@ https://kylin.apache.org/</code></pre></ + + <li class="navlist"> <a href="/cn/development/howto_release.html" class="list-group-item-lay pjaxlink">å¦ä½åå¸</a></li> @@ -1220,6 +1230,8 @@ https://kylin.apache.org/</code></pre></ + + <li class="navlist"> <a href="/cn/development/plugin_arch.html" class="list-group-item-lay pjaxlink">æ件æ¶æ</a></li> @@ -1286,6 +1298,8 @@ https://kylin.apache.org/</code></pre></ + + <li class="navlist"> <a href="/cn/development/new_metadata.html" class="list-group-item-lay pjaxlink">æ°çå æ°æ®æ¨¡å</a></li> @@ -1303,6 +1317,8 @@ https://kylin.apache.org/</code></pre></ + +
Modified: kylin/site/cn/development/howto_test.html URL: http://svn.apache.org/viewvc/kylin/site/cn/development/howto_test.html?rev=1881142&r1=1881141&r2=1881142&view=diff ============================================================================== --- kylin/site/cn/development/howto_test.html (original) +++ kylin/site/cn/development/howto_test.html Mon Aug 24 14:09:05 2020 @@ -186,7 +186,7 @@ var _hmt = _hmt || []; <ul> <li><code class="highlighter-rouge">mvn clean test</code> è¿è¡åå æµè¯ï¼å®çæµè¯è¦çèå´æéã <ul> - <li>åå æµè¯æ²¡æé¢å¤çä¾èµä¸è½å¨ä»»ä½æºå¨ä¸è¿è¡</li> + <li>åå æµè¯æ²¡æé¢å¤çä¾èµä¸è½å¨ä»»ä½æºå¨ä¸è¿è¡ã</li> <li>åå æµè¯ä¸è¦ç端å°ç«¯çåºæ¯ï¼å¦æ建ï¼å并åæ¥è¯¢ã</li> <li>åå æµè¯åªéå åéå³å¯å®æã</li> </ul> @@ -204,7 +204,7 @@ var _hmt = _hmt || []; <h2 id="v15-utit-">æ´å¤å ³äº V1.5 UT/IT å离</h2> -<p>è¿è¡ <code class="highlighter-rouge">mvn verify -Dhdp.version=2.4.0.0-169</code> ï¼åå®æ¨è¿è¡å¨ HDP 2.4 æ²ç®±ä¸) æ¯è¿è¡å®æ´çæææµè¯å¥ä»¶æéçå ¨é¨å 容ã</p> +<p>è¿è¡ <code class="highlighter-rouge">mvn verify -Dhdp.version=2.4.0.0-169</code> ï¼åå®æ¨è¿è¡å¨ HDP 2.4 æ²ç®±ä¸ï¼æ¯è¿è¡å®æ´çæææµè¯å¥ä»¶æéçå ¨é¨å 容ã</p> <p>å®å°æ顺åºæ§è¡ä»¥ä¸æ¥éª¤ï¼</p> @@ -224,7 +224,7 @@ var _hmt = _hmt || []; <h3 id="cube-">Cube é ç½®</h3> -<p>æµè¯ç¨ç cube é 置确å®ä¼è¿è¡ kylin cube ä½ä¸ï¼ä»¥å¨æ²ç®±ä¸åå¤æ ·ä¾ cubeãè¿äºåå¤å¥½ç cubes å°ä¼è¢«éææµè¯ä½¿ç¨ï¼å½ååå¤æ¥éª¤ä¸ maven é¢éææµè¯é¶æ®µç»å®ï¼ä¸å ¶å å«è¿è¡ BuildCubeWithEngineï¼éè¦ HBase)ï¼BuildCubeWithStreamï¼éè¦ Kafka)ãæ¨å¯ä»¥å¨æ²ç®±æè¿è¡å¼åç计ç®æºä¸è¿è¡ mvn å½ä»¤ã对äºåè æ åµæ¨éè¦å¨ <strong>$KYLIN_HOME/examples/test_case_data/sandbox/kylin.properties</strong> ä¸è®¾ç½® kylin.job.use-remote-cli=trueã<br /> +<p>æµè¯ç¨ç cube é 置确å®ä¼è¿è¡ kylin cube ä½ä¸ï¼ä»¥å¨æ²ç®±ä¸åå¤æ ·ä¾ cubeãè¿äºåå¤å¥½ç cubes å°ä¼è¢«éææµè¯ä½¿ç¨ï¼å½ååå¤æ¥éª¤ä¸ maven é¢éææµè¯é¶æ®µç»å®ï¼ä¸å ¶å å«è¿è¡ BuildCubeWithEngineï¼éè¦ HBaseï¼ï¼BuildCubeWithStreamï¼éè¦ Kafkaï¼ãæ¨å¯ä»¥å¨æ²ç®±æè¿è¡å¼åç计ç®æºä¸è¿è¡ mvn å½ä»¤ã对äºåè æ åµæ¨éè¦å¨ <strong>$KYLIN_HOME/examples/test_case_data/sandbox/kylin.properties</strong> ä¸è®¾ç½® kylin.job.use-remote-cli=trueã<br /> å°è¯å° <code class="highlighter-rouge">-DfastBuildMode=true</code> éå å° mvn verify å½ä»¤ï¼éè¿è·³è¿å¢é Cubing æ¥å éé ç½®ã</p> @@ -319,6 +319,8 @@ var _hmt = _hmt || []; + + <li class="navlist"> <a href="/cn/development/index.html" class="list-group-item-lay pjaxlink">å¼åå¿«éæå</a></li> @@ -425,6 +427,8 @@ var _hmt = _hmt || []; + + <li class="navlist"> <a href="/cn/development/howto_test.html" class="list-group-item-lay pjaxlink">å¦ä½æµè¯</a></li> @@ -463,6 +467,8 @@ var _hmt = _hmt || []; + + <li class="navlist"> <a href="/cn/development/howto_contribute.html" class="list-group-item-lay pjaxlink">å¦ä½è´¡ç®</a></li> @@ -497,6 +503,8 @@ var _hmt = _hmt || []; + + <li class="navlist"> <a href="/cn/development/howto_become_apache_committer.html" class="list-group-item-lay pjaxlink">å¦ä½æ为 Apache Committer</a></li> @@ -539,6 +547,8 @@ var _hmt = _hmt || []; + + <li class="navlist"> <a href="/cn/development/howto_docs.html" class="list-group-item-lay pjaxlink">å¦ä½åææ¡£</a></li> @@ -621,6 +631,8 @@ var _hmt = _hmt || []; + + <li class="navlist"> <a href="/cn/development/howto_package.html" class="list-group-item-lay pjaxlink">å¦ä½æäºè¿å¶å </a></li> @@ -667,6 +679,8 @@ var _hmt = _hmt || []; + + <li class="navlist"> <a href="/cn/development/howto_hbase_branches.html" class="list-group-item-lay pjaxlink">å¦ä½ç»´æ¤ HBase åæ¯</a></li> @@ -721,6 +735,8 @@ var _hmt = _hmt || []; + + <li class="navlist"> <a href="/cn/development/howto_release.html" class="list-group-item-lay pjaxlink">å¦ä½åå¸</a></li> @@ -791,6 +807,8 @@ var _hmt = _hmt || []; + + <li class="navlist"> <a href="/cn/development/plugin_arch.html" class="list-group-item-lay pjaxlink">æ件æ¶æ</a></li> @@ -857,6 +875,8 @@ var _hmt = _hmt || []; + + <li class="navlist"> <a href="/cn/development/new_metadata.html" class="list-group-item-lay pjaxlink">æ°çå æ°æ®æ¨¡å</a></li> @@ -874,6 +894,8 @@ var _hmt = _hmt || []; + + Modified: kylin/site/cn/development/index.html URL: http://svn.apache.org/viewvc/kylin/site/cn/development/index.html?rev=1881142&r1=1881141&r2=1881142&view=diff ============================================================================== --- kylin/site/cn/development/index.html (original) +++ kylin/site/cn/development/index.html Mon Aug 24 14:09:05 2020 @@ -202,15 +202,15 @@ Gitbox çéåï¼<a href=" <h3 id="section-2">路线å¾</h3> <ul> - <li>æ¯æ Hadoop 3.0ï¼çº åç¼ç ) ï¼ å®æï¼v2.5ï¼</li> - <li>å®å ¨ä½¿ç¨ Spark ç Cube å¼æ ï¼ å®æï¼v2.5ï¼</li> - <li>æ¯æå®æ¶æ°æ®åæç Lambda æ¶æ ï¼ å®æï¼v3.0ï¼</li> - <li>æ¥å ¥æ´å¤çæºï¼MySQLï¼Spark SQL ç) ï¼ å®æï¼v2.6ï¼</li> - <li>Flink å¼æ ï¼è¿è¡ä¸ (v3.1)</li> - <li>äºåççåå¨å¼æï¼Parquet) ï¼ å¼åä¸ï¼v4.0ï¼</li> - <li>åå¸å¼æ¥è¯¢æ§è¡å¼æ ï¼ ä¸ Parquet åå¨ä¸èµ·è¿è¡ä¸ï¼v4.0ï¼</li> - <li>容å¨å/Kubernetes ï¼è¿è¡ä¸ (v3.1)</li> - <li>æ¥è¯¢ä¸å SDK (Presto, Clickhouse, ç) : è¿è¡ä¸ (Presto æ¯æ v3.1)</li> + <li>æ¯æ Hadoop 3.0ï¼çº åç¼ç ï¼ï¼å®æï¼v2.5ï¼</li> + <li>å®å ¨ä½¿ç¨ Spark ç Cube å¼æï¼å®æï¼v2.5ï¼</li> + <li>æ¯æå®æ¶æ°æ®åæç Lambda æ¶æï¼å®æï¼v3.0ï¼</li> + <li>æ¥å ¥æ´å¤çæºï¼MySQLï¼Spark SQL çï¼ï¼å®æï¼v2.6ï¼</li> + <li>Flink å¼æï¼å®æï¼v3.1ï¼</li> + <li>äºåççåå¨å¼æï¼Parquetï¼ï¼å¼åä¸ï¼v4.0ï¼</li> + <li>åå¸å¼æ¥è¯¢æ§è¡å¼æï¼ä¸ Parquet åå¨ä¸èµ·è¿è¡ä¸ï¼v4.0ï¼</li> + <li>容å¨å/Kubernetesï¼å®æï¼v3.1ï¼</li> + <li>æ¥è¯¢ä¸å SDKï¼Prestoï¼Clickhouse çï¼ï¼è¿è¡ä¸ï¼v3.1 æ¯ææ¥è¯¢ä¸å Prestoï¼</li> <li>å³å¸æ¥è¯¢æ¯æï¼æ éæ建 Cube</li> </ul> @@ -306,6 +306,8 @@ Gitbox çéåï¼<a href=" + + <li class="navlist"> <a href="/cn/development/index.html" class="list-group-item-lay pjaxlink">å¼åå¿«éæå</a></li> @@ -412,6 +414,8 @@ Gitbox çéåï¼<a href=" + + <li class="navlist"> <a href="/cn/development/howto_test.html" class="list-group-item-lay pjaxlink">å¦ä½æµè¯</a></li> @@ -450,6 +454,8 @@ Gitbox çéåï¼<a href=" + + <li class="navlist"> <a href="/cn/development/howto_contribute.html" class="list-group-item-lay pjaxlink">å¦ä½è´¡ç®</a></li> @@ -484,6 +490,8 @@ Gitbox çéåï¼<a href=" + + <li class="navlist"> <a href="/cn/development/howto_become_apache_committer.html" class="list-group-item-lay pjaxlink">å¦ä½æ为 Apache Committer</a></li> @@ -526,6 +534,8 @@ Gitbox çéåï¼<a href=" + + <li class="navlist"> <a href="/cn/development/howto_docs.html" class="list-group-item-lay pjaxlink">å¦ä½åææ¡£</a></li> @@ -608,6 +618,8 @@ Gitbox çéåï¼<a href=" + + <li class="navlist"> <a href="/cn/development/howto_package.html" class="list-group-item-lay pjaxlink">å¦ä½æäºè¿å¶å </a></li> @@ -654,6 +666,8 @@ Gitbox çéåï¼<a href=" + + <li class="navlist"> <a href="/cn/development/howto_hbase_branches.html" class="list-group-item-lay pjaxlink">å¦ä½ç»´æ¤ HBase åæ¯</a></li> @@ -708,6 +722,8 @@ Gitbox çéåï¼<a href=" + + <li class="navlist"> <a href="/cn/development/howto_release.html" class="list-group-item-lay pjaxlink">å¦ä½åå¸</a></li> @@ -778,6 +794,8 @@ Gitbox çéåï¼<a href=" + + <li class="navlist"> <a href="/cn/development/plugin_arch.html" class="list-group-item-lay pjaxlink">æ件æ¶æ</a></li> @@ -844,6 +862,8 @@ Gitbox çéåï¼<a href=" + + <li class="navlist"> <a href="/cn/development/new_metadata.html" class="list-group-item-lay pjaxlink">æ°çå æ°æ®æ¨¡å</a></li> @@ -861,6 +881,8 @@ Gitbox çéåï¼<a href=" + + Modified: kylin/site/cn/development/new_metadata.html URL: http://svn.apache.org/viewvc/kylin/site/cn/development/new_metadata.html?rev=1881142&r1=1881141&r2=1881142&view=diff ============================================================================== --- kylin/site/cn/development/new_metadata.html (original) +++ kylin/site/cn/development/new_metadata.html Mon Aug 24 14:09:05 2020 @@ -182,29 +182,29 @@ var _hmt = _hmt || []; <p>Kylin æ£å¨è¿è¡å¾ªç¯ä»£ç éæï¼å®å°å¯¹å æ°æ®å¼å ¥ä»¥ä¸ä¸¤ä¸ªæ´æ¹ï¼</p> <ul> - <li>ä» âcube_descâ æ½è±¡ä¸ä¸ª âmodel_descâ å±</li> -</ul> - -<p>å®ä¹ä¸ä¸ª cube åï¼ç¨æ·å°éè¦é¦å å®ä¹ä¸ä¸ªæ¨¡åï¼âmodel_descâ)ï¼æ¨¡åå®ä¹äºåªä¸ªæ¯äºå®è¡¨ï¼åªäºæ¯ç»´åº¦è¡¨ä»¥åå®ä»¬æ¯å¦ä½ join çï¼</p> + <li> + <p>ä» âcube_descâ æ½è±¡ä¸ä¸ª âmodel_descâ å±</p> -<p>å¨å®ä¹æ¨¡åæ¶ï¼å½ç¨æ·å®ä¹ cubeï¼âcube_descâï¼æ¶ï¼ä»/她åªéè¦ä¸ºç»´åº¦æå®è¡¨/åå称ï¼å 为已ç»å®ä¹äº join æ¡ä»¶;</p> + <p>å®ä¹ä¸ä¸ª cube åï¼ç¨æ·å°éè¦é¦å å®ä¹ä¸ä¸ªæ¨¡åï¼âmodel_descâ)ï¼æ¨¡åå®ä¹äºåªä¸ªæ¯äºå®è¡¨ï¼åªäºæ¯ç»´åº¦è¡¨ä»¥åå®ä»¬æ¯å¦ä½ join çï¼</p> -<p>è¿ç§æ½è±¡æ¯æ©å±å æ°æ®ä»¥å®ç°é cube æ¥è¯¢ï¼å³å°æ¨åºï¼;</p> + <p>å®ä¹æ¨¡åä¹åï¼å½ç¨æ·å®ä¹ cubeï¼âcube_descâï¼æ¶ï¼ä»/她åªéè¦ä¸ºç»´åº¦æå®è¡¨/åå称ï¼å 为已ç»å®ä¹äº join æ¡ä»¶ï¼</p> -<ul> - <li>æ¯ææ¥èªå¤ä¸ª hive æ°æ®åºçæ°æ®è¡¨ï¼</li> -</ul> + <p>è¿ç§æ½è±¡æ¯æ©å±å æ°æ®ä»¥å®ç°é Cube æ¥è¯¢ï¼å³å°æ¨åºï¼;</p> + </li> + <li> + <p>æ¯ææ¥èªå¤ä¸ª Hive æ°æ®åºçæ°æ®è¡¨</p> -<p>ç¨æ·æè¿æ ·çåºæ¯ï¼è¡¨æ¥èªå¤ä¸ª hive æ°æ®åºï¼è¡¨åå¯è½ç¸åï¼ä¸ºäºæ¯æè¿ç§æ åµï¼Kylin å°ä½¿ç¨æ°æ®åºå称 + 表åä½ä¸ºè¡¨çå¯ä¸å称ï¼å¹¶ä¸å½å¨ Kylin ä¸æ¥è¯¢æ¶ï¼ç¨æ·éè¦å¨ SQL ä¸æå®æ°æ®åºå称ï¼å¦æå®ä¸æ¯âdefaultâï¼ã</p> + <p>ç¨æ·æè¿æ ·çåºæ¯ï¼è¡¨æ¥èªå¤ä¸ª Hive æ°æ®åºï¼è¡¨åå¯è½ç¸åï¼ä¸ºäºæ¯æè¿ç§æ åµï¼Kylin å°ä½¿ç¨æ°æ®åºå称 + 表åä½ä¸ºè¡¨çå¯ä¸å称ï¼å¹¶ä¸å½å¨ Kylin ä¸æ¥è¯¢æ¶ï¼ç¨æ·éè¦å¨ SQL ä¸æå®æ°æ®åºå称ï¼å¦æå®ä¸æ¯ âdefaultâï¼ã</p> -<p>è¿éæä¸ä¸ªæ ·ä¾ï¼äºå®è¡¨ âtest_kylin_factâ æ¥èªäºé»è®¤ç hive æ°æ®åºï¼æ¨ä¸éè¦æå®æ°æ®åºå称ï¼ç¶è维度表æ¥èªäº âedwâï¼å¨æ¥è¯¢ä¸æ¨éè¦ä½¿ç¨ âedw.test_cal_dtâï¼</p> + <p>è¿éæä¸ä¸ªæ ·ä¾ï¼äºå®è¡¨ âtest_kylin_factâ æ¥èªäºé»è®¤ç hive æ°æ®åºï¼æ¨ä¸éè¦æå®æ°æ®åºå称ï¼ç¶è维度表æ¥èªäº âedwâï¼å¨æ¥è¯¢ä¸æ¨éè¦ä½¿ç¨ âedw.test_cal_dtâï¼</p> + </li> +</ul> <div class="highlight"><pre><code class="language-groff" data-lang="groff">select test_cal_dt.Week_Beg_Dt, sum(price) as c1, count(1) as c2 - from test_kylin_fact - inner JOIN edw.test_cal_dt as test_cal_dt - ON test_kylin_fact.cal_dt = test_cal_dt.cal_dt - where test_kylin_fact.lstg_format_name='ABIN'</code></pre></div> - + from test_kylin_fact + inner JOIN edw.test_cal_dt as test_cal_dt + ON test_kylin_fact.cal_dt = test_cal_dt.cal_dt + where test_kylin_fact.lstg_format_name='ABIN'</code></pre></div> </article> </div> @@ -297,6 +297,8 @@ var _hmt = _hmt || []; + + <li class="navlist"> <a href="/cn/development/index.html" class="list-group-item-lay pjaxlink">å¼åå¿«éæå</a></li> @@ -403,6 +405,8 @@ var _hmt = _hmt || []; + + <li class="navlist"> <a href="/cn/development/howto_test.html" class="list-group-item-lay pjaxlink">å¦ä½æµè¯</a></li> @@ -441,6 +445,8 @@ var _hmt = _hmt || []; + + <li class="navlist"> <a href="/cn/development/howto_contribute.html" class="list-group-item-lay pjaxlink">å¦ä½è´¡ç®</a></li> @@ -475,6 +481,8 @@ var _hmt = _hmt || []; + + <li class="navlist"> <a href="/cn/development/howto_become_apache_committer.html" class="list-group-item-lay pjaxlink">å¦ä½æ为 Apache Committer</a></li> @@ -517,6 +525,8 @@ var _hmt = _hmt || []; + + <li class="navlist"> <a href="/cn/development/howto_docs.html" class="list-group-item-lay pjaxlink">å¦ä½åææ¡£</a></li> @@ -599,6 +609,8 @@ var _hmt = _hmt || []; + + <li class="navlist"> <a href="/cn/development/howto_package.html" class="list-group-item-lay pjaxlink">å¦ä½æäºè¿å¶å </a></li> @@ -645,6 +657,8 @@ var _hmt = _hmt || []; + + <li class="navlist"> <a href="/cn/development/howto_hbase_branches.html" class="list-group-item-lay pjaxlink">å¦ä½ç»´æ¤ HBase åæ¯</a></li> @@ -699,6 +713,8 @@ var _hmt = _hmt || []; + + <li class="navlist"> <a href="/cn/development/howto_release.html" class="list-group-item-lay pjaxlink">å¦ä½åå¸</a></li> @@ -769,6 +785,8 @@ var _hmt = _hmt || []; + + <li class="navlist"> <a href="/cn/development/plugin_arch.html" class="list-group-item-lay pjaxlink">æ件æ¶æ</a></li> @@ -835,6 +853,8 @@ var _hmt = _hmt || []; + + <li class="navlist"> <a href="/cn/development/new_metadata.html" class="list-group-item-lay pjaxlink">æ°çå æ°æ®æ¨¡å</a></li> @@ -852,6 +872,8 @@ var _hmt = _hmt || []; + + Modified: kylin/site/cn/development/plugin_arch.html URL: http://svn.apache.org/viewvc/kylin/site/cn/development/plugin_arch.html?rev=1881142&r1=1881141&r2=1881142&view=diff ============================================================================== --- kylin/site/cn/development/plugin_arch.html (original) +++ kylin/site/cn/development/plugin_arch.html Mon Aug 24 14:09:05 2020 @@ -319,6 +319,8 @@ var _hmt = _hmt || []; + + <li class="navlist"> <a href="/cn/development/index.html" class="list-group-item-lay pjaxlink">å¼åå¿«éæå</a></li> @@ -425,6 +427,8 @@ var _hmt = _hmt || []; + + <li class="navlist"> <a href="/cn/development/howto_test.html" class="list-group-item-lay pjaxlink">å¦ä½æµè¯</a></li> @@ -463,6 +467,8 @@ var _hmt = _hmt || []; + + <li class="navlist"> <a href="/cn/development/howto_contribute.html" class="list-group-item-lay pjaxlink">å¦ä½è´¡ç®</a></li> @@ -497,6 +503,8 @@ var _hmt = _hmt || []; + + <li class="navlist"> <a href="/cn/development/howto_become_apache_committer.html" class="list-group-item-lay pjaxlink">å¦ä½æ为 Apache Committer</a></li> @@ -539,6 +547,8 @@ var _hmt = _hmt || []; + + <li class="navlist"> <a href="/cn/development/howto_docs.html" class="list-group-item-lay pjaxlink">å¦ä½åææ¡£</a></li> @@ -621,6 +631,8 @@ var _hmt = _hmt || []; + + <li class="navlist"> <a href="/cn/development/howto_package.html" class="list-group-item-lay pjaxlink">å¦ä½æäºè¿å¶å </a></li> @@ -667,6 +679,8 @@ var _hmt = _hmt || []; + + <li class="navlist"> <a href="/cn/development/howto_hbase_branches.html" class="list-group-item-lay pjaxlink">å¦ä½ç»´æ¤ HBase åæ¯</a></li> @@ -721,6 +735,8 @@ var _hmt = _hmt || []; + + <li class="navlist"> <a href="/cn/development/howto_release.html" class="list-group-item-lay pjaxlink">å¦ä½åå¸</a></li> @@ -791,6 +807,8 @@ var _hmt = _hmt || []; + + <li class="navlist"> <a href="/cn/development/plugin_arch.html" class="list-group-item-lay pjaxlink">æ件æ¶æ</a></li> @@ -857,6 +875,8 @@ var _hmt = _hmt || []; + + <li class="navlist"> <a href="/cn/development/new_metadata.html" class="list-group-item-lay pjaxlink">æ°çå æ°æ®æ¨¡å</a></li> @@ -874,6 +894,8 @@ var _hmt = _hmt || []; + + Modified: kylin/site/cn/development/web_tech.html URL: http://svn.apache.org/viewvc/kylin/site/cn/development/web_tech.html?rev=1881142&r1=1881141&r2=1881142&view=diff ============================================================================== --- kylin/site/cn/development/web_tech.html (original) +++ kylin/site/cn/development/web_tech.html Mon Aug 24 14:09:05 2020 @@ -181,17 +181,17 @@ var _hmt = _hmt || []; <article class="post-content" > <h3 id="section">项ç®ä¾èµ</h3> <ul> - <li>npm: ç¨äºå¼åé¶æ®µå®è£ grunt å bower</li> - <li>grunt: æ建并å®è£ kylin web</li> - <li>bower: 管ç kylin ææ¯ä¾èµ</li> + <li>npmï¼ç¨äºå¼åé¶æ®µå®è£ grunt å bower</li> + <li>gruntï¼æ建并å®è£ kylin web</li> + <li>bowerï¼ç®¡ç kylin ææ¯ä¾èµ</li> </ul> <h3 id="section-1">ææ¯ä¾èµ</h3> <ul> - <li>Angular JS: kylin web çåºç¡æ¯æ</li> - <li>ACE: sql å json ç¼è¾å¨</li> - <li>D3 JS: ç»å¶æ¥è¡¨å¾è¡¨å cube å¾è¡¨</li> - <li>Bootstrap: css åº</li> + <li>Angular JSï¼kylin web çåºç¡æ¯æ</li> + <li>ACEï¼sql å json ç¼è¾å¨</li> + <li>D3 JSï¼ç»å¶æ¥è¡¨å¾è¡¨å cube å¾è¡¨</li> + <li>Bootstrapï¼css åº</li> </ul> <h3 id="section-2">æ¯æçç¨ä¾:</h3> @@ -201,7 +201,7 @@ var _hmt = _hmt || []; <ul> <li>åæå¸ï¼è¿è¡æ¥è¯¢åæ£åºç»æ</li> <li>Modelerï¼cube 设计ï¼cube/job æä½åçè§å¨</li> - <li>管çåï¼ç³»ç»æä½ã</li> + <li>管çåï¼ç³»ç»æä½</li> </ul> <h3 id="section-3">ææ¯æ¦è§</h3> @@ -209,31 +209,31 @@ var _hmt = _hmt || []; <h3 id="section-4">强è°:</h3> <ul> - <li>æ¥è¯¢å®ç¨åè½: + <li>æ¥è¯¢å®ç¨åè½ï¼ <ul> <li>表ååå称ç SQL èªå¨å»ºè®®</li> <li>è¿ç¨/æ¬å°æ¥è¯¢ä¿å</li> <li>æ°æ®ç½æ ¼éè¿ç®åç BI æä½è½æ¯æç¾ä¸çº§æ°æ®</li> <li>æ°æ®å¯¼åº</li> - <li>ç®åçæ°æ®å¯è§å(æ线å¾ï¼æ±ç¶å¾ï¼é¥¼å¾)</li> + <li>ç®åçæ°æ®å¯è§åï¼æ线å¾ï¼æ±ç¶å¾ï¼é¥¼å¾ï¼</li> </ul> </li> - <li>Cube 管ç: + <li>Cube 管çï¼ <ul> - <li>ç²¾å¿è®¾è®¡ç cube å建æµç¨</li> - <li>cube å ³ç³»ç»æçå¯è§å</li> - <li>ç²¾å¿è®¾è®¡ç cube 访é®ç®¡ç</li> + <li>ç²¾å¿è®¾è®¡ç Cube å建æµç¨</li> + <li>Cube å ³ç³»ç»æçå¯è§å</li> + <li>ç²¾å¿è®¾è®¡ç Cube 访é®ç®¡ç</li> </ul> </li> - <li>Job 管ç: + <li>Job 管çï¼ <ul> <li>Job æ¥éª¤åæ¥å¿çè§å¨</li> <li>ææ»</li> <li>æ¢å¤</li> </ul> </li> - <li>æç¨ç管çå·¥å ·ã</li> - <li>ç²¾è´çå¤è§åæè§ã</li> + <li>æç¨ç管çå·¥å ·</li> + <li>ç²¾è´çå¤è§åæè§</li> </ul> </article> @@ -327,6 +327,8 @@ var _hmt = _hmt || []; + + <li class="navlist"> <a href="/cn/development/index.html" class="list-group-item-lay pjaxlink">å¼åå¿«éæå</a></li> @@ -433,6 +435,8 @@ var _hmt = _hmt || []; + + <li class="navlist"> <a href="/cn/development/howto_test.html" class="list-group-item-lay pjaxlink">å¦ä½æµè¯</a></li> @@ -471,6 +475,8 @@ var _hmt = _hmt || []; + + <li class="navlist"> <a href="/cn/development/howto_contribute.html" class="list-group-item-lay pjaxlink">å¦ä½è´¡ç®</a></li> @@ -505,6 +511,8 @@ var _hmt = _hmt || []; + + <li class="navlist"> <a href="/cn/development/howto_become_apache_committer.html" class="list-group-item-lay pjaxlink">å¦ä½æ为 Apache Committer</a></li> @@ -547,6 +555,8 @@ var _hmt = _hmt || []; + + <li class="navlist"> <a href="/cn/development/howto_docs.html" class="list-group-item-lay pjaxlink">å¦ä½åææ¡£</a></li> @@ -629,6 +639,8 @@ var _hmt = _hmt || []; + + <li class="navlist"> <a href="/cn/development/howto_package.html" class="list-group-item-lay pjaxlink">å¦ä½æäºè¿å¶å </a></li> @@ -675,6 +687,8 @@ var _hmt = _hmt || []; + + <li class="navlist"> <a href="/cn/development/howto_hbase_branches.html" class="list-group-item-lay pjaxlink">å¦ä½ç»´æ¤ HBase åæ¯</a></li> @@ -729,6 +743,8 @@ var _hmt = _hmt || []; + + <li class="navlist"> <a href="/cn/development/howto_release.html" class="list-group-item-lay pjaxlink">å¦ä½åå¸</a></li> @@ -799,6 +815,8 @@ var _hmt = _hmt || []; + + <li class="navlist"> <a href="/cn/development/plugin_arch.html" class="list-group-item-lay pjaxlink">æ件æ¶æ</a></li> @@ -865,6 +883,8 @@ var _hmt = _hmt || []; + + <li class="navlist"> <a href="/cn/development/new_metadata.html" class="list-group-item-lay pjaxlink">æ°çå æ°æ®æ¨¡å</a></li> @@ -882,6 +902,8 @@ var _hmt = _hmt || []; + + Modified: kylin/site/development/about_temp_files.html URL: http://svn.apache.org/viewvc/kylin/site/development/about_temp_files.html?rev=1881142&r1=1881141&r2=1881142&view=diff ============================================================================== --- kylin/site/development/about_temp_files.html (original) +++ kylin/site/development/about_temp_files.html Mon Aug 24 14:09:05 2020 @@ -8413,17 +8413,9 @@ var _hmt = _hmt || []; <p>For future developments, please:</p> <ul> - <li>Whenever you want to create temp files at Local, choose<br /> -File.createTempFile or use the folder:<br /> -BatchConstants.CFG_KYLIN_LOCAL_TEMP_DIR(/tmp/kylin), do not randomly use<br /> -another folder in /tmp, it will end up a mess, and look unprofessional.</li> - <li>Whenever you create temp files at Local, remember to delete it after<br /> -using it. Itâs best to use FileUtils.forceDelete, as it also works for<br /> -deleting folders. Try avoid deleteOnExit, in case Kylin exits abnormally.</li> - <li>Whenever you want to create files in HDFS, try to create it under<br /> -kylin.hdfs.working.dir or BatchConstants.CFG_KYLIN_HDFS_TEMP_DIR, and<br /> -remember to delete it after it is no longer useful. Try avoid throwing<br /> -everything into hdfs:///tmp and leave it as garbage.</li> + <li>Whenever you want to create temp files at Local, choose <code class="highlighter-rouge">File.createTempFile</code> or use the folder: <code class="highlighter-rouge">BatchConstants.CFG_KYLIN_LOCAL_TEMP_DIR(/tmp/kylin)</code>, do not randomly use another folder in <code class="highlighter-rouge">/tmp</code>, it will end up a mess, and look unprofessional.</li> + <li>Whenever you create temp files at Local, remember to delete it after using it. Itâs best to use <code class="highlighter-rouge">FileUtils.forceDelete</code>, as it also works for deleting folders. Try avoid <code class="highlighter-rouge">deleteOnExit</code>, in case Kylin exits abnormally.</li> + <li>Whenever you want to create files in HDFS, try to create it under <code class="highlighter-rouge">kylin.hdfs.working.dir</code> or <code class="highlighter-rouge">BatchConstants.CFG_KYLIN_HDFS_TEMP_DIR</code>, and remember to delete it after it is no longer useful. Try avoid throwing everything into hdfs:///tmp and leave it as garbage.</li> </ul> </article> @@ -8519,6 +8511,8 @@ everything into hdfs:///tmp and leave it + + <li class="navlist"> <a href="/development/index.html" class="list-group-item-lay pjaxlink">Development Quick Guide</a></li> @@ -8631,6 +8625,8 @@ everything into hdfs:///tmp and leave it + + <li class="navlist"> <a href="/development/howto_test.html" class="list-group-item-lay pjaxlink">How to Test</a></li> @@ -8671,6 +8667,8 @@ everything into hdfs:///tmp and leave it + + <li class="navlist"> <a href="/development/howto_contribute.html" class="list-group-item-lay pjaxlink">How to Contribute</a></li> @@ -8707,6 +8705,8 @@ everything into hdfs:///tmp and leave it + + <li class="navlist"> <a href="/development/howto_become_apache_committer.html" class="list-group-item-lay pjaxlink">How to become an Apache Committer</a></li> @@ -8751,6 +8751,8 @@ everything into hdfs:///tmp and leave it + + <li class="navlist"> <a href="/development/howto_docs.html" class="list-group-item-lay pjaxlink">How to Write Document</a></li> @@ -8785,6 +8787,42 @@ everything into hdfs:///tmp and leave it + <li class="navlist"> + <a href="/development/doc_spec.html" class="list-group-item-lay pjaxlink">Kylin Document Writing Specification</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -8851,6 +8889,8 @@ everything into hdfs:///tmp and leave it + + <li class="navlist"> <a href="/development/howto_hbase_branches.html" class="list-group-item-lay pjaxlink">How to Maintain Hadoop/HBase Branches</a></li> @@ -8907,6 +8947,8 @@ everything into hdfs:///tmp and leave it + + <li class="navlist"> <a href="/development/howto_release.html" class="list-group-item-lay pjaxlink">How to Make Release</a></li> @@ -8979,6 +9021,8 @@ everything into hdfs:///tmp and leave it + + <li class="navlist"> <a href="/development/plugin_arch.html" class="list-group-item-lay pjaxlink">Plugin Architecture</a></li> @@ -9047,6 +9091,8 @@ everything into hdfs:///tmp and leave it + + <li class="navlist"> <a href="/development/new_metadata.html" class="list-group-item-lay pjaxlink">New Metadata Model</a></li> @@ -9064,6 +9110,8 @@ everything into hdfs:///tmp and leave it + + Modified: kylin/site/development/coding_naming_convention.html URL: http://svn.apache.org/viewvc/kylin/site/development/coding_naming_convention.html?rev=1881142&r1=1881141&r2=1881142&view=diff ============================================================================== --- kylin/site/development/coding_naming_convention.html (original) +++ kylin/site/development/coding_naming_convention.html Mon Aug 24 14:09:05 2020 @@ -8453,9 +8453,9 @@ var _hmt = _hmt || []; <ul> <li>The convention is <code class="highlighter-rouge">words-separated-by-dash.ext</code>, all chars in lower case.</li> - <li>Rationale: Be consistent with hadoop config file names, i.e. hdfs-site.xml</li> - <li>Good example: <code class="highlighter-rouge">kylin-server-log4j.properties</code></li> - <li>Bad example: <code class="highlighter-rouge">kylin_hive_conf.xml</code>, should be <code class="highlighter-rouge">kylin-hive-conf.xml</code></li> + <li>Rationale: Be consistent with hadoop config file names, i.e. <code class="highlighter-rouge">hdfs-site.xml</code>.</li> + <li>Good example: <code class="highlighter-rouge">kylin-server-log4j.properties</code>.</li> + <li>Bad example: <code class="highlighter-rouge">kylin_hive_conf.xml</code>, should be <code class="highlighter-rouge">kylin-hive-conf.xml</code>.</li> </ul> @@ -8552,6 +8552,8 @@ var _hmt = _hmt || []; + + <li class="navlist"> <a href="/development/index.html" class="list-group-item-lay pjaxlink">Development Quick Guide</a></li> @@ -8664,6 +8666,8 @@ var _hmt = _hmt || []; + + <li class="navlist"> <a href="/development/howto_test.html" class="list-group-item-lay pjaxlink">How to Test</a></li> @@ -8704,6 +8708,8 @@ var _hmt = _hmt || []; + + <li class="navlist"> <a href="/development/howto_contribute.html" class="list-group-item-lay pjaxlink">How to Contribute</a></li> @@ -8740,6 +8746,8 @@ var _hmt = _hmt || []; + + <li class="navlist"> <a href="/development/howto_become_apache_committer.html" class="list-group-item-lay pjaxlink">How to become an Apache Committer</a></li> @@ -8784,6 +8792,8 @@ var _hmt = _hmt || []; + + <li class="navlist"> <a href="/development/howto_docs.html" class="list-group-item-lay pjaxlink">How to Write Document</a></li> @@ -8818,6 +8828,42 @@ var _hmt = _hmt || []; + <li class="navlist"> + <a href="/development/doc_spec.html" class="list-group-item-lay pjaxlink">Kylin Document Writing Specification</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -8884,6 +8930,8 @@ var _hmt = _hmt || []; + + <li class="navlist"> <a href="/development/howto_hbase_branches.html" class="list-group-item-lay pjaxlink">How to Maintain Hadoop/HBase Branches</a></li> @@ -8940,6 +8988,8 @@ var _hmt = _hmt || []; + + <li class="navlist"> <a href="/development/howto_release.html" class="list-group-item-lay pjaxlink">How to Make Release</a></li> @@ -9012,6 +9062,8 @@ var _hmt = _hmt || []; + + <li class="navlist"> <a href="/development/plugin_arch.html" class="list-group-item-lay pjaxlink">Plugin Architecture</a></li> @@ -9080,6 +9132,8 @@ var _hmt = _hmt || []; + + <li class="navlist"> <a href="/development/new_metadata.html" class="list-group-item-lay pjaxlink">New Metadata Model</a></li> @@ -9097,6 +9151,8 @@ var _hmt = _hmt || []; + + Modified: kylin/site/development/datasource_sdk.html URL: http://svn.apache.org/viewvc/kylin/site/development/datasource_sdk.html?rev=1881142&r1=1881141&r2=1881142&view=diff ============================================================================== --- kylin/site/development/datasource_sdk.html (original) +++ kylin/site/development/datasource_sdk.html Mon Aug 24 14:09:05 2020 @@ -8418,7 +8418,7 @@ var _hmt = _hmt || []; <p>Structure of the configuration:</p> <ul> - <li>Root node:</li> + <li><strong>Root node:</strong></li> </ul> <div class="highlighter-rouge"><pre class="highlight"><code><DATASOURCE_DEF NAME="kylin" ID="mysql" DIALECT="mysql"/> @@ -8429,6 +8429,7 @@ var _hmt = _hmt || []; The value of DIALECT is defined mainly for quote string for database identifier. <br /> For example Mysql use ``, Microsoft sql server use []. <br /> Mapping of Kylin DIALECT and Apache Calcite Dialect as belows:</p> + <table> <tbody align="left"> <tr> @@ -8491,7 +8492,7 @@ Mapping of Kylin DIALECT and Apache Calc </table> <ul> - <li>Property node: <br /> + <li><strong>Property node:</strong><br /> Define the properties of the dialect.</li> </ul> @@ -8549,7 +8550,7 @@ Define the properties of the dialect.</l </table> <ul> - <li>Function node: <br /> + <li><strong>Function node:</strong><br /> Developers can define the functions implementation in target data source dialect. <br /> For example, we want to implement Greenplum as data source, but Greenplum does not support function such as <em>TIMESTAMPDIFF</em>, so we can define in <em>greenplum.xml</em></li> </ul> @@ -8567,7 +8568,7 @@ For example, we want to implement Greenp <p><em>Data source SDK</em> provides conversion functions from default to target dialect with same function id.</p> <ul> - <li>Type node: <br /> + <li><strong>Type node:</strong><br /> Developers can define the types implementation in target data source dialect.<br /> Also take Greenplum as example, Greenplum support <em>BIGINT</em> instead of <em>LONG</em>, so we can define in <em>greenplum.xml</em></li> </ul> @@ -8619,7 +8620,7 @@ kylin.source.jdbc.driver=com.mysql.jdbc. <p>Put the configuration file <em>{dialect}.xml</em> under directory $KYLIN_HOME/conf/datasource.<br /> Create jar file for the new Adaptor, and put under directory $KYLIN_HOME/ext.</p> -<p>Other configurations are identical with the former jdbc connection, please refer to <a href="/docs/tutorial/setup_jdbc_datasource.html">setup_jdbc_datasource</a></p> +<p>Other configurations are identical with the former jdbc connection, please refer to <a href="/docs/tutorial/setup_jdbc_datasource.html">setup_jdbc_datasource</a>.</p> </article> @@ -8715,6 +8716,8 @@ Create jar file for the new Adaptor, and + + <li class="navlist"> <a href="/development/index.html" class="list-group-item-lay pjaxlink">Development Quick Guide</a></li> @@ -8827,6 +8830,8 @@ Create jar file for the new Adaptor, and + + <li class="navlist"> <a href="/development/howto_test.html" class="list-group-item-lay pjaxlink">How to Test</a></li> @@ -8867,6 +8872,8 @@ Create jar file for the new Adaptor, and + + <li class="navlist"> <a href="/development/howto_contribute.html" class="list-group-item-lay pjaxlink">How to Contribute</a></li> @@ -8903,6 +8910,8 @@ Create jar file for the new Adaptor, and + + <li class="navlist"> <a href="/development/howto_become_apache_committer.html" class="list-group-item-lay pjaxlink">How to become an Apache Committer</a></li> @@ -8947,6 +8956,8 @@ Create jar file for the new Adaptor, and + + <li class="navlist"> <a href="/development/howto_docs.html" class="list-group-item-lay pjaxlink">How to Write Document</a></li> @@ -8981,6 +8992,42 @@ Create jar file for the new Adaptor, and + <li class="navlist"> + <a href="/development/doc_spec.html" class="list-group-item-lay pjaxlink">Kylin Document Writing Specification</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -9047,6 +9094,8 @@ Create jar file for the new Adaptor, and + + <li class="navlist"> <a href="/development/howto_hbase_branches.html" class="list-group-item-lay pjaxlink">How to Maintain Hadoop/HBase Branches</a></li> @@ -9103,6 +9152,8 @@ Create jar file for the new Adaptor, and + + <li class="navlist"> <a href="/development/howto_release.html" class="list-group-item-lay pjaxlink">How to Make Release</a></li> @@ -9175,6 +9226,8 @@ Create jar file for the new Adaptor, and + + <li class="navlist"> <a href="/development/plugin_arch.html" class="list-group-item-lay pjaxlink">Plugin Architecture</a></li> @@ -9243,6 +9296,8 @@ Create jar file for the new Adaptor, and + + <li class="navlist"> <a href="/development/new_metadata.html" class="list-group-item-lay pjaxlink">New Metadata Model</a></li> @@ -9260,6 +9315,8 @@ Create jar file for the new Adaptor, and + + Modified: kylin/site/development/dev_env.html URL: http://svn.apache.org/viewvc/kylin/site/development/dev_env.html?rev=1881142&r1=1881141&r2=1881142&view=diff ============================================================================== --- kylin/site/development/dev_env.html (original) +++ kylin/site/development/dev_env.html Mon Aug 24 14:09:05 2020 @@ -8693,6 +8693,8 @@ limitations under the License.</code></p + + <li class="navlist"> <a href="/development/index.html" class="list-group-item-lay pjaxlink">Development Quick Guide</a></li> @@ -8805,6 +8807,8 @@ limitations under the License.</code></p + + <li class="navlist"> <a href="/development/howto_test.html" class="list-group-item-lay pjaxlink">How to Test</a></li> @@ -8845,6 +8849,8 @@ limitations under the License.</code></p + + <li class="navlist"> <a href="/development/howto_contribute.html" class="list-group-item-lay pjaxlink">How to Contribute</a></li> @@ -8881,6 +8887,8 @@ limitations under the License.</code></p + + <li class="navlist"> <a href="/development/howto_become_apache_committer.html" class="list-group-item-lay pjaxlink">How to become an Apache Committer</a></li> @@ -8925,6 +8933,8 @@ limitations under the License.</code></p + + <li class="navlist"> <a href="/development/howto_docs.html" class="list-group-item-lay pjaxlink">How to Write Document</a></li> @@ -8959,6 +8969,42 @@ limitations under the License.</code></p + <li class="navlist"> + <a href="/development/doc_spec.html" class="list-group-item-lay pjaxlink">Kylin Document Writing Specification</a></li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -9025,6 +9071,8 @@ limitations under the License.</code></p + + <li class="navlist"> <a href="/development/howto_hbase_branches.html" class="list-group-item-lay pjaxlink">How to Maintain Hadoop/HBase Branches</a></li> @@ -9081,6 +9129,8 @@ limitations under the License.</code></p + + <li class="navlist"> <a href="/development/howto_release.html" class="list-group-item-lay pjaxlink">How to Make Release</a></li> @@ -9153,6 +9203,8 @@ limitations under the License.</code></p + + <li class="navlist"> <a href="/development/plugin_arch.html" class="list-group-item-lay pjaxlink">Plugin Architecture</a></li> @@ -9221,6 +9273,8 @@ limitations under the License.</code></p + + <li class="navlist"> <a href="/development/new_metadata.html" class="list-group-item-lay pjaxlink">New Metadata Model</a></li> @@ -9238,6 +9292,8 @@ limitations under the License.</code></p + +