[
https://issues.apache.org/jira/browse/KYLIN-2903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17236270#comment-17236270
]
Alfonso Nishikawa commented on KYLIN-2903:
------------------------------------------
Hi! In Kylin 3.1.1 I find this error in {{kylin.log}} when trying to calculate
the cardinality of a Hive View:
{code:java}
2020-11-20 16:07:19,688 ERROR [Scheduler 148683666 Job
5e80bd79-4860-612f-c951-dda2abb20f15-181] common.MapReduceExecutable:170 :
error execute MapReduceExecutable{id=5e80bd79-4860-612f-c951-dda2abb20f15-00,
name=Calculate Hive Table Column Cardinality, state=RUNNING}
java.lang.RuntimeException: java.io.IOException:
NoSuchObjectException(message:KYLIN_INTERMEDIATE.KYLIN_INTERMEDIATE_BUSINESS_FACT_SEG_VISIT_VIEW
table not found)
at
org.apache.kylin.source.hive.HiveMRInput$HiveTableInputFormat.configureJob(HiveMRInput.java:83)
at
org.apache.kylin.source.hive.cardinality.HiveColumnCardinalityJob.run(HiveColumnCardinalityJob.java:93)
at
org.apache.kylin.engine.mr.common.MapReduceExecutable.doWork(MapReduceExecutable.java:155)
at
org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:179)
at
org.apache.kylin.job.execution.DefaultChainedExecutable.doWork(DefaultChainedExecutable.java:71)
at
org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:179)
at
org.apache.kylin.job.impl.threadpool.DefaultScheduler$JobRunner.run(DefaultScheduler.java:113)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException:
NoSuchObjectException(message:KYLIN_INTERMEDIATE.KYLIN_INTERMEDIATE_BUSINESS_FACT_SEG_VISIT_VIEW
table not found)
at
org.apache.hive.hcatalog.mapreduce.HCatInputFormat.setInput(HCatInputFormat.java:97)
at
org.apache.hive.hcatalog.mapreduce.HCatInputFormat.setInput(HCatInputFormat.java:51)
at
org.apache.kylin.source.hive.HiveMRInput$HiveTableInputFormat.configureJob(HiveMRInput.java:80)
{code}
Is it related to this ticket? (if so, what is the status? :)
Thank you!
> Support cardinality calculation for Hive view
> ---------------------------------------------
>
> Key: KYLIN-2903
> URL: https://issues.apache.org/jira/browse/KYLIN-2903
> Project: Kylin
> Issue Type: Improvement
> Components: Job Engine
> Reporter: Wang, Gang
> Assignee: Wang, Gang
> Priority: Minor
> Attachments:
> 0001-KYLIN-2903-support-cardinality-calculation-for-Hive-.patch
>
>
> Currently, Kylin leverage HCatlog to calculate column cardinality for Hive
> tables. While, HCatlog does not support Hive view actually.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)