You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Richárd Antal (Jira)" <ji...@apache.org> on 2021/05/03 08:46:00 UTC

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

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

Richárd Antal resolved PHOENIX-6351.
------------------------------------
    Fix Version/s: 5.1.2
                   5.2.0
                   4.17.0
       Resolution: Fixed

> 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
>            Assignee: Richárd Antal
>            Priority: Minor
>             Fix For: 4.17.0, 5.2.0, 5.1.2
>
>
> 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)