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

Change Configuration.getPropsWithPrefix to use getProps instead of iterator

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.0, 3.0.0
    • Component/s: None
    • Labels:
      None

      Description

      Current implementation of getPropsWithPrefix uses the Configuration.iterator() method. This method is not threadsafe.

      This patch will reimplement the gathering of properties that begin with a prefix by using the safe getProps() method.

        Attachments

        1. HADOOP-13556-001.patch
          1 kB
          Larry McCay
        2. HADOOP-13556-002.patch
          2 kB
          Larry McCay

          Issue Links

            Activity

              People

              • Assignee:
                lmccay Larry McCay
                Reporter:
                lmccay Larry McCay
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: