You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Max Xie (Jira)" <ji...@apache.org> on 2020/09/04 08:40:00 UTC

[jira] [Created] (HIVE-24119) fix the issue that the client got wrong jobTrackerUrl when resourcemanager has ha instances

Max  Xie created HIVE-24119:
-------------------------------

             Summary: fix the issue that the client got wrong jobTrackerUrl when resourcemanager has ha instances
                 Key: HIVE-24119
                 URL: https://issues.apache.org/jira/browse/HIVE-24119
             Project: Hive
          Issue Type: Improvement
          Components: Shims
    Affects Versions: 2.1.0
         Environment: ha resourcemanager
            Reporter: Max  Xie
            Assignee: Max  Xie
         Attachments: image-2020-09-04-16-34-28-341.png

When the clusters set HA ResourceManagers , the conf  `yarn.resourcemanager.address.rm1` or `yarn.resourcemanager.address.rm2`  will replace  the conf `yarn.resourcemanager.address`. 

the conf `yarn.resourcemanager.address` may be not set,  then the method Hadoop23Shims.getJobLauncherRpcAddress  will return a wrong value. 

!image-2020-09-04-16-34-28-341.png!

Maybe it should return the value of  the conf `yarn.resourcemanager.address.rm1` or `yarn.resourcemanager.address.rm2`



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