Description
If we use a view as a lookup table the cube building job fails when executing the 3rd step (Build Dimension Dictionary) with this log:
java.io.IOException: java.lang.NullPointerException
at org.apache.kylin.dict.lookup.HiveTable.getSignature(HiveTable.java:72)
at org.apache.kylin.dict.DictionaryManager.buildDictionary(DictionaryManager.java:202)
at org.apache.kylin.cube.CubeManager.buildDictionary(CubeManager.java:166)
at org.apache.kylin.cube.cli.DictionaryGeneratorCLI.processSegment(DictionaryGeneratorCLI.java:52)
at org.apache.kylin.cube.cli.DictionaryGeneratorCLI.processSegment(DictionaryGeneratorCLI.java:41)
at org.apache.kylin.job.hadoop.dict.CreateDictionaryJob.run(CreateDictionaryJob.java:52)
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:62)
at org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:107)
at org.apache.kylin.job.execution.DefaultChainedExecutable.doWork(DefaultChainedExecutable.java:51)
at org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:107)
at org.apache.kylin.job.impl.threadpool.DefaultScheduler$JobRunner.run(DefaultScheduler.java:130)
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.lang.NullPointerException
result code:2
Attachments
Issue Links
- is broken by
-
KYLIN-1789 Couldn't use View as Lookup when join type is "inner"
- Closed
- is duplicated by
-
KYLIN-1508 NPE error ERROR - Build Cube - Step 3 if LOOKUP table is Hive View - : java.lang.NullPointerException at org.apache.kylin.source.hive.HiveTable.getSignature
- Closed
-
KYLIN-1510 Need to build a cube which has LOOKUP table referring Hive View
- Closed
- is related to
-
KYLIN-1508 NPE error ERROR - Build Cube - Step 3 if LOOKUP table is Hive View - : java.lang.NullPointerException at org.apache.kylin.source.hive.HiveTable.getSignature
- Closed