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/09 14:08:26 UTC
svn commit: r1846249 - in /kylin/site: cn/development/dev_env.html
development/dev_env.html feed.xml
Author: lidong
Date: Fri Nov 9 14:08:25 2018
New Revision: 1846249
URL: http://svn.apache.org/viewvc?rev=1846249&view=rev
Log:
Update dev_env
Modified:
kylin/site/cn/development/dev_env.html
kylin/site/development/dev_env.html
kylin/site/feed.xml
Modified: kylin/site/cn/development/dev_env.html
URL: http://svn.apache.org/viewvc/kylin/site/cn/development/dev_env.html?rev=1846249&r1=1846248&r2=1846249&view=diff
==============================================================================
--- kylin/site/cn/development/dev_env.html (original)
+++ kylin/site/cn/development/dev_env.html Fri Nov 9 14:08:25 2018
@@ -273,11 +273,21 @@ bower --allow-root install</code></pre><
<div class="highlight"><pre><code class="language-groff" data-lang="groff">bower.cmd --allow-root install</code></pre></div>
-<p>å¨ IDEï¼è¿è¡ <code class="highlighter-rouge">org.apache.kylin.rest.DebugTomcat</code> å°å·¥ä½ç®å½è®¾ç½®ä¸º /server æ件夹ã(é»è®¤æ
åµä¸ Kylin æå¡å¨å°ä¼çå¬ 7070 端å£ï¼å¦ææ¨æ³è¦ä½¿ç¨å¦ä¸ä¸ªç«¯å£ï¼è¯·å¨è¿è¡ <code class="highlighter-rouge">DebugTomcat</code> æ¶å°å
¶æå®ä¸ºåæ°)</p>
+<p>å¨ IDEï¼è¿è¡ <code class="highlighter-rouge">org.apache.kylin.rest.DebugTomcat</code> å°å·¥ä½ç®å½è®¾ç½®ä¸º /server æ件夹ï¼ä½¿ç¨ âkylin-serverâ ç classpathãå¯¹äº IntelliJ IDEA 2017 æä¹åçç¨æ·ï¼éè¦ä¿®æ¹ âserver/kylin-server.imlâ æ件ï¼å°ææç âPROVIDEDâ æ¿æ¢ä¸º âCOMPILEâï¼å¯¹äº IntelliJ IDEA 2018 ç¨æ·ï¼è¯·å¾é âInclude dependencies with âProvidedâ scopeâï¼å¦åå¯è½ä¼æåº âjava.lang.NoClassDefFoundError: org/apache/catalina/LifecycleListenerâ é误ã</p>
-<p>æ¥ç Kylin Web <code class="highlighter-rouge">http://localhost:7070/kylin</code>ï¼ç¨æ·åï¼ADMINï¼å¯ç ï¼KYLIN)</p>
+<p>è°è VM optionsï¼ä¾å¦:</p>
+
+<div class="highlighter-rouge"><pre class="highlight"><code>-Dhdp.version=2.4.0.0-169 -DSPARK_HOME=/usr/local/spark -Dkylin.hadoop.conf.dir=/workspace/kylin/examples/test_case_data/sandbox -Xms800m -Xmx800m -XX:PermSize=64M -XX:MaxNewSize=256m -XX:MaxPermSize=128m
+</code></pre>
+</div>
+
+<p>æ·»å Hadoop ç¸å
³ç¯å¢åé:</p>
-<p>å¯¹äº IntelliJ IDEA ç¨æ·ï¼éè¦ä¿®æ¹ âserver/kylin-server.imlâ æ件ï¼å°ææç âPROVIDEDâ æ¿æ¢ä¸º âCOMPILEâï¼å¦åå¯è½ä¼æåº âjava.lang.NoClassDefFoundError: org/apache/catalina/LifecycleListenerâ é误ã</p>
+<div class="highlighter-rouge"><pre class="highlight"><code>HADOOP_USER_NAME=root
+</code></pre>
+</div>
+
+<p>æ¥ç Kylin Web <code class="highlighter-rouge">http://localhost:7070/kylin</code>ï¼ç¨æ·åï¼ADMINï¼å¯ç ï¼KYLIN)</p>
<h2 id="ide-">å®è£
IDE ç¼ç æ ¼å¼åå·¥å
·</h2>
Modified: kylin/site/development/dev_env.html
URL: http://svn.apache.org/viewvc/kylin/site/development/dev_env.html?rev=1846249&r1=1846248&r2=1846249&view=diff
==============================================================================
--- kylin/site/development/dev_env.html (original)
+++ kylin/site/development/dev_env.html Fri Nov 9 14:08:25 2018
@@ -6132,11 +6132,23 @@ bower --allow-root install</code></pre><
<div class="highlight"><pre><code class="language-groff" data-lang="groff">bower.cmd --allow-root install</code></pre></div>
-<p>In IDE, launch <code class="highlighter-rouge">org.apache.kylin.rest.DebugTomcat</code> with working directory set to the /server folder. (By default Kylin server will listen on 7070 port; If you want to use another port, please specify it as a parameter when run `DebugTomcat)</p>
+<p>In IDE, launch <code class="highlighter-rouge">org.apache.kylin.rest.DebugTomcat</code>. Please set the path of âserverâ module as the âWorking directoryâ, set âkylin-serverâ for âUse classpath of moduleâ, and check âInclude dependencies with âProvidedâ scopeâ option in IntelliJ IDEA 2018. If youâre using IntelliJ IDEA 2017 and older, you need modify âserver/kylin-server.imlâ file, replace all âPROVIDEDâ to âCOMPILEâ, otherwise an âjava.lang.NoClassDefFoundError: org/apache/catalina/LifecycleListenerâ error may be thrown..</p>
-<p>Check Kylin Web at <code class="highlighter-rouge">http://localhost:7070/kylin</code> (user:ADMIN, password:KYLIN)</p>
+<p>You may also need to tune the VM options:</p>
+
+<div class="highlighter-rouge"><pre class="highlight"><code>-Dhdp.version=2.4.0.0-169 -DSPARK_HOME=/usr/local/spark -Dkylin.hadoop.conf.dir=/workspace/kylin/examples/test_case_data/sandbox -Xms800m -Xmx800m -XX:PermSize=64M -XX:MaxNewSize=256m -XX:MaxPermSize=128m
+</code></pre>
+</div>
+
+<p>And Hadoop environment variable:</p>
-<p>For IntelliJ IDEA users, need modify âserver/kylin-server.imlâ file, replace all âPROVIDEDâ to âCOMPILEâ, otherwise an âjava.lang.NoClassDefFoundError: org/apache/catalina/LifecycleListenerâ error may be thrown.</p>
+<div class="highlighter-rouge"><pre class="highlight"><code>HADOOP_USER_NAME=root
+</code></pre>
+</div>
+
+<p>By default Kylin server will listen on 7070 port; If you want to use another port, please specify it as a parameter when run <code class="highlighter-rouge">DebugTomcat</code>.</p>
+
+<p>Check Kylin Web at <code class="highlighter-rouge">http://localhost:7070/kylin</code> (user:ADMIN, password:KYLIN)</p>
<h2 id="setup-ide-code-formatter">Setup IDE code formatter</h2>
Modified: kylin/site/feed.xml
URL: http://svn.apache.org/viewvc/kylin/site/feed.xml?rev=1846249&r1=1846248&r2=1846249&view=diff
==============================================================================
--- kylin/site/feed.xml (original)
+++ kylin/site/feed.xml Fri Nov 9 14:08:25 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>Thu, 08 Nov 2018 05:59:23 -0800</pubDate>
- <lastBuildDate>Thu, 08 Nov 2018 05:59:23 -0800</lastBuildDate>
+ <pubDate>Fri, 09 Nov 2018 05:59:21 -0800</pubDate>
+ <lastBuildDate>Fri, 09 Nov 2018 05:59:21 -0800</lastBuildDate>
<generator>Jekyll v2.5.3</generator>
<item>