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

ServiceAuthorizationManager is not threadsafe

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.0
    • Fix Version/s: 2.5.0
    • Component/s: security
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      The mutators in ServiceAuthorizationManager are synchronized. The accessors are not synchronized.
      This results in visibility issues when ServiceAuthorizationManager's state is accessed from different threads.

        Attachments

        1. HADOOP-10590.patch
          2 kB
          Benoy Antony
        2. performancetest.patch
          5 kB
          Benoy Antony
        3. performance-test-without-rpc.patch
          4 kB
          Benoy Antony

          Issue Links

            Activity

              People

              • Assignee:
                benoyantony Benoy Antony
                Reporter:
                benoyantony Benoy Antony
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: