You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by li...@apache.org on 2018/11/28 14:09:33 UTC

svn commit: r1847642 - in /kylin/site: cn/community/index.html cn/development/dev_env.html community/index.html development/dev_env.html feed.xml

Author: lidong
Date: Wed Nov 28 14:09:32 2018
New Revision: 1847642

URL: http://svn.apache.org/viewvc?rev=1847642&view=rev
Log:
Swtich to use lists.apache.org for mail archives

Modified:
    kylin/site/cn/community/index.html
    kylin/site/cn/development/dev_env.html
    kylin/site/community/index.html
    kylin/site/development/dev_env.html
    kylin/site/feed.xml

Modified: kylin/site/cn/community/index.html
URL: http://svn.apache.org/viewvc/kylin/site/cn/community/index.html?rev=1847642&r1=1847641&r2=1847642&view=diff
==============================================================================
--- kylin/site/cn/community/index.html (original)
+++ kylin/site/cn/community/index.html Wed Nov 28 14:09:32 2018
@@ -203,7 +203,7 @@ var _hmt = _hmt || [];
 		    	    <a href="mailto:user@kylin.apache.org">发送新邮件</a>
 		    	</span>
 		    	<span>
-		    	    <a href="http://mail-archives.apache.org/mod_mbox/kylin-user/">历史存档</a>
+		    	    <a href="https://lists.apache.org/list.html?user@kylin.apache.org">历史存档</a>
 		    	</span>
 		    </p>
 
@@ -219,7 +219,7 @@ var _hmt = _hmt || [];
 		    	    <a href="mailto:dev@kylin.apache.org">发送新邮件</a>
 		    	</span>
 		    	<span>
-		    	    <a href="http://mail-archives.apache.org/mod_mbox/kylin-dev//">历史存档</a>
+		    	    <a href="https://lists.apache.org/list.html?dev@kylin.apache.org">历史存档</a>
 		    	</span>
 		    </p>
 
@@ -233,7 +233,7 @@ var _hmt = _hmt || [];
 		    	</span>
 		    	<span>N/A</span>
 		    	<span>
-		    	    <a href="http://mail-archives.apache.org/mod_mbox/kylin-issues/">历史存档</a>
+		    	    <a href="https://lists.apache.org/list.html?issues@kylin.apache.org">历史存档</a>
 		    	</span>
 		    </p>
 
@@ -247,7 +247,7 @@ var _hmt = _hmt || [];
 		    	</span>
 		        <span>N/A</span>
 		    	<span>
-		    	    <a href="http://mail-archives.apache.org/mod_mbox/kylin-commits/">历史存档</a>
+		    	    <a href="https://lists.apache.org/list.html?commits@kylin.apache.org">历史存档</a>
 		    	</span>
 		    </p>
 		</div>

Modified: kylin/site/cn/development/dev_env.html
URL: http://svn.apache.org/viewvc/kylin/site/cn/development/dev_env.html?rev=1847642&r1=1847641&r2=1847642&view=diff
==============================================================================
--- kylin/site/cn/development/dev_env.html (original)
+++ kylin/site/cn/development/dev_env.html Wed Nov 28 14:09:32 2018
@@ -187,6 +187,13 @@ ambari-server start</code></pre></div>
 
 <p>对于 hadoop 分布式,基本上启动 hadoop 集群,确保 HDFS,YARN,Hive,HBase 运行着即可。</p>
 
+<p>注意:</p>
+
+<ul>
+  <li>为YARN resource manager 分配 3-4GB 内存.</li>
+  <li>升级 Sandbox 里的 Java 到 Java 8 (Kyin 2.5 需要 Java 8).</li>
+</ul>
+
 <h2 id="section">开发机器的环境</h2>
 
 <h3 id="maven">安装 Maven</h3>
@@ -200,7 +207,7 @@ ln -s /root/apache-maven-3.2.5/bin/mvn /
 
 <h3 id="spark">安装 Spark</h3>
 
-<p>在像 /usr/local/spark 这样的本地文件夹下手动安装 Spark;你需要确认所需要的 Spark 的版本,以及从 Spark 下载页面获取下载链接。 Kylin 2.3 - 2.5 需要 Spark 2.1; 例如:</p>
+<p>在像 /usr/local/spark 这样的本地文件夹下手动安装 Spark;你需要确认所需要的 Spark 的版本,以及从 Spark 下载页面获取下载链接。 Kylin 2.3 - 2.4 需要 Spark 2.1, Kylin 2.5 需要 Spark 2.3; 例如:</p>
 
 <div class="highlight"><pre><code class="language-groff" data-lang="groff">wget -O /tmp/spark-2.1.2-bin-hadoop2.7.tgz https://archive.apache.org/dist/spark/spark-2.1.2/spark-2.1.2-bin-hadoop2.7.tgz
 cd /usr/local
@@ -251,7 +258,7 @@ chmod 777 /hadoop/hbase/local/jars</code
 <h3 id="section-4">运行集成测试</h3>
 <p>在真正运行集成测试前,需要为测试数据的填充运行一些端到端的 cube 构建作业,同时验证 cube 过程。然后是集成测试。</p>
 
-<p>其可能需要一段时间(也许一小时),请保持耐心。</p>
+<p>其可能需要一段时间(也许两个小时),请保持耐心。</p>
 
 <div class="highlight"><pre><code class="language-groff" data-lang="groff">mvn verify -fae -Dhdp.version=&lt;hdp-version&gt; -P sandbox</code></pre></div>
 
@@ -269,6 +276,10 @@ chmod 777 /hadoop/hbase/local/jars</code
 npm install -g bower
 bower --allow-root install</code></pre></div>
 
+<p>如果在bower install的过程当中遇到问题,可以尝试命令:</p>
+
+<div class="highlight"><pre><code class="language-groff" data-lang="groff">git config --global url."git://".insteadOf https://</code></pre></div>
+
 <p>注意,如果是在 Windows 上,安装完 bower,需要将 “bower.cmd” 的路径加入系统环境变量 ‘PATH’ 中,然后运行:</p>
 
 <div class="highlight"><pre><code class="language-groff" data-lang="groff">bower.cmd --allow-root install</code></pre></div>

Modified: kylin/site/community/index.html
URL: http://svn.apache.org/viewvc/kylin/site/community/index.html?rev=1847642&r1=1847641&r2=1847642&view=diff
==============================================================================
--- kylin/site/community/index.html (original)
+++ kylin/site/community/index.html Wed Nov 28 14:09:32 2018
@@ -6058,7 +6058,7 @@ var _hmt = _hmt || [];
 		    	    <a href="mailto:user@kylin.apache.org">Post</a>
 		    	</span>
 		    	<span>
-		    	    <a href="http://mail-archives.apache.org/mod_mbox/kylin-user/">mail-archives.apache.org</a>
+		    	    <a href="https://lists.apache.org/list.html?user@kylin.apache.org">mail-archives.apache.org</a>
 		    	</span>
 		    </p>
 
@@ -6074,7 +6074,7 @@ var _hmt = _hmt || [];
 		    	    <a href="mailto:dev@kylin.apache.org">Post</a>
 		    	</span>
 		    	<span>
-		    	    <a href="http://mail-archives.apache.org/mod_mbox/kylin-dev//">mail-archives.apache.org</a>
+		    	    <a href="https://lists.apache.org/list.html?dev@kylin.apache.org">mail-archives.apache.org</a>
 		    	</span>
 		    </p>
 
@@ -6088,7 +6088,7 @@ var _hmt = _hmt || [];
 		    	</span>
 		    	<span>N/A</span>
 		    	<span>
-		    	    <a href="http://mail-archives.apache.org/mod_mbox/kylin-issues/">mail-archives.apache.org</a>
+		    	    <a href="https://lists.apache.org/list.html?issues@kylin.apache.org">mail-archives.apache.org</a>
 		    	</span>
 		    </p>
 
@@ -6102,7 +6102,7 @@ var _hmt = _hmt || [];
 		    	</span>
 		        <span>N/A</span>
 		    	<span>
-		    	    <a href="http://mail-archives.apache.org/mod_mbox/kylin-commits/">mail-archives.apache.org</a>
+		    	    <a href="https://lists.apache.org/list.html?issues@kylin.apache.org">mail-archives.apache.org</a>
 		    	</span>
 		    </p>
 		</div>

Modified: kylin/site/development/dev_env.html
URL: http://svn.apache.org/viewvc/kylin/site/development/dev_env.html?rev=1847642&r1=1847641&r2=1847642&view=diff
==============================================================================
--- kylin/site/development/dev_env.html (original)
+++ kylin/site/development/dev_env.html Wed Nov 28 14:09:32 2018
@@ -6046,6 +6046,13 @@ ambari-server start</code></pre></div>
 
 <p>For other hadoop distribution, basically start the hadoop cluster, make sure HDFS, YARN, Hive, HBase are running.</p>
 
