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

UserGroupInformation doesn't support use in hash tables

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.22.0
    • security
    • 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

              omalley Owen O'Malley
              omalley Owen O'Malley
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: