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

RM should not issue delegation tokens in unsecure mode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha1
    • None
    • None
    • Incompatible change, Reviewed
    • Yarn now only issues and allows delegation tokens in secure clusters. Clients should no longer request delegation tokens in a non-secure cluster, or they'll receive an IOException.

    Description

      ClientRMService#getDelegationToken is currently returning a delegation token in insecure mode. We should not return the token if it's in insecure mode.

      Attachments

        1. 0001-YARN-4126.patch
          1.0 kB
          Bibin Chundatt
        2. 0002-YARN-4126.patch
          2 kB
          Bibin Chundatt
        3. 0003-YARN-4126.patch
          11 kB
          Bibin Chundatt
        4. 0004-YARN-4126.patch
          13 kB
          Bibin Chundatt
        5. 0005-YARN-4126.patch
          14 kB
          Bibin Chundatt
        6. 0006-YARN-4126.patch
          31 kB
          Bibin Chundatt

        Issue Links

          Activity

            People

              bibinchundatt Bibin Chundatt
              jianhe Jian He
              Votes:
              0 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: