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

ServiceAuthorizationManager is not threadsafe

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment