Hi Wangbin, please use Google if possible; Similar environment issues have
been asked many times; Usually it was because the
bin/find-*-dependencies.sh script wasn't able to locate the hive/hbase jars
correctly; especially when "beeline" is used and the hive server and client
uses different installation pathes; You can manually modify the script to
overcome such issue.

Secondly, the HBase of FusionInsight is 1.0, which was skipped by Kylin
(Kylin supports 0.98 and 1.1), suggest you re-compile Kylin to get a
working binary package for FI.

BTW, "copy properties from hive-site.xml to KYLIN_HOME/conf/kylin_job_conf.xml"
isn't recommended; You don't need do this. If hive-site.xml is on Kylin's
classpath, it will be parsed and applied.


2017-01-13 13:23 GMT+08:00 <[email protected]>:

> Enviroment:
>    kylin: 1.6
>
>    hadoop:HUAWEI FusionInsigh C60U10.
>
>
> Install kylin1.6 on client node(NOT the oms node) .Then click "load hive
> table" button. It return error message
> "Oops...java.lang.ClassNotFoundException:org.apache.hive.jdbc.HiveDriver "
>
>
>
> I serached the keywords "kylin ClassNotFoundException" on baidu.com ,but
> got nothins useful.
>
>
> install steps:
> 1. unzip the binary version of kylin1.6  on client
> 2.
>    source /opt/hadoopclient/bigdata_env
>    kinit admin
> 3. copy properties from hivemetastore-site.xml to hive-site.xml
>
> 4. copy properties from hive-site.xml to
> KYLIN_HOME/conf/kylin_job_conf.xml
>
> 5. add the key in kylin_hive_conf.xml  to
> hive.security.authorization.sqlstd.confwhitelist on FusionInsight WEB
>
> 6.   add  the belows to .bash_profile
>          export KYLIN_HOME=xxxxx
>               export HIVE_CONF=/xxxxx/Hive/config
>          export HCAT_HOME=/xxx/Hive/HCatalog
>
> 7.  source .bash_profile
>
> 8.  vi  kylin.properties
>     set    kylin.hive.client=beeline
>     set    kylin.hive.beeline.params="xxxxxxx"  (copy connection info from
> CLI beeline )
>
>
> 9.  kylin.sh start (find:
> /opt/huawei/Bigdata/FusionInsight_V100R002C60U10/
> FusionInsight-Hive-1.3.0/hive-1.3.0/bin/..//lib
> :No such file or directory)
>
>
> 10. Click  "Model"  on page. Click "load hive table"  . Then retun error
> message.
>
>
>
>


-- 
Best regards,

Shaofeng Shi 史少锋

Reply via email to