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

Update without holding write lock in JavaKeyStoreProvider#innerSetCredential()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.6.0
    • None
    • None

    Description

      In hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/alias/JavaKeyStoreProvider.java,
      innerSetCredential() doesn't wrap update with writeLock.lock() / writeLock.unlock().

      Attachments

        1. hadoop-10732-v2.txt
          5 kB
          Ted Yu
        2. hadoop-10732-v1.txt
          1.0 kB
          Ted Yu

        Activity

          People

            yuzhihong@gmail.com Ted Yu
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: