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

Missing lock in JavaKeyStoreProvider.createCredentialEntry

    XMLWordPrintableJSON

    Details

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

      Description

      JavaKeyStoreProvider uses ReentrantReadWriteLock to provide thread safety.
      The createCredentialEntry should hold writeLock before adding the entry.

        Attachments

        1. HADOOP-10830.patch
          1 kB
          Benoy Antony
        2. HADOOP-10830.patch
          2 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: