Rajeshbabu Chintaguntla created PHOENIX-7197:
------------------------------------------------

             Summary: PhoenixMRJobSubmitter is failing in non-ha cluster
                 Key: PHOENIX-7197
                 URL: https://issues.apache.org/jira/browse/PHOENIX-7197
             Project: Phoenix
          Issue Type: Bug
    Affects Versions: 5.1.3
            Reporter: Rajeshbabu Chintaguntla
            Assignee: Rajeshbabu Chintaguntla
             Fix For: 5.2.0, 5.1.4


Currently starting PhoenixMRJobSubmitter is expecting yarn HA should be enabled 
otherwise it's failing
{noformat}
2024-02-07 06:01:31,942 INFO  [main] zookeeper.ZooKeeper: Session: 
0x100293e630a0088 closed

Exception in thread "main" 2024-02-07 06:01:31,942 INFO  [main-EventThread] 
zookeeper.ClientCnxn: EventThread shut down for session: 0x100293e630a0088

org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode 
for /yarn-leader-election

        at org.apache.zookeeper.KeeperException.create(KeeperException.java:118)

        at org.apache.zookeeper.KeeperException.create(KeeperException.java:54)

        at org.apache.zookeeper.ZooKeeper.getChildren(ZooKeeper.java:2589)

        at 
org.apache.phoenix.util.PhoenixMRJobUtil.getActiveResourceManagerAddress(PhoenixMRJobUtil.java:103)

        at 
org.apache.phoenix.mapreduce.index.automation.PhoenixMRJobSubmitter.getSubmittedYarnApps(PhoenixMRJobSubmitter.java:305)

        at 
org.apache.phoenix.mapreduce.index.automation.PhoenixMRJobSubmitter.scheduleIndexBuilds(PhoenixMRJobSubmitter.java:251)

        at 
org.apache.phoenix.mapreduce.index.automation.PhoenixMRJobSubmitter.main(PhoenixMRJobSubmitter.java:332)

{noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to