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/08/22 14:10:08 UTC
svn commit: r1838640 [3/7] - in /kylin/site: ./ cn/ cn/community/
cn/development/ cn/docs/ cn/docs/howto/ cn/docs/install/ cn/docs/tutorial/
cn/docs16/ cn/docs16/install/ cn/docs16/tutorial/ cn/docs20/
cn/docs20/install/ cn/docs20/tutorial/ cn/docs21/ ...
Added: kylin/site/cn/development/howto_docs.html
URL: http://svn.apache.org/viewvc/kylin/site/cn/development/howto_docs.html?rev=1838640&view=auto
==============================================================================
--- kylin/site/cn/development/howto_docs.html (added)
+++ kylin/site/cn/development/howto_docs.html Wed Aug 22 14:10:06 2018
@@ -0,0 +1,998 @@
+<!--
+* Licensed to the Apache Software Foundation (ASF) under one
+* or more contributor license agreements. See the NOTICE file
+* distributed with this work for additional information
+* regarding copyright ownership. The ASF licenses this file
+* to you under the Apache License, Version 2.0 (the
+* "License"); you may not use this file except in compliance
+* with the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+-->
+
+<!doctype html>
+<html>
+ <!--
+* Licensed to the Apache Software Foundation (ASF) under one
+* or more contributor license agreements. See the NOTICE file
+* distributed with this work for additional information
+* regarding copyright ownership. The ASF licenses this file
+* to you under the Apache License, Version 2.0 (the
+* "License"); you may not use this file except in compliance
+* with the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+-->
+
+<head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+
+ <title>Apache Kylin | å¦ä½åææ¡£</title>
+ <meta name="description" content="Apache Kylin Home">
+ <meta name="author" content="Apache Kylin">
+ <link rel="shortcut icon" href="fav.png" type="image/png">
+
+
+
+<link rel="stylesheet" href="/assets/css/animate.css">
+<!-- Bootstrap -->
+<link rel="stylesheet" href="/assets/css/bootstrap.min.css">
+
+<!-- Fonts -->
+<!-- <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Alice|Open+Sans:400,300,700"> -->
+
+<!-- Icons -->
+<link rel="stylesheet" href="/assets/css/font-awesome.min.css">
+
+ <!-- Custom styles -->
+ <link rel="stylesheet" href="/assets/css/styles.css">
+ <link rel="stylesheet" href="/assets/css/docs.css">
+
+ <link rel="canonical" href="http://kylin.apache.org/cn/development/howto_docs.html">
+ <link rel="alternate" type="application/rss+xml" title="Apache Kylin" href="http://kylin.apache.org/feed.xml" />
+
+<!--[if lt IE 9]> <script src="assets/js/html5shiv.js"></script> <![endif]-->
+<!-- Global site tag (gtag.js) - Google Analytics -->
+<script async src="https://www.googletagmanager.com/gtag/js?id=UA-120788561-1"></script>
+<script>
+ window.dataLayer = window.dataLayer || [];
+ function gtag(){dataLayer.push(arguments);}
+ gtag('js', new Date());
+
+ gtag('config', 'UA-120788561-1');
+</script>
+<script type="text/javascript" src="/assets/js/jquery-1.9.1.min.js"></script>
+<script type="text/javascript" src="/assets/js/nside.js"></script> </script>
+<script type="text/javascript" src="/assets/js/nnav.js"></script> </script>
+<script>
+var _hmt = _hmt || [];
+(function() {
+ var hm = document.createElement("script");
+ hm.src = "https://hm.baidu.com/hm.js?bdc5e03add430c0b72cc0eb91eabfa99";
+ var s = document.getElementsByTagName("script")[0];
+ s.parentNode.insertBefore(hm, s);
+})();
+</script>
+</head>
+
+ <body>
+ <!--
+* Licensed to the Apache Software Foundation (ASF) under one
+* or more contributor license agreements. See the NOTICE file
+* distributed with this work for additional information
+* regarding copyright ownership. The ASF licenses this file
+* to you under the Apache License, Version 2.0 (the
+* "License"); you may not use this file except in compliance
+* with the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+-->
+
+<header id="header" >
+ <!-- Main Menu -->
+ <nav class="navbar navbar-default" role="navigation" id="nav-wrapper">
+ <div class="container-fluid" id="nav">
+ <!-- Brand and toggle get grouped for better mobile display -->
+ <div class="navbar-header">
+ <img class="navbar-logo" width="46" src="/assets/images/kylin_logo.png "></img>
+
+ <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
+ <span class="sr-only">Toggle navigation</span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+ <ul class="nav icon-navbar">
+ <li><a href="https://twitter.com/apachekylin" target="_blank" class="fa fa-twitter fa-lg" title="Twitter: @ApacheKylin" ></a></li>
+ <li><a href="https://github.com/apache/kylin" target="_blank" class="fa fa-github-alt fa-lg" title="Github: apache/kylin" ></a></li>
+ <li><a href="https://www.facebook.com/kylinio" target="_blank" class="fa fa-facebook fa-lg" title="Facebook: kylin.io" ></a></li>
+ </ul>
+ </div>
+
+ <!-- Collect the nav links, forms, and other content for toggling -->
+ <div class="navbar-collapse" id="bs-example-navbar-collapse-1">
+ <ul class="nav navbar-nav">
+ <li><a href="/cn">é¦é¡µ</a></li>
+ <li><a href="/cn/docs" >ææ¡£</a></li>
+ <li><a href="/cn/download">ä¸è½½</a></li>
+ <li><a href="/cn/community" >社åº</a></li>
+ <li><a href="/cn/development" >å¼å</a></li>
+ <li><a href="/blog">å客</a></li>
+ <li><a href="/" >English</a></li>
+ </ul>
+
+
+ </div><!-- /.navbar-collapse -->
+ </div><!-- /.container-fluid -->
+ </nav>
+
+ <div id="head" class="parallax normal-header" >
+ <div class="text-center header-apache">
+ <a href="http://apache.org/foundation/contributing.html" title="Support Apache" style="margin-left: 150px;">
+ <div>
+ <img src="https://www.apache.org/images/SupportApache-small.png">
+ </div>
+ </a>
+ </div>
+ </div>
+
+ </header>
+
+
+ <div class="container">
+ <div class="row" style="clear:both;">
+
+ <div class="col-md-8 col-lg-8 col-xs-12 col-sm-12 aside2" style="float: right;">
+ <div id="container" class="docs">
+ <div id="pjax">
+ <h1 class="post-title">å¦ä½åææ¡£</h1>
+ <article class="post-content" >
+ <p>æ们以 MD æ ¼å¼ç¼åææ¡£å¹¶ä½¿ç¨ <a href="http://jekyllrb.com">Jekyll</a> 转æ¢ä¸º HTMLãJekyll çæç HTML ä¸ä¼ å° apache SVN 并æ为 Kylin ç½ç«ãææ MD æºæ件é½å¨ git ä¸ç®¡çï¼å æ¤å¯ä»¥æ¸
æ¥å°è·è¸ªæææ´æ¹åè´¡ç®è
ã</p>
+
+<h2 id="section">å·¥ä½å</h2>
+
+<p>å¨æ¨æ·»å æä¿®æ¹ææ¡£å请å®è£
以ä¸å·¥å
·ï¼</p>
+
+<ol>
+ <li>é¦å
ï¼ç¡®ä¿ Ruby å Gem è½å¨æ¨çæºå¨ä¸å·¥ä½
+ <ul>
+ <li>å¯¹äº Mac ç¨æ·ï¼è¯·åè<a href="https://github.com/sstephenson/rbenv#homebrew-on-mac-os-x">è¿ä¸ª</a>æ¥æ建 ruby ç¯å¢ã</li>
+ <li>å¯¹äº Windows ç¨æ·ï¼ä½¿ç¨ <a href="http://rubyinstaller.org/downloads/">ruby installer</a>ã</li>
+ <li>å¯¹äº China ç¨æ·ï¼èè使ç¨ä¸ä¸ª<a href="https://ruby.taobao.org/">æ¬å° gem ä»åº</a>以é²æ¢ç½ç»é®é¢ã</li>
+ </ul>
+ </li>
+ <li>ç¶åï¼å®è£
<a href="http://jekyllrb.com">Jekyll</a>ï¼ä»¥åéè¦çæ件
+ <ul>
+ <li><code class="highlighter-rouge">gem install jekyll jekyll-multiple-languages kramdown rouge</code></li>
+ <li><strong>注æ</strong>ï¼ä¸äºç¹å®ç jekyll å jekyll-multiple-languages çæ¬ä¸è½ä¸èµ·ä½¿ç¨ï¼ä½¿ç¨ jekyll 3.0.1 å jekyll-multiple-languages 2.0.3 æ¶æéå°ä¸ä¸ª âundefined methodâ é误)ãè¿ç§æ
åµä¸ï¼<code class="highlighter-rouge">jekyll 2.5.3</code> å <code class="highlighter-rouge">jekyll-multiple-languages 1.0.8</code> æ¯å·²ç¥å¯è¿è¡ççæ¬ã
+ <ul>
+ <li>ä¾å¦. ä½¿ç¨ <code class="highlighter-rouge">gem install jekyll --version "=2.5.3"</code> æ¥å®è£
å
·ä½ççæ¬ã</li>
+ </ul>
+ </li>
+ <li><strong>注æ</strong>ï¼å¯¹äº Mac ç¨æ·ï¼å¦æ gem å®è£
æ¶éå°ç±»ä¼¼è¿æ ·çé误 âERROR: While executing gem ⦠(Gem::FilePermissionError)âãæ¨å¯ä»¥ä½¿ç¨ âbrew install rubyâ çæ¹å¼è§£å³è¿ä¸ªé®é¢ï¼ç¶åéå¯æ¨çç»ç«¯ã</li>
+ </ul>
+ </li>
+ <li>æ¨å¯ä»¥éæ©ä»»ä½ markdown ç¼è¾å¨</li>
+</ol>
+
+<p>ä¸é¢æ¯ä¸ä¸ªå¯ä»¥å·¥ä½ç gem å表ãå¦æ jekyll å®è£
æ为é®é¢ï¼è¯·åæ使ç¨è¿äºçæ¬ã</p>
+
+<div class="highlighter-rouge"><pre class="highlight"><code>$ gem list
+
+...
+jekyll (2.5.3)
+jekyll-coffeescript (1.0.1)
+jekyll-gist (1.4.0)
+jekyll-multiple-languages (1.0.8)
+jekyll-paginate (1.1.0)
+jekyll-sass-converter (1.4.0)
+jekyll-watch (1.3.1)
+json (1.8.1)
+kramdown (1.9.0)
+...
+rouge (1.10.1)
+...
+</code></pre>
+</div>
+
+<h2 id="docker-">ä½¿ç¨ Docker 为ææ¡£ç¼è¯</h2>
+
+<p>ææ°çç kylin åå¸æä¾äº dockerfileï¼æ¥åå°æ建å¤ææ§ä½¿ç¨ docker å Makefile è½è°ç¨ docker å½ä»¤ã</p>
+
+<div class="highlighter-rouge"><pre class="highlight"><code>$ pwd
+/Users/<username>/kylin/website
+$ make docker.build
+docker build -f Dockerfile -t kylin-document:latest .
+Sending build context to Docker daemon 82.44MB
+Step 1/3 : FROM jekyll/jekyll:2.5.3
+ ---> e81842c29599
+Step 2/3 : RUN gem install jekyll-multiple-languages -v 1.0.11
+ ---> Using cache
+ ---> e9e8b0f1d388
+Step 3/3 : RUN gem install rouge -v 3.0.0
+ ---> Using cache
+ ---> 1bd42c6b93c0
+Successfully built 1bd42c6b93c0
+Successfully tagged kylin-document:latest
+$ make runserver
+docker run --volume="/Users/<username>/kylin/website:/srv/jekyll" -p 4000:4000 --rm -it kylin-document:latest jekyll server --watch
+Configuration file: /srv/jekyll/_config.yml
+ Source: /srv/jekyll
+ Destination: /srv/jekyll/_site
+ Generating...
+...
+</code></pre>
+</div>
+
+<h2 id="jekyll">å
³äº Jekyll</h2>
+<p>Jekyll æ¯ä¸ä¸ªç¨äºä»æºææ¬å主é¢çæéæ HTML ç½ç«ç Ruby èæ¬ï¼HTML å¨é¨ç½²å° Web æå¡å¨ä¹åçæãJekyll æ°å¥½ä¹æ¯ GitHub 页é¢èåçå¼æã</p>
+
+<p>Apache Kylin çç½ç«åææ¡£ä½¿ç¨ Jekyll æ¥ç®¡çåçæï¼å¯å¨ <a href="http://kylin.apache.org">http://kylin.apache.org</a> ä¸çå°æç»å
容ã</p>
+
+<h2 id="multi-language">Multi-Language</h2>
+<p>è¦èæä¸æçææ¡£æç¿»è¯ç°æææ¡£ï¼åªéæ·»å æå¤å¶è¯¥ææ¡£ï¼å称以 .cn.md ä½ä¸ºåç¼ãå®å°å¨ /cn æ件夹ä¸çæä¸ html ååçæ件ã<br />
+è¦æ·»å å
¶ä»è¯è¨ï¼è¯·æ´æ° _config.yml 并éµå¾ªä¸ä¸æçç¸åç模å¼ã</p>
+
+<h1 id="kylin-">Kylin ææ¡£ç»æ以å导èªèå</h1>
+
+<p><a href="https://github.com/apache/kylin/tree/document/website">ä½ä¸º Jekyll æºç Kylin ç½ç«</a>æ¯å¨ <code class="highlighter-rouge">doucment</code> åæ¯ä¸ç»´æ¤çã</p>
+
+<ol>
+ <li><strong>Home Page</strong>ï¼<em>âindex.mdâ</em> ææ¡£ç主页</li>
+ <li><strong>Getting Started</strong>ï¼<em>âgettingstartedâ</em> çæ Apache Kylin çææ¡£ï¼å
æ¬ FAQï¼æ¯è¯</li>
+ <li><strong>Installation</strong>ï¼<em>âinstallâ</em> Apache Kylin å®è£
æå</li>
+ <li><strong>Tutorial</strong>ï¼<em>âtutorialâ</em> å
³äºç¨æ·å¦ä½ä½¿ç¨ Apache Kylin çæç¨</li>
+ <li><strong>How To</strong>ï¼<em>âhowtoâ</em> æ´ç»èç帮å©æå</li>
+ <li><strong>Development</strong>ï¼<em>âdevelopmentâ</em> 为äºå¼åè
è´¡ç®ï¼éæå
¶å®åºç¨åæ©å± Apache Kylin</li>
+ <li><strong>Others</strong>ï¼å
¶å®ææ¡£ã</li>
+</ol>
+
+<p>èåç± Jekyll éå管çï¼</p>
+
+<ul>
+ <li><strong>_data/docs.yml</strong>ï¼è±æçæ¬èåç»æ</li>
+ <li><strong>_data/docs-cn.yml</strong>ï¼ä¸æçæ¬èåç»æ</li>
+ <li><strong>add new menu item</strong>ï¼æ·»å æ°çæ¡ç®ï¼å¨ç¸å
³æ件夹ä¸å建æ°ææ¡£ï¼ä¾å¦ howto_example.mdãæ·»å å¦ä¸çåæ è®°ï¼</li>
+</ul>
+
+<div class="highlighter-rouge"><pre class="highlight"><code>---
+layout: docs
+title: How to expamle
+categories: howto
+permalink: /docs/howto/howto_example.html
+version: v0.7.2
+since: v0.7.2
+---
+</code></pre>
+</div>
+
+<p>å°é¾æ¥æ´æ¹ä¸ºå®å
¨é¾æ¥<br />
+ç¶åå°æ¡ç®æ·»å å° docs.ymlï¼å¦ï¼</p>
+
+<div class="highlighter-rouge"><pre class="highlight"><code>- title: How To
+ docs:
+ - howto/howto_contribute
+ - howto/howto_jdbc
+ - howto/howto_example
+</code></pre>
+</div>
+
+<h1 id="section-1">å¦ä½ç¼åææ¡£</h1>
+<p>使ç¨ä»»ä½ markdown ç¼è¾å¨æå¼ææ¡£ï¼èæå
容并å¨æ¬å°é¢è§ã</p>
+
+<p>æ ·ä¾ææ¡£ï¼</p>
+
+<div class="highlighter-rouge"><pre class="highlight"><code>---
+layout: docs
+title: How to example
+categories: howto
+permalink: /docs/howto/howto_example.html
+version: v0.7.2
+since: v0.7.2
+---
+
+## This is example doc
+The quick brown fox jump over the lazy dog.
+
+</code></pre>
+</div>
+
+<h1 id="section-2">å¦ä½æ·»å å¾ç</h1>
+<p>ææçå¾ç请æ¾å° <em>images</em> æ件夹ä¸ï¼å¨ä½ çæ件ä¸ï¼è¯·ä½¿ç¨ä»¥ä¸æ ·å¼å¼å
¥å¾çï¼</p>
+
+<div class="highlighter-rouge"><pre class="highlight"><code>![](/images/Kylin-Web-Tutorial/2 tables.png)
+
+</code></pre>
+</div>
+
+<h1 id="section-3">å¦ä½æ·»å è¿æ¥</h1>
+<p>使ç¨ç«ç¹é¾æ¥çç¸å¯¹è·¯å¾ï¼ä¾å¦</p>
+
+<div class="highlighter-rouge"><pre class="highlight"><code>[REST API](docs/development/rest_api.html).
+
+</code></pre>
+</div>
+
+<h1 id="section-4">å¦ä½æ·»å 代ç é«äº®</h1>
+<p>æä»¬ä½¿ç¨ <a href="https://github.com/jneen/rouge">Rouge</a> çªåºæ¾ç¤ºä»£ç è¯æ³ã<br />
+æ¥çæ¤ doc çæºä»£ç 以è·åæ´å¤è¯¦ç»ä¿¡æ¯ç¤ºä¾ã</p>
+
+<h1 id="section-5">å¦ä½å¨æ¬å°é¢è§</h1>
+<p>æ¨å¯ä»¥å¨ markdown ç¼è¾å¨ä¸é¢è§ï¼è¦æ£æ¥ç½ç«ä¸çç¡®åå
容ï¼è¯·ä» <code class="highlighter-rouge">website</code> æ件夹ä¸è¿è¡ Jekyllï¼</p>
+
+<div class="highlighter-rouge"><pre class="highlight"><code>jekyll server
+
+</code></pre>
+</div>
+<p>ç¶åå¨æµè§å¨ä¸è®¿é® http://127.0.0.1:4000ã</p>
+
+<h2 id="committer">å¦ä½åå¸å°ç½ç«ï¼åªéç¨äº committer)</h2>
+
+<h3 id="section-6">æ建</h3>
+
+<ol>
+ <li><code class="highlighter-rouge">cd website</code></li>
+ <li><code class="highlighter-rouge">svn co https://svn.apache.org/repos/asf/kylin/site _site</code></li>
+</ol>
+
+<p><strong>_site</strong> æ件夹æ¯å·¥ä½ç®å½ï¼å°ç± maven æ git éæ¶å é¤ï¼è¯·ç¡®ä¿åªæå½ä½ æ³è¦åå¸å°ç½ç«æ¶ä» svn æ£åºã</p>
+
+<h3 id="section-7">æ¬å°è¿è¡</h3>
+<p>å¨å建ä¸ä¸ª PR ææ¨éå° git ä»åºä¹åï¼æ¨å¯ä»¥éè¿ä»¥ä¸æ¹å¼å¨æ¬å°é¢è§æ´æ¹ï¼</p>
+
+<ol>
+ <li><code class="highlighter-rouge">cd website</code></li>
+ <li><code class="highlighter-rouge">jekyll s</code></li>
+ <li>å¨æ¨çæµè§å¨æå¼ <a href="http://127.0.0.1:4000">http://127.0.0.1:4000</a></li>
+</ol>
+
+<h3 id="section-8">æ¨å°ç½ç«</h3>
+
+<ol>
+ <li>æ·è´ jekyll çæç <code class="highlighter-rouge">_site</code> å° svn ç <code class="highlighter-rouge">website/_site</code></li>
+ <li><code class="highlighter-rouge">cd website/_site</code></li>
+ <li><code class="highlighter-rouge">svn status</code></li>
+ <li>æ¨éè¦ä½¿ç¨ <code class="highlighter-rouge">svn add</code> æ·»å ä»»ææ°çæ件</li>
+ <li><code class="highlighter-rouge">svn commit -m 'UPDATE MESSAGE'</code></li>
+</ol>
+
+<p>å¨å åéå
ï¼svnpubsub åºè¯¥å¼å§ä¸æ¨å°è½å¤å¨ <a href="http://kylin.apache.org/">http://kylin.apache.org</a> çå°ç»æã</p>
+
+
+ </article>
+ </div>
+ </div>
+ </div>
+ <!--
+* Licensed to the Apache Software Foundation (ASF) under one
+* or more contributor license agreements. See the NOTICE file
+* distributed with this work for additional information
+* regarding copyright ownership. The ASF licenses this file
+* to you under the Apache License, Version 2.0 (the
+* "License"); you may not use this file except in compliance
+* with the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+-->
+
+<div class="col-md-4 col-lg-4 col-xs-12 col-sm-12 aside1 visible-sm visible-xs visible-md visible-lg" id="nside1" style=" margin-top: 5em;float:right;">
+ <ul class="nav nav-pills nav-stacked">
+
+ <li><a href="#titleå¼åæå" data-toggle="collapse" class="navtitle">å¼åæå</a></li>
+ <div class="collapse in">
+ <div class="list-group" id="list1">
+ <ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class="navlist">
+ <a href="/cn/development/index.html" class="list-group-item-lay pjaxlink">å¼åå¿«éæå</a></li>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class="navlist">
+ <a href="/cn/development/dev_env.html" class="list-group-item-lay pjaxlink">æ建å¼åç¯å¢</a></li>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class="navlist">
+ <a href="/cn/development/coding_naming_convention.html" class="list-group-item-lay pjaxlink">ç¼ç åå½åæ¯ä¾</a></li>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class="navlist">
+ <a href="/cn/development/howto_test.html" class="list-group-item-lay pjaxlink">å¦ä½æµè¯</a></li>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class="navlist">
+ <a href="/cn/development/howto_contribute.html" class="list-group-item-lay pjaxlink">å¦ä½è´¡ç®</a></li>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class="navlist">
+ <a href="/cn/development/howto_docs.html" class="list-group-item-lay pjaxlink">å¦ä½åææ¡£</a></li>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class="navlist">
+ <a href="/cn/development/howto_package.html" class="list-group-item-lay pjaxlink">å¦ä½æäºè¿å¶å
</a></li>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class="navlist">
+ <a href="/cn/development/howto_hbase_branches.html" class="list-group-item-lay pjaxlink">å¦ä½ç»´æ¤ HBase åæ¯</a></li>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class="navlist">
+ <a href="/cn/development/howto_release.html" class="list-group-item-lay pjaxlink">å¦ä½åå¸</a></li>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class="navlist">
+ <a href="/cn/development/plugin_arch.html" class="list-group-item-lay pjaxlink">æ件æ¶æ</a></li>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class="navlist">
+ <a href="/cn/development/new_metadata.html" class="list-group-item-lay pjaxlink">æ°çå
æ°æ®æ¨¡å</a></li>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class="navlist">
+ <a href="/cn/development/web_tech.html" class="list-group-item-lay pjaxlink">Kylin Web æè¦</a></li>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class="navlist">
+ <a href="/cn/development/about_temp_files.html" class="list-group-item-lay pjaxlink">å
³äºä¸´æ¶æ件</a></li>
+
+
+
+
+
+
+ <ul>
+ </div>
+</div>
+
+
+ </ul>
+</div>
+ </div>
+ </div>
+ <!--
+* Licensed to the Apache Software Foundation (ASF) under one
+* or more contributor license agreements. See the NOTICE file
+* distributed with this work for additional information
+* regarding copyright ownership. The ASF licenses this file
+* to you under the Apache License, Version 2.0 (the
+* "License"); you may not use this file except in compliance
+* with the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+-->
+
+<footer id="underfooter">
+ <div>
+ <div class="row">
+ <div class="col-md-12 widget">
+ <div class="widget-body">
+ <div class="footer-img">
+ <a href="http://www.apache.org">
+ <img id="asf-logo" height="78px" alt="Apache Software Foundation" src="/assets/images/apache_footer.png">
+ </a>
+ </div>
+ <p style="padding-top: 11px;">
+ The contents of this website are © 2015 Apache Software Foundation under the terms of the
+ <a href="http://www.apache.org/licenses/LICENSE-2.0"> Apache License v2 </a>.
+ </p>
+ <p style="margin-bottom: 11px;">
+ Apache Kylin and its logo are trademarks of the Apache Software Foundation.
+ </div>
+
+ </div>
+ </div>
+ </div>
+ <!-- /row of widgets -->
+
+ </div>
+ <div></div>
+
+</footer>
+
+ <script src="/assets/js/jquery-1.9.1.min.js"></script>
+ <script src="/assets/js/bootstrap.min.js"></script>
+ <script src="/assets/js/main.js"></script>
+ </body>
+</html>
Added: kylin/site/cn/development/howto_hbase_branches.html
URL: http://svn.apache.org/viewvc/kylin/site/cn/development/howto_hbase_branches.html?rev=1838640&view=auto
==============================================================================
--- kylin/site/cn/development/howto_hbase_branches.html (added)
+++ kylin/site/cn/development/howto_hbase_branches.html Wed Aug 22 14:10:06 2018
@@ -0,0 +1,802 @@
+<!--
+* Licensed to the Apache Software Foundation (ASF) under one
+* or more contributor license agreements. See the NOTICE file
+* distributed with this work for additional information
+* regarding copyright ownership. The ASF licenses this file
+* to you under the Apache License, Version 2.0 (the
+* "License"); you may not use this file except in compliance
+* with the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+-->
+
+<!doctype html>
+<html>
+ <!--
+* Licensed to the Apache Software Foundation (ASF) under one
+* or more contributor license agreements. See the NOTICE file
+* distributed with this work for additional information
+* regarding copyright ownership. The ASF licenses this file
+* to you under the Apache License, Version 2.0 (the
+* "License"); you may not use this file except in compliance
+* with the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+-->
+
+<head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+
+ <title>Apache Kylin | å¦ä½ç»´æ¤ HBase åæ¯</title>
+ <meta name="description" content="Apache Kylin Home">
+ <meta name="author" content="Apache Kylin">
+ <link rel="shortcut icon" href="fav.png" type="image/png">
+
+
+
+<link rel="stylesheet" href="/assets/css/animate.css">
+<!-- Bootstrap -->
+<link rel="stylesheet" href="/assets/css/bootstrap.min.css">
+
+<!-- Fonts -->
+<!-- <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Alice|Open+Sans:400,300,700"> -->
+
+<!-- Icons -->
+<link rel="stylesheet" href="/assets/css/font-awesome.min.css">
+
+ <!-- Custom styles -->
+ <link rel="stylesheet" href="/assets/css/styles.css">
+ <link rel="stylesheet" href="/assets/css/docs.css">
+
+ <link rel="canonical" href="http://kylin.apache.org/cn/development/howto_hbase_branches.html">
+ <link rel="alternate" type="application/rss+xml" title="Apache Kylin" href="http://kylin.apache.org/feed.xml" />
+
+<!--[if lt IE 9]> <script src="assets/js/html5shiv.js"></script> <![endif]-->
+<!-- Global site tag (gtag.js) - Google Analytics -->
+<script async src="https://www.googletagmanager.com/gtag/js?id=UA-120788561-1"></script>
+<script>
+ window.dataLayer = window.dataLayer || [];
+ function gtag(){dataLayer.push(arguments);}
+ gtag('js', new Date());
+
+ gtag('config', 'UA-120788561-1');
+</script>
+<script type="text/javascript" src="/assets/js/jquery-1.9.1.min.js"></script>
+<script type="text/javascript" src="/assets/js/nside.js"></script> </script>
+<script type="text/javascript" src="/assets/js/nnav.js"></script> </script>
+<script>
+var _hmt = _hmt || [];
+(function() {
+ var hm = document.createElement("script");
+ hm.src = "https://hm.baidu.com/hm.js?bdc5e03add430c0b72cc0eb91eabfa99";
+ var s = document.getElementsByTagName("script")[0];
+ s.parentNode.insertBefore(hm, s);
+})();
+</script>
+</head>
+
+ <body>
+ <!--
+* Licensed to the Apache Software Foundation (ASF) under one
+* or more contributor license agreements. See the NOTICE file
+* distributed with this work for additional information
+* regarding copyright ownership. The ASF licenses this file
+* to you under the Apache License, Version 2.0 (the
+* "License"); you may not use this file except in compliance
+* with the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+-->
+
+<header id="header" >
+ <!-- Main Menu -->
+ <nav class="navbar navbar-default" role="navigation" id="nav-wrapper">
+ <div class="container-fluid" id="nav">
+ <!-- Brand and toggle get grouped for better mobile display -->
+ <div class="navbar-header">
+ <img class="navbar-logo" width="46" src="/assets/images/kylin_logo.png "></img>
+
+ <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
+ <span class="sr-only">Toggle navigation</span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+ <ul class="nav icon-navbar">
+ <li><a href="https://twitter.com/apachekylin" target="_blank" class="fa fa-twitter fa-lg" title="Twitter: @ApacheKylin" ></a></li>
+ <li><a href="https://github.com/apache/kylin" target="_blank" class="fa fa-github-alt fa-lg" title="Github: apache/kylin" ></a></li>
+ <li><a href="https://www.facebook.com/kylinio" target="_blank" class="fa fa-facebook fa-lg" title="Facebook: kylin.io" ></a></li>
+ </ul>
+ </div>
+
+ <!-- Collect the nav links, forms, and other content for toggling -->
+ <div class="navbar-collapse" id="bs-example-navbar-collapse-1">
+ <ul class="nav navbar-nav">
+ <li><a href="/cn">é¦é¡µ</a></li>
+ <li><a href="/cn/docs" >ææ¡£</a></li>
+ <li><a href="/cn/download">ä¸è½½</a></li>
+ <li><a href="/cn/community" >社åº</a></li>
+ <li><a href="/cn/development" >å¼å</a></li>
+ <li><a href="/blog">å客</a></li>
+ <li><a href="/" >English</a></li>
+ </ul>
+
+
+ </div><!-- /.navbar-collapse -->
+ </div><!-- /.container-fluid -->
+ </nav>
+
+ <div id="head" class="parallax normal-header" >
+ <div class="text-center header-apache">
+ <a href="http://apache.org/foundation/contributing.html" title="Support Apache" style="margin-left: 150px;">
+ <div>
+ <img src="https://www.apache.org/images/SupportApache-small.png">
+ </div>
+ </a>
+ </div>
+ </div>
+
+ </header>
+
+
+ <div class="container">
+ <div class="row" style="clear:both;">
+
+ <div class="col-md-8 col-lg-8 col-xs-12 col-sm-12 aside2" style="float: right;">
+ <div id="container" class="docs">
+ <div id="pjax">
+ <h1 class="post-title">å¦ä½ç»´æ¤ HBase åæ¯</h1>
+ <article class="post-content" >
+ <h3 id="kylin--hbase-">Kylin ä¸åçæ¬ç HBase åæ¯</h3>
+
+<p>å 为 HBase API åºäºçæ¬åä¾åºåçä¸åï¼å æ¤å¿
é¡»é对ä¸åç HBase çæ¬ç»´æ¤ä¸åç代ç åæ¯ã</p>
+
+<p>åæ¯è®¾è®¡ä¸º</p>
+
+<ul>
+ <li><code class="highlighter-rouge">master</code> åæ¯ç¼è¯çæ¯ HBase 0.98ï¼ä¹æ¯å¼åç主è¦åæ¯ã ææé误修å¤åæ°åè½ä»
æäº¤ç» <code class="highlighter-rouge">master</code>ã</li>
+ <li><code class="highlighter-rouge">master-hbase1.x</code> åæ¯ç¼è¯çæ¯ HBase 1.xãéè¿å¨ <code class="highlighter-rouge">master</code> ä¸åºç¨ä¸ä¸ª patch æ¥å建æ¤åæ¯ãæ¢å¥è¯è¯´ï¼<code class="highlighter-rouge">master-hbase1.x</code> = <code class="highlighter-rouge">master</code> + <code class="highlighter-rouge">a patch to support HBase 1.x</code>.</li>
+ <li>åæ ·çï¼æ <code class="highlighter-rouge">master-cdh5.7</code> = <code class="highlighter-rouge">master-hbase1.x</code> + <code class="highlighter-rouge">a patch to support CDH 5.7</code>ã</li>
+ <li>å¨ <code class="highlighter-rouge">master-hbase1.x</code> å <code class="highlighter-rouge">master-cdh5.7</code> ä¸ä¸ä¼ç´æ¥åç代ç æ´æ¹ï¼é¤éåæ¯ä¸æåä¸æ¬¡æ交éç¨äº HBase è°ç¨)ã</li>
+</ul>
+
+<p>æä¸ä¸ªèæ¬æå©äºä¿æè¿äºåæ¯åæ¥ï¼<code class="highlighter-rouge">dev-support/sync_hbase_cdh_branches.sh</code>ã</p>
+
+
+ </article>
+ </div>
+ </div>
+ </div>
+ <!--
+* Licensed to the Apache Software Foundation (ASF) under one
+* or more contributor license agreements. See the NOTICE file
+* distributed with this work for additional information
+* regarding copyright ownership. The ASF licenses this file
+* to you under the Apache License, Version 2.0 (the
+* "License"); you may not use this file except in compliance
+* with the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+-->
+
+<div class="col-md-4 col-lg-4 col-xs-12 col-sm-12 aside1 visible-sm visible-xs visible-md visible-lg" id="nside1" style=" margin-top: 5em;float:right;">
+ <ul class="nav nav-pills nav-stacked">
+
+ <li><a href="#titleå¼åæå" data-toggle="collapse" class="navtitle">å¼åæå</a></li>
+ <div class="collapse in">
+ <div class="list-group" id="list1">
+ <ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class="navlist">
+ <a href="/cn/development/index.html" class="list-group-item-lay pjaxlink">å¼åå¿«éæå</a></li>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class="navlist">
+ <a href="/cn/development/dev_env.html" class="list-group-item-lay pjaxlink">æ建å¼åç¯å¢</a></li>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class="navlist">
+ <a href="/cn/development/coding_naming_convention.html" class="list-group-item-lay pjaxlink">ç¼ç åå½åæ¯ä¾</a></li>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class="navlist">
+ <a href="/cn/development/howto_test.html" class="list-group-item-lay pjaxlink">å¦ä½æµè¯</a></li>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class="navlist">
+ <a href="/cn/development/howto_contribute.html" class="list-group-item-lay pjaxlink">å¦ä½è´¡ç®</a></li>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class="navlist">
+ <a href="/cn/development/howto_docs.html" class="list-group-item-lay pjaxlink">å¦ä½åææ¡£</a></li>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class="navlist">
+ <a href="/cn/development/howto_package.html" class="list-group-item-lay pjaxlink">å¦ä½æäºè¿å¶å
</a></li>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class="navlist">
+ <a href="/cn/development/howto_hbase_branches.html" class="list-group-item-lay pjaxlink">å¦ä½ç»´æ¤ HBase åæ¯</a></li>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class="navlist">
+ <a href="/cn/development/howto_release.html" class="list-group-item-lay pjaxlink">å¦ä½åå¸</a></li>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class="navlist">
+ <a href="/cn/development/plugin_arch.html" class="list-group-item-lay pjaxlink">æ件æ¶æ</a></li>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class="navlist">
+ <a href="/cn/development/new_metadata.html" class="list-group-item-lay pjaxlink">æ°çå
æ°æ®æ¨¡å</a></li>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class="navlist">
+ <a href="/cn/development/web_tech.html" class="list-group-item-lay pjaxlink">Kylin Web æè¦</a></li>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class="navlist">
+ <a href="/cn/development/about_temp_files.html" class="list-group-item-lay pjaxlink">å
³äºä¸´æ¶æ件</a></li>
+
+
+
+
+
+
+ <ul>
+ </div>
+</div>
+
+
+ </ul>
+</div>
+ </div>
+ </div>
+ <!--
+* Licensed to the Apache Software Foundation (ASF) under one
+* or more contributor license agreements. See the NOTICE file
+* distributed with this work for additional information
+* regarding copyright ownership. The ASF licenses this file
+* to you under the Apache License, Version 2.0 (the
+* "License"); you may not use this file except in compliance
+* with the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+-->
+
+<footer id="underfooter">
+ <div>
+ <div class="row">
+ <div class="col-md-12 widget">
+ <div class="widget-body">
+ <div class="footer-img">
+ <a href="http://www.apache.org">
+ <img id="asf-logo" height="78px" alt="Apache Software Foundation" src="/assets/images/apache_footer.png">
+ </a>
+ </div>
+ <p style="padding-top: 11px;">
+ The contents of this website are © 2015 Apache Software Foundation under the terms of the
+ <a href="http://www.apache.org/licenses/LICENSE-2.0"> Apache License v2 </a>.
+ </p>
+ <p style="margin-bottom: 11px;">
+ Apache Kylin and its logo are trademarks of the Apache Software Foundation.
+ </div>
+
+ </div>
+ </div>
+ </div>
+ <!-- /row of widgets -->
+
+ </div>
+ <div></div>
+
+</footer>
+
+ <script src="/assets/js/jquery-1.9.1.min.js"></script>
+ <script src="/assets/js/bootstrap.min.js"></script>
+ <script src="/assets/js/main.js"></script>
+ </body>
+</html>
Added: kylin/site/cn/development/howto_package.html
URL: http://svn.apache.org/viewvc/kylin/site/cn/development/howto_package.html?rev=1838640&view=auto
==============================================================================
--- kylin/site/cn/development/howto_package.html (added)
+++ kylin/site/cn/development/howto_package.html Wed Aug 22 14:10:06 2018
@@ -0,0 +1,819 @@
+<!--
+* Licensed to the Apache Software Foundation (ASF) under one
+* or more contributor license agreements. See the NOTICE file
+* distributed with this work for additional information
+* regarding copyright ownership. The ASF licenses this file
+* to you under the Apache License, Version 2.0 (the
+* "License"); you may not use this file except in compliance
+* with the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+-->
+
+<!doctype html>
+<html>
+ <!--
+* Licensed to the Apache Software Foundation (ASF) under one
+* or more contributor license agreements. See the NOTICE file
+* distributed with this work for additional information
+* regarding copyright ownership. The ASF licenses this file
+* to you under the Apache License, Version 2.0 (the
+* "License"); you may not use this file except in compliance
+* with the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+-->
+
+<head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+
+ <title>Apache Kylin | å¦ä½æäºè¿å¶å
</title>
+ <meta name="description" content="Apache Kylin Home">
+ <meta name="author" content="Apache Kylin">
+ <link rel="shortcut icon" href="fav.png" type="image/png">
+
+
+
+<link rel="stylesheet" href="/assets/css/animate.css">
+<!-- Bootstrap -->
+<link rel="stylesheet" href="/assets/css/bootstrap.min.css">
+
+<!-- Fonts -->
+<!-- <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Alice|Open+Sans:400,300,700"> -->
+
+<!-- Icons -->
+<link rel="stylesheet" href="/assets/css/font-awesome.min.css">
+
+ <!-- Custom styles -->
+ <link rel="stylesheet" href="/assets/css/styles.css">
+ <link rel="stylesheet" href="/assets/css/docs.css">
+
+ <link rel="canonical" href="http://kylin.apache.org/cn/development/howto_package.html">
+ <link rel="alternate" type="application/rss+xml" title="Apache Kylin" href="http://kylin.apache.org/feed.xml" />
+
+<!--[if lt IE 9]> <script src="assets/js/html5shiv.js"></script> <![endif]-->
+<!-- Global site tag (gtag.js) - Google Analytics -->
+<script async src="https://www.googletagmanager.com/gtag/js?id=UA-120788561-1"></script>
+<script>
+ window.dataLayer = window.dataLayer || [];
+ function gtag(){dataLayer.push(arguments);}
+ gtag('js', new Date());
+
+ gtag('config', 'UA-120788561-1');
+</script>
+<script type="text/javascript" src="/assets/js/jquery-1.9.1.min.js"></script>
+<script type="text/javascript" src="/assets/js/nside.js"></script> </script>
+<script type="text/javascript" src="/assets/js/nnav.js"></script> </script>
+<script>
+var _hmt = _hmt || [];
+(function() {
+ var hm = document.createElement("script");
+ hm.src = "https://hm.baidu.com/hm.js?bdc5e03add430c0b72cc0eb91eabfa99";
+ var s = document.getElementsByTagName("script")[0];
+ s.parentNode.insertBefore(hm, s);
+})();
+</script>
+</head>
+
+ <body>
+ <!--
+* Licensed to the Apache Software Foundation (ASF) under one
+* or more contributor license agreements. See the NOTICE file
+* distributed with this work for additional information
+* regarding copyright ownership. The ASF licenses this file
+* to you under the Apache License, Version 2.0 (the
+* "License"); you may not use this file except in compliance
+* with the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+-->
+
+<header id="header" >
+ <!-- Main Menu -->
+ <nav class="navbar navbar-default" role="navigation" id="nav-wrapper">
+ <div class="container-fluid" id="nav">
+ <!-- Brand and toggle get grouped for better mobile display -->
+ <div class="navbar-header">
+ <img class="navbar-logo" width="46" src="/assets/images/kylin_logo.png "></img>
+
+ <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
+ <span class="sr-only">Toggle navigation</span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+ <ul class="nav icon-navbar">
+ <li><a href="https://twitter.com/apachekylin" target="_blank" class="fa fa-twitter fa-lg" title="Twitter: @ApacheKylin" ></a></li>
+ <li><a href="https://github.com/apache/kylin" target="_blank" class="fa fa-github-alt fa-lg" title="Github: apache/kylin" ></a></li>
+ <li><a href="https://www.facebook.com/kylinio" target="_blank" class="fa fa-facebook fa-lg" title="Facebook: kylin.io" ></a></li>
+ </ul>
+ </div>
+
+ <!-- Collect the nav links, forms, and other content for toggling -->
+ <div class="navbar-collapse" id="bs-example-navbar-collapse-1">
+ <ul class="nav navbar-nav">
+ <li><a href="/cn">é¦é¡µ</a></li>
+ <li><a href="/cn/docs" >ææ¡£</a></li>
+ <li><a href="/cn/download">ä¸è½½</a></li>
+ <li><a href="/cn/community" >社åº</a></li>
+ <li><a href="/cn/development" >å¼å</a></li>
+ <li><a href="/blog">å客</a></li>
+ <li><a href="/" >English</a></li>
+ </ul>
+
+
+ </div><!-- /.navbar-collapse -->
+ </div><!-- /.container-fluid -->
+ </nav>
+
+ <div id="head" class="parallax normal-header" >
+ <div class="text-center header-apache">
+ <a href="http://apache.org/foundation/contributing.html" title="Support Apache" style="margin-left: 150px;">
+ <div>
+ <img src="https://www.apache.org/images/SupportApache-small.png">
+ </div>
+ </a>
+ </div>
+ </div>
+
+ </header>
+
+
+ <div class="container">
+ <div class="row" style="clear:both;">
+
+ <div class="col-md-8 col-lg-8 col-xs-12 col-sm-12 aside2" style="float: right;">
+ <div id="container" class="docs">
+ <div id="pjax">
+ <h1 class="post-title">å¦ä½æäºè¿å¶å
</h1>
+ <article class="post-content" >
+ <h3 id="section">çæäºè¿å¶å
</h3>
+<p>æ¬æ档讲述çæ¯å¦ä½ä»æºç æ建äºè¿å¶å
</p>
+
+<h4 id="section-1">ä¸è½½æºç </h4>
+<p>æ¨å¯ä»¥ä» github ä»åºä¸è½½ Apache Kylin æºç ã</p>
+
+<div class="highlighter-rouge"><pre class="highlight"><code>git clone https://github.com/apache/kylin kylin
+</code></pre>
+</div>
+
+<h4 id="section-2">æ建äºè¿å¶å
</h4>
+
+<p>为äºçæäºè¿å¶å
ï¼éè¦é¢å
åå¤å¥½ <strong>maven</strong> å <strong>npm</strong>ã</p>
+
+<p><strong>(å¯é)</strong> å¦ææ¨å¨ä»£çæå¡å¨åé¢ï¼å¨è¿è¡ ./script/package.sh ä¹åï¼éè¦å°ä»£çä¿¡æ¯åç¥ npm å bowerï¼</p>
+
+<div class="highlighter-rouge"><pre class="highlight"><code>export http_proxy=http://your-proxy-host:port
+npm config set proxy http://your-proxy-host:port
+</code></pre>
+</div>
+
+<h5 id="hbase-1x-">为 HBase 1.x æå
</h5>
+<div class="highlighter-rouge"><pre class="highlight"><code>cd kylin
+build/script/package.sh
+</code></pre>
+</div>
+
+<h5 id="cdh-57-">为 CDH 5.7 æå
</h5>
+<div class="highlighter-rouge"><pre class="highlight"><code>cd kylin
+build/script/package.sh -P cdh5.7
+</code></pre>
+</div>
+
+ </article>
+ </div>
+ </div>
+ </div>
+ <!--
+* Licensed to the Apache Software Foundation (ASF) under one
+* or more contributor license agreements. See the NOTICE file
+* distributed with this work for additional information
+* regarding copyright ownership. The ASF licenses this file
+* to you under the Apache License, Version 2.0 (the
+* "License"); you may not use this file except in compliance
+* with the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+-->
+
+<div class="col-md-4 col-lg-4 col-xs-12 col-sm-12 aside1 visible-sm visible-xs visible-md visible-lg" id="nside1" style=" margin-top: 5em;float:right;">
+ <ul class="nav nav-pills nav-stacked">
+
+ <li><a href="#titleå¼åæå" data-toggle="collapse" class="navtitle">å¼åæå</a></li>
+ <div class="collapse in">
+ <div class="list-group" id="list1">
+ <ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class="navlist">
+ <a href="/cn/development/index.html" class="list-group-item-lay pjaxlink">å¼åå¿«éæå</a></li>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class="navlist">
+ <a href="/cn/development/dev_env.html" class="list-group-item-lay pjaxlink">æ建å¼åç¯å¢</a></li>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class="navlist">
+ <a href="/cn/development/coding_naming_convention.html" class="list-group-item-lay pjaxlink">ç¼ç åå½åæ¯ä¾</a></li>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class="navlist">
+ <a href="/cn/development/howto_test.html" class="list-group-item-lay pjaxlink">å¦ä½æµè¯</a></li>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class="navlist">
+ <a href="/cn/development/howto_contribute.html" class="list-group-item-lay pjaxlink">å¦ä½è´¡ç®</a></li>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class="navlist">
+ <a href="/cn/development/howto_docs.html" class="list-group-item-lay pjaxlink">å¦ä½åææ¡£</a></li>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class="navlist">
+ <a href="/cn/development/howto_package.html" class="list-group-item-lay pjaxlink">å¦ä½æäºè¿å¶å
</a></li>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class="navlist">
+ <a href="/cn/development/howto_hbase_branches.html" class="list-group-item-lay pjaxlink">å¦ä½ç»´æ¤ HBase åæ¯</a></li>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class="navlist">
+ <a href="/cn/development/howto_release.html" class="list-group-item-lay pjaxlink">å¦ä½åå¸</a></li>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class="navlist">
+ <a href="/cn/development/plugin_arch.html" class="list-group-item-lay pjaxlink">æ件æ¶æ</a></li>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class="navlist">
+ <a href="/cn/development/new_metadata.html" class="list-group-item-lay pjaxlink">æ°çå
æ°æ®æ¨¡å</a></li>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class="navlist">
+ <a href="/cn/development/web_tech.html" class="list-group-item-lay pjaxlink">Kylin Web æè¦</a></li>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class="navlist">
+ <a href="/cn/development/about_temp_files.html" class="list-group-item-lay pjaxlink">å
³äºä¸´æ¶æ件</a></li>
+
+
+
+
+
+
+ <ul>
+ </div>
+</div>
+
+
+ </ul>
+</div>
+ </div>
+ </div>
+ <!--
+* Licensed to the Apache Software Foundation (ASF) under one
+* or more contributor license agreements. See the NOTICE file
+* distributed with this work for additional information
+* regarding copyright ownership. The ASF licenses this file
+* to you under the Apache License, Version 2.0 (the
+* "License"); you may not use this file except in compliance
+* with the License. You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+-->
+
+<footer id="underfooter">
+ <div>
+ <div class="row">
+ <div class="col-md-12 widget">
+ <div class="widget-body">
+ <div class="footer-img">
+ <a href="http://www.apache.org">
+ <img id="asf-logo" height="78px" alt="Apache Software Foundation" src="/assets/images/apache_footer.png">
+ </a>
+ </div>
+ <p style="padding-top: 11px;">
+ The contents of this website are © 2015 Apache Software Foundation under the terms of the
+ <a href="http://www.apache.org/licenses/LICENSE-2.0"> Apache License v2 </a>.
+ </p>
+ <p style="margin-bottom: 11px;">
+ Apache Kylin and its logo are trademarks of the Apache Software Foundation.
+ </div>
+
+ </div>
+ </div>
+ </div>
+ <!-- /row of widgets -->
+
+ </div>
+ <div></div>
+
+</footer>
+
+ <script src="/assets/js/jquery-1.9.1.min.js"></script>
+ <script src="/assets/js/bootstrap.min.js"></script>
+ <script src="/assets/js/main.js"></script>
+ </body>
+</html>