Raghav Aggarwal created TEZ-4686:
------------------------------------
Summary: NPE when tez-client tries to connect to AM via ZK Mode
Key: TEZ-4686
URL: https://issues.apache.org/jira/browse/TEZ-4686
Project: Apache Tez
Issue Type: Bug
Reporter: Raghav Aggarwal
Assignee: Raghav Aggarwal
Stacktrace:
{code:java}
2026-02-15 20:50:20,609 INFO zookeeper.ZkAMRegistryClient: AM registered with
data: {hostName=cb86f81d582a, externalId=tez-session-, hostIp=172.17.0.2,
port=10001, computeName=default-compute, appId=application_1769280834537_0000}.
Notifying listeners.2026-02-15 20:50:20,672 INFO zookeeper.ZooKeeper: Session:
0x100040757d70034 closed2026-02-15 20:50:20,672 INFO zookeeper.ClientCnxn:
EventThread shut down for session: 0x100040757d70034Exception in thread "main"
java.lang.NullPointerException: Cannot invoke
"org.apache.tez.client.registry.AMRecord.getApplicationId()" because
"this.amRecord" is null at
org.apache.tez.client.registry.zookeeper.ZkFrameworkClient.createApplication(ZkFrameworkClient.java:114)
at org.apache.tez.client.TezClient.createApplication(TezClient.java:1103)
at org.apache.tez.client.TezClient.start(TezClient.java:399) {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)