#3 Step Name: Build Dimension Dictionary

104 views
Skip to first unread message

donald fossouo

unread,
May 27, 2015, 4:11:09 AM5/27/15
to kylin...@googlegroups.com
Hi i just start with kylin after build test cube and my own on HDP environment :

HDP 2.2

Hive 0.14 , hadoop 2.6

I got the following error in the 3rd step :



java.lang.IllegalStateException: Expect 1 and only 1 non-zero file under hdfs://my-name-node:8020/apps/hive/warehouse/dim_organisations, but find 0
at org.apache.kylin.dict.lookup.HiveTable.findOnlyFile(HiveTable.java:123)
at org.apache.kylin.dict.lookup.HiveTable.computeHDFSLocation(HiveTable.java:107)
at org.apache.kylin.dict.lookup.HiveTable.getHDFSLocation(HiveTable.java:83)
at org.apache.kylin.dict.lookup.HiveTable.getFileTable(HiveTable.java:76)
at org.apache.kylin.dict.lookup.HiveTable.getSignature(HiveTable.java:71)
at org.apache.kylin.dict.DictionaryManager.buildDictionary(DictionaryManager.java:164)
at org.apache.kylin.cube.CubeManager.buildDictionary(CubeManager.java:154)
at org.apache.kylin.cube.cli.DictionaryGeneratorCLI.processSegment(DictionaryGeneratorCLI.java:53)
at org.apache.kylin.cube.cli.DictionaryGeneratorCLI.processSegment(DictionaryGeneratorCLI.java:42)
at org.apache.kylin.job.hadoop.dict.CreateDictionaryJob.run(CreateDictionaryJob.java:53)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
at org.apache.kylin.job.common.HadoopShellExecutable.doWork(HadoopShellExecutable.java:63)
at org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:107)
at org.apache.kylin.job.execution.DefaultChainedExecutable.doWork(DefaultChainedExecutable.java:50)
at org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:107)
at org.apache.kylin.job.impl.threadpool.DefaultScheduler$JobRunner.run(DefaultScheduler.java:132)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

result code:2

What is the cause of the problem?

donald fossouo

unread,
May 29, 2015, 6:01:56 AM5/29/15
to kylin...@googlegroups.com
If it can help someone else i get from support that kylin is unable to load dimension table with more than one hdfs file

Luke Han

unread,
Jun 4, 2015, 11:48:32 AM6/4/15
to kylin...@googlegroups.com
Please refer to mailing list's response.

There's no longer supported in this group.

Thanks.
Reply all
Reply to author
Forward
0 new messages