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

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

    [ https://issues.apache.org/jira/browse/PHOENIX-6351?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17338241#comment-17338241 ] 

Richárd Antal edited comment on PHOENIX-6351 at 5/3/21, 8:43 AM:
-----------------------------------------------------------------

PR merged to master and I committed to 5.1 and 4.x as well.
 Thanks for the reviews [~stoty] and [~gjacoby] 


was (Author: richardantal):
PR merged to master and I committed to 5.1 and 4.x as well.
Thanks for the reviews [~stoty] and [~gjacoby] **

> 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
>
> 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)