[
https://issues.apache.org/jira/browse/KYLIN-3564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16617267#comment-16617267
]
Lijun Cao commented on KYLIN-3564:
----------------------------------
Solution:
Export the following jars to environment variable:
*export
HBASE_CLASSPATH=/opt/cloudera/parcels/CDH-6.0.0-1.cdh6.0.0.p0.537114/jars/hbase-server-2.0.0-cdh6.0.0.jar:/opt/cloudera/parcels/CDH-6.0.0-1.cdh6.0.0.p0.537114/jars/hbase-common-2.0.0-cdh6.0.0.jar*
Note that the error may still be printed on screen but Kylin can work
successfully.
> Could not find or load main class
> org.apache.hadoop.hbase.util.GetJavaProperty on CDH 6.0.0
> -------------------------------------------------------------------------------------------
>
> Key: KYLIN-3564
> URL: https://issues.apache.org/jira/browse/KYLIN-3564
> Project: Kylin
> Issue Type: Bug
> Reporter: Lijun Cao
> Assignee: Lijun Cao
> Priority: Major
> Attachments: classnotfound.png
>
>
> The error occurs on starting Kylin in CDH 6.0.0 and Kylin start failed.
> [root@master bin]# ./kylin.sh start
> Retrieving hadoop conf dir...
> *Error: Could not find or load main class
> org.apache.hadoop.hbase.util.GetJavaProperty*
> KYLIN_HOME is set to /cdh6/BOT/apache-kylin-2.5.0-SNAPSHOT-bin
> Retrieving hive dependency...
> Retrieving hbase dependency...
> *Error: Could not find or load main class
> org.apache.hadoop.hbase.util.GetJavaProperty*
> hbase-common lib not found
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)