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

Hive QA commented on HIVE-23305:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/13001601/HIVE-23305.1.patch

{color:red}ERROR:{color} -1 due to no test(s) being added or modified.

{color:green}SUCCESS:{color} +1 due to 17190 tests passed

Test results: 
https://builds.apache.org/job/PreCommit-HIVE-Build/22035/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/22035/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-22035/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.YetusPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
{noformat}

This message is automatically generated.

ATTACHMENT ID: 13001601 - PreCommit-HIVE-Build

> NullPointerException in LlapTaskSchedulerService addNode due to race condition
> ------------------------------------------------------------------------------
>
>                 Key: HIVE-23305
>                 URL: https://issues.apache.org/jira/browse/HIVE-23305
>             Project: Hive
>          Issue Type: Bug
>          Components: Hive
>            Reporter: Attila Magyar
>            Assignee: Attila Magyar
>            Priority: Major
>             Fix For: 4.0.0
>
>         Attachments: HIVE-23305.1.patch
>
>
> {code:java}
> java.lang.NullPointerException at 
> org.apache.hadoop.hive.llap.tezplugins.LlapTaskSchedulerService.addNode(LlapTaskSchedulerService.java:1575)
>     at 
> org.apache.hadoop.hive.llap.tezplugins.LlapTaskSchedulerService.registerAndAddNode(LlapTaskSchedulerService.java:1566)
>  at 
> org.apache.hadoop.hive.llap.tezplugins.LlapTaskSchedulerService.access$1800(LlapTaskSchedulerService.java:128)
>  at 
> org.apache.hadoop.hive.llap.tezplugins.LlapTaskSchedulerService$NodeStateChangeListener.onCreate(LlapTaskSchedulerService.java:831)
>     at 
> org.apache.hadoop.hive.llap.tezplugins.LlapTaskSchedulerService$NodeStateChangeListener.onCreate(LlapTaskSchedulerService.java:823)
>     at 
> org.apache.hadoop.hive.registry.impl.ZkRegistryBase$InstanceStateChangeListener.childEvent(ZkRegistryBase.java:612)
>    at  {code}
> The above exception happens when a node registers too fast, before the active 
> activeInstances field was initialized.
>  
> The registry is started and the listener is registered before initializing 
> activeInstances.
> {code:java}
> registry.start();
> registry.registerStateChangeListener(new NodeStateChangeListener());
> activeInstances = registry.getInstances(); {code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to