构建kylin的kylin_learn出现问题

#3 Step Name: Extract Fact Table Distinct   
java.lang.IllegalStateException: No resource found at -- /table/DEFAULT.KYLIN_SALES.json
	at org.apache.kylin.engine.mr.common.AbstractHadoopJob.dumpResources(AbstractHadoopJob.java:550)
	at org.apache.kylin.engine.mr.common.AbstractHadoopJob.dumpKylinPropsAndMetadata(AbstractHadoopJob.java:505)
	at org.apache.kylin.engine.mr.common.AbstractHadoopJob.attachCubeMetadata(AbstractHadoopJob.java:458)
	at org.apache.kylin.engine.mr.steps.FactDistinctColumnsJob.run(FactDistinctColumnsJob.java:122)
	at org.apache.kylin.engine.mr.MRUtil.runMRJob(MRUtil.java:102)
	at org.apache.kylin.engine.mr.common.MapReduceExecutable.doWork(MapReduceExecutable.java:123)
	at org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:124)
	at org.apache.kylin.job.execution.DefaultChainedExecutable.doWork(DefaultChainedExecutable.java:64)
	at org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:124)
	at org.apache.kylin.job.impl.threadpool.DefaultScheduler$JobRunner.run(DefaultScheduler.java:142)
	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)

result code:2
不知道是何原因

李扬 - Apache Kylin committer & PMC member, Sr. Architect of eBay CCOE

赞同来自: fish

看表象是metadata损坏。造成的原因就不好说了。简单修复可以重新执行bin/sample.sh导入sample cube的元数据。

妙妙筱Mary

赞同来自:

请问原数据库可以通过restore来恢复吗?如果可以,那么重启kylin服务还是无效啊,依然报楼主的error

要回复问题请先登录注册