Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-24119

fix the issue that the client got wrong jobTrackerUrl when resourcemanager has ha instances

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.1.0
    • Fix Version/s: None
    • Component/s: Shims
    • Environment:

      ha resourcemanager

      Description

      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. 

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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                max2049 Max Xie
                Reporter:
                max2049 Max Xie
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m