Hadoop Common
  1. Hadoop Common
  2. HADOOP-6670

UserGroupInformation doesn't support use in hash tables

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.22.0
    • Component/s: security
    • Labels:
      None

      Description

      The UserGroupInformation objects are mutable, but they are used as keys in hash tables. This leads to serious problems in the FileSystem cache and RPC connection cache. We need to change the hashCode to be the identity hash code of the Subject and change equals to use == between the Subjects.

      1. 6670-gridmix-test.bugfix.patch
        2 kB
        Devaraj Das
      2. c6670-02.patch
        6 kB
        Kan Zhang
      3. c6670-03.patch
        6 kB
        Kan Zhang
      4. fs-close.patch
        12 kB
        Owen O'Malley
      5. fs-close.patch
        9 kB
        Owen O'Malley
      6. fs-close.patch
        13 kB
        Owen O'Malley

        Issue Links

          Activity

          Chris Nauroth made changes -
          Link This issue is related to HADOOP-12529 [ HADOOP-12529 ]
          Konstantin Shvachko made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Devaraj Das made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Fix Version/s 0.22.0 [ 12314296 ]
          Resolution Fixed [ 1 ]
          Kan Zhang made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Kan Zhang made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Kan Zhang made changes -
          Attachment c6670-03.patch [ 12449720 ]
          Kan Zhang made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Kan Zhang made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Kan Zhang made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Kan Zhang made changes -
          Attachment c6670-02.patch [ 12449172 ]
          Devaraj Das made changes -
          Attachment 6670-gridmix-test.bugfix.patch [ 12442760 ]
          Owen O'Malley made changes -
          Attachment fs-close.patch [ 12440773 ]
          Owen O'Malley made changes -
          Attachment fs-close.patch [ 12440538 ]
          Owen O'Malley made changes -
          Field Original Value New Value
          Attachment fs-close.patch [ 12440448 ]
          Owen O'Malley created issue -

            People

            • Assignee:
              Owen O'Malley
              Reporter:
              Owen O'Malley
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development