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

Update without holding write lock in JavaKeyStoreProvider#innerSetCredential()

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.6.0
    • Component/s: None
    • Labels:
      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-v1.txt
          1.0 kB
          Ted Yu
        2. hadoop-10732-v2.txt
          5 kB
          Ted Yu

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: