Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-10866

RequestHedgingRMFailoverProxyProvider fails to connect to Active RM if standby host info is missing

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.3.1
    • Fix Version/s: None
    • Component/s: client
    • Labels:
      None

      Description

      RequestHedgingRMFailoverProxyProvider fails to connect to Active RM if standby host info is missing in /etc/hosts

      2021-07-19 13:07:18,892 ERROR [Listener at 0.0.0.0/45951] org.apache.hadoop.mapreduce.v2.app.MRAppMaster: Error starting MRAppMaster
      java.lang.IllegalArgumentException: java.net.UnknownHostException: resourcemanager-1.resourcemanager
              at org.apache.hadoop.security.SecurityUtil.buildTokenService(SecurityUtil.java:466)
              at org.apache.hadoop.yarn.client.ClientRMProxy.getTokenService(ClientRMProxy.java:154)
              at org.apache.hadoop.yarn.client.ClientRMProxy.getAMRMTokenService(ClientRMProxy.java:139)
              at org.apache.hadoop.yarn.client.ClientRMProxy.setAMRMTokenService(ClientRMProxy.java:81)
              at org.apache.hadoop.yarn.client.ClientRMProxy.getRMAddress(ClientRMProxy.java:100)
              at org.apache.hadoop.yarn.client.ConfiguredRMFailoverProxyProvider.getProxyInternal(ConfiguredRMFailoverProxyProvider.java:76)
              at org.apache.hadoop.yarn.client.RequestHedgingRMFailoverProxyProvider.init(RequestHedgingRMFailoverProxyProvider.java:75)
              at org.apache.hadoop.yarn.client.RMProxy.createRMFailoverProxyProvider(RMProxy.java:194)
              at org.apache.hadoop.yarn.client.RMProxy.newProxyInstance(RMProxy.java:130)
              at org.apache.hadoop.yarn.client.RMProxy.createRMProxy(RMProxy.java:103)
      

        Attachments

          Activity

            People

            • Assignee:
              prabhujoseph Prabhu Joseph
              Reporter:
              prabhujoseph Prabhu Joseph
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: