You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Richard Calaba (JIRA)" <ji...@apache.org> on 2016/06/16 09:04:05 UTC

[jira] [Commented] (KYLIN-1704) When load empty snapshot, NULL Pointer Exception occurs

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

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

Just tried to apply this patch and git apply says it doesn't apply. Should I understand that if I got the latest master branch today (Jun 16 2016) - version 1.5.3-SNAPSHOT - then this patch should be already included ??

Asking because getting exactly same NPE in my system (tried 1.5.2.1 and 1.5.3-SNAPSHOT from today) 

> 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
>            Reporter: Zhong Yanghong
>            Assignee: Zhong Yanghong
>         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)