Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-6351

PhoenixMRJobUtil getActiveResourceManagerAddress logic fails on pseudodistributed cluster

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 4.17.0, 5.2.0, 5.1.2
    • core
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              richardantal Richárd Antal
              stoty Istvan Toth
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: