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 2017/03/29 14:00:16 UTC
svn commit: r1789368 - in /kylin/site: docs20/gettingstarted/faq.html
feed.xml
Author: lidong
Date: Wed Mar 29 14:00:16 2017
New Revision: 1789368
URL: http://svn.apache.org/viewvc?rev=1789368&view=rev
Log:
update FAQ
Modified:
kylin/site/docs20/gettingstarted/faq.html
kylin/site/feed.xml
Modified: kylin/site/docs20/gettingstarted/faq.html
URL: http://svn.apache.org/viewvc/kylin/site/docs20/gettingstarted/faq.html?rev=1789368&r1=1789367&r2=1789368&view=diff
==============================================================================
--- kylin/site/docs20/gettingstarted/faq.html (original)
+++ kylin/site/docs20/gettingstarted/faq.html Wed Mar 29 14:00:16 2017
@@ -2700,11 +2700,11 @@
<article class="post-content" >
- <h4 id="binfind-hive-dependencysh-can-locate-hivehcat-jars-in-local-but-kylin-reports-error-like-javalangnoclassdeffounderror-orgapachehivehcatalogmapreducehcatinputformat">1. “bin/find-hive-dependency.sh” can locate hive/hcat jars in local, but Kylin reports error like “java.lang.NoClassDefFoundError: org/apache/hive/hcatalog/mapreduce/HCatInputFormat”</h4>
+ <h4 id="binfind-hive-dependencysh-can-locate-hivehcat-jars-in-local-but-kylin-reports-error-like-javalangnoclassdeffounderror-orgapachehivehcatalogmapreducehcatinputformat-or-javalangnoclassdeffounderror-orgapachehadoophiveqlsessionsessionstate">1. “bin/find-hive-dependency.sh” can locate hive/hcat jars in local, but Kylin reports error like “java.lang.NoClassDefFoundError: org/apache/hive/hcatalog/mapreduce/HCatInputFormat” or “java.lang.NoClassDefFoundError: org/apache/hadoop/hive/ql/session/SessionState”</h4>
<ul>
<li>
- <p>Kylin need many dependent jars (hadoop/hive/hcat/hbase/kafka) on classpath to work, but Kylin doesn’t ship them. It will seek these jars from your local machine by running commands like <code class="highlighter-rouge">hbase classpath</code>, <code class="highlighter-rouge">hive -e set</code> etc. The founded jars’ path will be appended to the environment variable <em>HBASE_CLASSPATH</em> (Kylin uses <code class="highlighter-rouge">hbase</code> shell command to start up, which will read this). But in some Hadoop distribution (like EMR 5.0), the <code class="highlighter-rouge">hbase</code> shell doesn’t keep the origin <code class="highlighter-rouge">HBASE_CLASSPATH</code> value, that causes the “NoClassDefFoundError”.</p>
+ <p>Kylin need many dependent jars (hadoop/hive/hcat/hbase/kafka) on classpath to work, but Kylin doesn’t ship them. It will seek these jars from your local machine by running commands like <code class="highlighter-rouge">hbase classpath</code>, <code class="highlighter-rouge">hive -e set</code> etc. The founded jars’ path will be appended to the environment variable <em>HBASE_CLASSPATH</em> (Kylin uses <code class="highlighter-rouge">hbase</code> shell command to start up, which will read this). But in some Hadoop distribution (like AWS EMR 5.0), the <code class="highlighter-rouge">hbase</code> shell doesn’t keep the origin <code class="highlighter-rouge">HBASE_CLASSPATH</code> value, that causes the “NoClassDefFoundError”.</p>
</li>
<li>
<p>To fix this, find the hbase shell script (in hbase/bin folder), and search <em>HBASE_CLASSPATH</em>, check whether it overwrite the value like :</p>
Modified: kylin/site/feed.xml
URL: http://svn.apache.org/viewvc/kylin/site/feed.xml?rev=1789368&r1=1789367&r2=1789368&view=diff
==============================================================================
--- kylin/site/feed.xml (original)
+++ kylin/site/feed.xml Wed Mar 29 14:00:16 2017
@@ -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>Wed, 29 Mar 2017 02:08:49 -0700</pubDate>
- <lastBuildDate>Wed, 29 Mar 2017 02:08:49 -0700</lastBuildDate>
+ <pubDate>Wed, 29 Mar 2017 06:59:03 -0700</pubDate>
+ <lastBuildDate>Wed, 29 Mar 2017 06:59:03 -0700</lastBuildDate>
<generator>Jekyll v2.5.3</generator>
<item>