You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Richard Antal (Jira)" <ji...@apache.org> on 2020/03/31 09:23:00 UTC

[jira] [Updated] (PHOENIX-5810) PhoenixMRJobSubmitter is not working a cluster with a single yarn RM

     [ https://issues.apache.org/jira/browse/PHOENIX-5810?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard Antal updated PHOENIX-5810:
-----------------------------------
    Description: 
{code:java}
Exception in thread "main" org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /yarn-leader-election{code}
The error happens when we want to run scheduleIndexBuilds. In getSubmittedYarnApps, getActiveResourceManagerHost uses zookeeper to determine the active Resource Manager.
 But /yarn-leader-election only exists if yarn is in HA mode.

I think this function should work well when we have single yarn RM and read its address from the config.

  was:
Exception in thread "main" org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /yarn-leader-election
The error happens when we want to run scheduleIndexBuilds. In getSubmittedYarnApps, getActiveResourceManagerHost uses zookeeper to determine the active Resource Manager.
But /yarn-leader-election only exists if yarn is in HA mode.

I think this function should work well when we have single yarn RM and read its address from the config.


> PhoenixMRJobSubmitter is not working a cluster with a single yarn RM
> --------------------------------------------------------------------
>
>                 Key: PHOENIX-5810
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-5810
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Richard Antal
>            Priority: Major
>
> {code:java}
> Exception in thread "main" org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = NoNode for /yarn-leader-election{code}
> The error happens when we want to run scheduleIndexBuilds. In getSubmittedYarnApps, getActiveResourceManagerHost uses zookeeper to determine the active Resource Manager.
>  But /yarn-leader-election only exists if yarn is in HA mode.
> I think this function should work well when we have single yarn RM and read its address from the config.



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