[ 
https://issues.apache.org/jira/browse/KYLIN-1704?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15334202#comment-15334202
 ] 

Richard Calaba commented on KYLIN-1704:
---------------------------------------

Sorry - cannot reproduce anymore - before I was getting the above mentioned NPE 
in Build Cube Step 3. Now in the same Build Step 3 I am getting another 
exception:

java.lang.IllegalStateException: Dup key found, key=[null], 
value1=[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,20160324],
 
value2=[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,20160324]
        at org.apache.kylin.dict.lookup.LookupTable.initRow(LookupTable.java:83)
        at org.apache.kylin.dict.lookup.LookupTable.init(LookupTable.java:66)
        at org.apache.kylin.dict.lookup.LookupTable.<init>(LookupTable.java:54)
        at 
org.apache.kylin.dict.lookup.LookupStringTable.<init>(LookupStringTable.java:33)

Could be that data has changed meanwhile ... but not 100% sure ... so do not 
want to confuse you ... 

Is this Duplicate Lookup table entry checks something new in Kylin 1.5.2.1 ??? 
Askin as the previous Cube I clonned from was built successfully but on earlier 
Kylin version ... 

> When load empty snapshot, NULL Pointer Exception occurs
> -------------------------------------------------------
>
>                 Key: KYLIN-1704
>                 URL: https://issues.apache.org/jira/browse/KYLIN-1704
>             Project: Kylin
>          Issue Type: Bug
>          Components: Metadata
>    Affects Versions: v1.5.0, v1.5.1, v1.5.2
>            Reporter: Zhong Yanghong
>            Assignee: Zhong Yanghong
>             Fix For: v1.5.3
>
>         Attachments: 
> initialize_rowIndices_and_dict_during_deserializing_when_snapshot_table_is_empty.patch
>
>
> Error Log: java.lang.NullPointerException
>       at 
> org.apache.kylin.dict.lookup.SnapshotTable.equals(SnapshotTable.java:163)
>       at 
> org.apache.kylin.dict.lookup.SnapshotManager.checkDupByContent(SnapshotManager.java:164)
>       at 
> org.apache.kylin.dict.lookup.SnapshotManager.trySaveNewSnapshot(SnapshotManager.java:125)
>       at 
> org.apache.kylin.dict.lookup.SnapshotManager.buildSnapshot(SnapshotManager.java:105)
>       at 
> org.apache.kylin.cube.CubeManager.buildSnapshotTable(CubeManager.java:205)
>       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:105)
>       at 
> org.apache.kylin.job.execution.DefaultChainedExecutable.doWork(DefaultChainedExecutable.java:50)
>       at 
> org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:105)
>       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)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to