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

ASF subversion and git services commented on KYLIN-3752:
--------------------------------------------------------

Commit 19b2bf7e5f544d2dc5513c7dd4b7e3ac90196a1e in kylin's branch 
refs/heads/2.5.x from xbirbird
[ https://gitbox.apache.org/repos/asf?p=kylin.git;h=19b2bf7 ]

KYLIN-3752 Increase broadcaster's concurrency to avoid exceptions


> NullPointerException in the first cubing 
> step:org.apache.kylin.source.hive.CreateFlatHiveTableStep.getCubeSpecificConfig(CreateFlatHiveTableStep.java:92)
> ---------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: KYLIN-3752
>                 URL: https://issues.apache.org/jira/browse/KYLIN-3752
>             Project: Kylin
>          Issue Type: Bug
>          Components: Job Engine
>    Affects Versions: v2.5.0
>            Reporter: xiaodongzhang
>            Assignee: xiaodongzhang
>            Priority: Blocker
>             Fix For: v2.6.0
>
>
> 异常如下:
>  org.apache.kylin.job.exception.ExecuteException: 
> org.apache.kylin.job.exception.ExecuteException: 
> java.lang.NullPointerException at 
> org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:178)
>  at 
> org.apache.kylin.job.impl.threadpool.DistributedScheduler$JobRunner.run(DistributedScheduler.java:111)
>  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: 
> org.apache.kylin.job.exception.ExecuteException: 
> java.lang.NullPointerException at 
> org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:178)
>  at 
> org.apache.kylin.job.execution.DefaultChainedExecutable.doWork(DefaultChainedExecutable.java:69)
>  at 
> org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:163)
>  ... 4 more Caused by: java.lang.NullPointerException at 
> org.apache.kylin.source.hive.CreateFlatHiveTableStep.getCubeSpecificConfig(CreateFlatHiveTableStep.java:92)
>  at 
> org.apache.kylin.source.hive.CreateFlatHiveTableStep.doWork(CreateFlatHiveTableStep.java:97)
>  at 
> org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:163)
>  ... 6 more
>  
> 具体原因:默认配置只有一个线程来串行处理广播事件,当集群节点达到十个左右时,一个事件的同步平均耗时一分钟左右,因此会导致Table、Model、Cube的滞后同步影响分布式构建。
> 解决办法:[https://github.com/apache/kylin/pull/427]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to