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)

Reply via email to