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. fs-close.patch
        13 kB
        Owen O'Malley
      2. fs-close.patch
        9 kB
        Owen O'Malley
      3. fs-close.patch
        12 kB
        Owen O'Malley
      4. 6670-gridmix-test.bugfix.patch
        2 kB
        Devaraj Das
      5. c6670-02.patch
        6 kB
        Kan Zhang
      6. c6670-03.patch
        6 kB
        Kan Zhang

        Activity

        No work has yet been logged on this 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