hi:
   shaofeng
   Thank you for your help, your anwser is right.





------------------ ???????? ------------------
??????: "ShaoFeng Shi";<[email protected]>;
????????: 2016??12??23??(??????) ????9:37
??????: "dev"<[email protected]>; 

????: Re: can not get hive table



I guess the hive-site.xml file wasn't on Kylin's classpath, so it failed to
connect with the right hive metadata. You can copy hive-site.xml to
$KYLIN_HOME/conf folder, restart the server and then try again;

?? 2016??12??23?? ????4:32??35925138 <[email protected]>??????

> ????????????????????????
>
>
>
>
>
> ------------------ ???????? ------------------
> ??????: "Li Yang";<[email protected]>;
> ????????: 2016??12??22??(??????) ????9:25
> ??????: "dev"<[email protected]>;
>
> ????: Re: can not get hive table
>
>
>
> ??????????????????????????????????????????hive????????????????????
>
> 2016-12-22 10:58 GMT+08:00 35925138 <[email protected]>:
>
> > ????????????default??????????????????
> >
> >
> >
> >
> > ------------------ ???????? ------------------
> > ??????: "35925138";<[email protected]>;
> > ????????: 2016??12??22??(??????) ????10:33
> > ??????: "dev"<[email protected]>;
> >
> > ????: ?????? can not get hive table
> >
> >
> >
> > ????????default??????
> >
> >
> >
> >
> >
> > ------------------ ???????? ------------------
> > ??????: "Cheng Wang";<[email protected]>;
> > ????????: 2016??12??22??(??????) ????10:22
> > ??????: "[email protected]"<[email protected]>;
> >
> > ????: Re: can not get hive table
> >
> >
> >
> > ??hive??????????????????????default????????????????????????
> >
> > On 12/22/16, 10:04 AM, "35925138" <[email protected]> wrote:
> >
> > ????hive??????????????main_stu_action??????????????????????hcatalog????????????????????????????????????
> > ????kylin??????????????????????????????????????????????????????????????????????????????
> >
> >
> > Caused by: NoSuchObjectException(message:default.main_stu_action table
> > not found)
> >         at org.apache.hadoop.hive.metastore.HiveMetaStore$
> > HMSHandler.get_table_core(HiveMetaStore.java:1808)
> >         at org.apache.hadoop.hive.metastore.HiveMetaStore$
> > HMSHandler.get_table(HiveMetaStore.java:1778)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> >         at sun.reflect.NativeMethodAccessorImpl.invoke(
> > NativeMethodAccessorImpl.java:62)
> >         at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> > DelegatingMethodAccessorImpl.java:43)
> >         at java.lang.reflect.Method.invoke(Method.java:498)
> >         at org.apache.hadoop.hive.metastore.RetryingHMSHandler.
> > invoke(RetryingHMSHandler.java:107)
> >         at com.sun.proxy.$Proxy48.get_table(Unknown Source)
> >         at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.
> > getTable(HiveMetaStoreClient.java:1208)
> >         at org.apache.kylin.source.hive.CLIHiveClient.getHiveTableMeta(
> > CLIHiveClient.java:79)
> >         at org.apache.kylin.source.hive.HiveSourceTableLoader.
> > extractHiveTables(HiveSourceTableLoader.java:93)
> >
>



-- 
Best regards,

Shaofeng Shi ??????

Reply via email to