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

Proxy user is problem for RPC interface if yarn.resourcemanager.webapp.proxyuser is not set.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.6.0
    • 2.6.0
    • resourcemanager
    • None
    • Reviewed

    Description

      After YARN-2656, if people set hadoop.proxyuser for the client<-->RM RPC interface, it's not going to work, because ProxyUsers#sip is a singleton per daemon. After YARN-2656, RM has both channels that want to set this configuration: RPC and HTTP. RPC interface sets it first by reading hadoop.proxyuser, but it is overwritten by HTTP interface, who sets it to empty because yarn.resourcemanager.webapp.proxyuser doesn't exist.

      The fix for it could be similar to what we've done for YARN-2676: make the HTTP interface anyway source hadoop.proxyuser first, then yarn.resourcemanager.webapp.proxyuser.

      Attachments

        1. YARN-2715.1.patch
          9 kB
          Zhijie Shen
        2. YARN-2715.2.patch
          11 kB
          Zhijie Shen
        3. YARN-2715.3.patch
          16 kB
          Zhijie Shen
        4. YARN-2715.4.patch
          18 kB
          Zhijie Shen

        Issue Links

          Activity

            People

              zjshen Zhijie Shen
              zjshen Zhijie Shen
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: