Support Questions
Find answers, ask questions, and share your expertise

Kylin sync issue with hive partitioned tables and views

New Contributor

Hortonworks version:

Kylin version: 2.2.0

I am trying to sync up a table from a list of hive table into kylin in order to build a OLAP cube in Kylin. The issue here is with tables which have partition columns(date) and also with tables which are created as views. I am able to sync up the metadata but not the underlying data for these tables. There is no issue for tables without partitions, I am able to sync both metadata and data. When I try seeing the associated logs, here is what I find:

NoSuchObjectException(message:DEFAULT.KYLIN_INTERMEDIATE_XYZ_TABLE_NAME table not found) at org.apache.kylin.source.hive.HiveMRInput$HiveTableInputFormat.configureJob( at at at org.apache.kylin.job.execution.AbstractExecutable.execute( at org.apache.kylin.job.execution.DefaultChainedExecutable.doWork( at org.apache.kylin.job.execution.AbstractExecutable.execute( at org.apache.kylin.job.impl.threadpool.DefaultScheduler$ at java.util.concurrent.ThreadPoolExecutor.runWorker( at java.util.concurrent.ThreadPoolExecutor$ at Caused by: NoSuchObjectException(message:DEFAULT.KYLIN_INTERMEDIATE_BVP_STG_VIEWS_UVERSE_PROGRAM_METADATA_VOD table not found) at org.apache.hive.hcatalog.mapreduce.HCatInputFormat.setInput( at org.apache.hive.hcatalog.mapreduce.HCatInputFormat.setInput( at org.apache.kylin.source.hive.HiveMRInput$HiveTableInputFormat.configureJob( ... 9 more Caused by: NoSuchObjectException(message:DEFAULT.KYLIN_INTERMEDIATE_BVP_STG_VIEWS_UVERSE_PROGRAM_METADATA_VOD table not found) at org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$get_table_result$ at org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$get_table_result$ at org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore$ at org.apache.thrift.TServiceClient.receiveBase(

Please let me know what would be the issue? I could successfully sync up few other tables from hive into kylin along with the data(not only metadata) to be used for kylin OLAP cubes and models. Not sure why this happens with few tables and not with others.