[ https://issues.apache.org/jira/browse/KYLIN-1810?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Richard Calaba closed KYLIN-1810. --------------------------------- Resolution: Fixed > NPE in > org.apache.kylin.dict.lookup.SnapshotTable.equals(SnapshotTable.java:164) > -------------------------------------------------------------------------------- > > Key: KYLIN-1810 > URL: https://issues.apache.org/jira/browse/KYLIN-1810 > Project: Kylin > Issue Type: Bug > Affects Versions: v1.5.2.1 > Reporter: Richard Calaba > Attachments: job_2016_06_21_16_23_51-err.zip > > > Hello, > running into weird issue. I have designed Kylin cube. Clonned it to another > cube without any changes and run the Build job. The Build succeeded. Then I > have discarder the build job and disabled and dropped the cube. Clonned the > same cube again (into different name than previously) and then again started > to build the cube. Getting an NPE below every time in Step 4 - Build > Dimension Dictionary": > java.lang.NullPointerException > at > org.apache.kylin.dict.lookup.SnapshotTable.equals(SnapshotTable.java:164) > at > org.apache.kylin.dict.lookup.SnapshotManager.checkDupByContent(SnapshotManager.java:167) > at > org.apache.kylin.dict.lookup.SnapshotManager.trySaveNewSnapshot(SnapshotManager.java:128) > at > org.apache.kylin.dict.lookup.SnapshotManager.buildSnapshot(SnapshotManager.java:108) > at > org.apache.kylin.cube.CubeManager.buildSnapshotTable(CubeManager.java:215) > at > org.apache.kylin.cube.cli.DictionaryGeneratorCLI.processSegment(DictionaryGeneratorCLI.java:59) > at > org.apache.kylin.cube.cli.DictionaryGeneratorCLI.processSegment(DictionaryGeneratorCLI.java:42) > at > org.apache.kylin.engine.mr.steps.CreateDictionaryJob.run(CreateDictionaryJob.java:56) > at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70) > at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84) > at > org.apache.kylin.engine.mr.common.HadoopShellExecutable.doWork(HadoopShellExecutable.java:60) > at > org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:114) > at > org.apache.kylin.job.execution.DefaultChainedExecutable.doWork(DefaultChainedExecutable.java:50) > at > org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:114) > at > org.apache.kylin.job.impl.threadpool.DefaultScheduler$JobRunner.run(DefaultScheduler.java:124) > 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 > Attaching the Diagnostic logs. > Any clue how to resolve this ??? > I am thinking to wipe all Kylin metadata from repository and try to restore > from backup. -- This message was sent by Atlassian JIRA (v6.3.4#6332)