You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Istvan Toth (Jira)" <ji...@apache.org> on 2021/01/30 08:51:00 UTC

[jira] [Created] (PHOENIX-6351) PhoenixMRJobUtil getActiveResourceManagerAddress logic fails on pseudodistributed cluster

Istvan Toth created PHOENIX-6351:
------------------------------------

             Summary: PhoenixMRJobUtil getActiveResourceManagerAddress logic fails on pseudodistributed cluster
                 Key: PHOENIX-6351
                 URL: https://issues.apache.org/jira/browse/PHOENIX-6351
             Project: Phoenix
          Issue Type: Bug
          Components: core
            Reporter: Istvan Toth


In org.apache.phoenix.util.PhoenixMRJobUtil.getActiveResourceManagerAddress(Configuration, String)
We first check if YarnConfiguration.DEFAULT_RM_WEBAPP_ADDRESS is changed from the default, and if it isn't, we try to get the HA RM from ZK.

This fails with the default config on a pseudo-distributed cluster.

We should probably try to get the HA RM first, and fall back to YarnConfiguration.RM_WEBAPP_ADDRESS if that one is not available. 



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