Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-6670

UserGroupInformation doesn't support use in hash tables

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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.

        Attachments

        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

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: