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

Change Configuration.getPropsWithPrefix to use getProps instead of iterator

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.9.0, 3.0.0
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: