Hadoop Common
  1. Hadoop Common
  2. HADOOP-10590

ServiceAuthorizationManager is not threadsafe

    Details

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

      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

          Karthik Kambatla (Inactive) made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Vinayakumar B made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Hadoop Flags Reviewed [ 10343 ]
          Fix Version/s 2.5.0 [ 12326263 ]
          Resolution Fixed [ 1 ]
          Benoy Antony made changes -
          Attachment performance-test-without-rpc.patch [ 12649444 ]
          Benoy Antony made changes -
          Link This issue is related to HADOOP-10648 [ HADOOP-10648 ]
          Benoy Antony made changes -
          Attachment performancetest.patch [ 12647327 ]
          Benoy Antony made changes -
          Attachment performancetest.patch [ 12647326 ]
          Benoy Antony made changes -
          Attachment performancetest.patch [ 12647326 ]
          Benoy Antony made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Benoy Antony made changes -
          Link This issue relates to HADOOP-10593 [ HADOOP-10593 ]
          Benoy Antony made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Benoy Antony made changes -
          Attachment HADOOP-10590.patch [ 12644083 ]
          Benoy Antony made changes -
          Attachment HADOOP-10590.patch [ 12644085 ]
          Benoy Antony made changes -
          Attachment HADOOP-10590.patch [ 12644084 ]
          Benoy Antony made changes -
          Attachment HADOOP-10590.patch [ 12644084 ]
          Benoy Antony made changes -
          Field Original Value New Value
          Attachment HADOOP-10590.patch [ 12644083 ]
          Benoy Antony created issue -

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development