[ 
https://issues.apache.org/jira/browse/KYLIN-4070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16878941#comment-16878941
 ] 

xiangakun commented on KYLIN-4070:
----------------------------------

Thaks for your feedback, you mentioned, I don't need to modify kylin.sh, could 
you please suggest how to deal with the error 
"org.apache.kylin.rest.exception.InternalErrorException: 
org/apache/hadoop/hive/conf/HiveConf"  ?

In addition ,I tried to exec sh bin/find-hive-dependency.sh, it works fine. and 
the hive_dependency  is : 

export HIVE_HOME=/home/kylin/hive

export HIVE_CONF_DIR=/home/kylin/conf
export HCAT_HOME=$HIVE_HOME/hcatalog

export 
hive_dependency=$HIVE_CONF_DIR:$HIVE_HOME/lib/*:$HCAT_HOME/share/hcatalog/hive-hcatalog-core-2.3.4.jar

> No logs print in kylin.log file and met error "Error: Could not find or load 
> main class org.apache.hadoop.mapreduce.v2.app.MRAppMaster"
> ---------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: KYLIN-4070
>                 URL: https://issues.apache.org/jira/browse/KYLIN-4070
>             Project: Kylin
>          Issue Type: Bug
>         Environment: apache-kylin-2.6.2-bin-hbase1x  hadoop-2.7.7   
> hbase-1.2.11    hive-2.3.4
>            Reporter: xiangakun
>            Priority: Blocker
>
> Hello friends,
>  
> I am using kylin with version 2.6.2, and the relied components are lists 
> below, I start the kylin server successfully and met the error 
> "org.apache.kylin.rest.exception.InternalErrorException: 
> org/apache/hadoop/hive/conf/HiveConf" when loading hive meta data. I updated 
> the configuration from "export 
> HBASE_CLASSPATH_PREFIX=${KYLIN_HOME}/conf:${KYLIN_HOME}/lib/*:${KYLIN_HOME}/ext/*:${HBASE_CLASSPATH_PREFIX}"
>   to "export 
> HBASE_CLASSPATH_PREFIX=${KYLIN_HOME}/conf:${KYLIN_HOME}/lib/*:${KYLIN_HOME}/ext/*:{color:#FF0000}${hive_dependency}{color}:${HBASE_CLASSPATH_PREFIX}"
>  in kylin.sh file. it did work fine. However, after this action,  I found no 
> more messages could be produced in logs/kylin.log file. I removed kylin.log 
> file, and after restarted the kylin server, kylin.log file was not created 
> any more. It's  seems too stange.
> What's more, when I create a cube and build it, the error happens in step 3, 
> it shows "
> Error: Could not find or load main class 
> org.apache.hadoop.mapreduce.v2.app.MRAppMaster". 
>  
> In fact, I used the same configuration in yarn-site.xml and mapred-site.xml 
> files with kylin version 2.1.0 for a long time, it worked fine and never met 
> such error.
>  
> Does anyone meet the same problem before? Hope receive your kindly help soon.
>  
> Thanks in advance.
>  
> Best Regards
> xiangakun
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to