+<p>Note:</p>
+
+<ul>
+  <li>You may need to adjust the YARN configuration, allocating 3-4GB memory to YARN resource manager.</li>
+  <li>The JDK in the sandbox VM might be old, please manually upgrade to Java 8 (Kyin 2.5 requires Java 8).</li>
+</ul>
+
 <h2 id="environment-on-the-dev-machine">Environment on the dev machine</h2>
 
 <h3 id="install-maven">Install Maven</h3>
@@ -6059,7 +6066,7 @@ ln -s /root/apache-maven-3.2.5/bin/mvn /
 
 <h3 id="install-spark">Install Spark</h3>
 
-<p>Manually install the Spark binary in in a local folder like /usr/local/spark. You need to check what’s the right version for your Kylin version, and then get the download link from Apache Spark website. Kylin 2.3 to 2.5 requires Spark 2.1; For example:</p>
+<p>Manually install the Spark binary in in a local folder like /usr/local/spark. You need to check what’s the right version for your Kylin version, and then get the download link from Apache Spark website. Kylin 2.3 - 2.4 requires Spark 2.1, Kylin 2.5 requires Spark 2.3.2; For example:</p>
 
 <div class="highlight"><pre><code class="language-groff" data-lang="groff">wget -O /tmp/spark-2.1.2-bin-hadoop2.7.tgz https://archive.apache.org/dist/spark/spark-2.1.2/spark-2.1.2-bin-hadoop2.7.tgz
 cd /usr/local
@@ -6077,7 +6084,7 @@ chmod 777 /hadoop/hbase/local/jars</code
 
 <div class="highlight"><pre><code class="language-groff" data-lang="groff">git clone https://github.com/apache/kylin.git</code></pre></div>
 
-<p>Install Kylin artifacts to the maven repo</p>
+<p>Install Kylin artifacts to the maven repository.</p>
 
 <div class="highlight"><pre><code class="language-groff" data-lang="groff">mvn clean install -DskipTests</code></pre></div>
 
@@ -6110,7 +6117,7 @@ chmod 777 /hadoop/hbase/local/jars</code
 <h3 id="run-integration-tests">Run integration tests</h3>
 <p>Before actually running integration tests, need to run some end-to-end cube building jobs for test data population, in the meantime validating cubing process. Then comes with the integration tests.</p>
 
-<p>It might take a while (maybe one hour), please keep patient.</p>
+<p>It might take a while (maybe two hours), please keep patient.</p>
 
 <div class="highlight"><pre><code class="language-groff" data-lang="groff">mvn verify -fae -Dhdp.version=&lt;hdp-version&gt; -P sandbox</code></pre></div>
 
@@ -6128,6 +6135,10 @@ chmod 777 /hadoop/hbase/local/jars</code
 npm install -g bower
 bower --allow-root install</code></pre></div>
 
+<p>If you encounter network problem when run “bower install”, you may try:</p>
+
+<div class="highlight"><pre><code class="language-groff" data-lang="groff">git config --global url."git://".insteadOf https://</code></pre></div>
+
 <p>Note, if on Windows, after install bower, need to add the path of “bower.cmd” to system environment variable ‘PATH’, and then run:</p>
 
 <div class="highlight"><pre><code class="language-groff" data-lang="groff">bower.cmd --allow-root install</code></pre></div>

Modified: kylin/site/feed.xml
URL: http://svn.apache.org/viewvc/kylin/site/feed.xml?rev=1847642&r1=1847641&r2=1847642&view=diff
==============================================================================
--- kylin/site/feed.xml (original)
+++ kylin/site/feed.xml Wed Nov 28 14:09:32 2018
@@ -19,8 +19,8 @@
     <description>Apache Kylin Home</description>
     <link>http://kylin.apache.org/</link>
     <atom:link href="http://kylin.apache.org/feed.xml" rel="self" type="application/rss+xml"/>
-    <pubDate>Tue, 27 Nov 2018 05:59:21 -0800</pubDate>
-    <lastBuildDate>Tue, 27 Nov 2018 05:59:21 -0800</lastBuildDate>
+    <pubDate>Wed, 28 Nov 2018 05:59:34 -0800</pubDate>
+    <lastBuildDate>Wed, 28 Nov 2018 05:59:34 -0800</lastBuildDate>
     <generator>Jekyll v2.5.3</generator>
     
       <item>