Attila Magyar created HIVE-23305: ------------------------------------ Summary: 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 Fix For: 4.0.0
{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. -- This message was sent by Atlassian Jira (v8.3.4#803005)