Hadoop Common
  1. Hadoop Common
  2. HADOOP-10402

Configuration.getValByRegex does not substitute for variables

    Details

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

      Description

      When using Configuration.getValByRegex(...), variables are not resolved.

      For example:

      <property>
         <name>bar</name>
         <value>woot</value>
      </property>
      <property>
         <name>foo3</name>
         <value>${bar}</value>
      </property>
      

      If you then try to do something like Configuration.getValByRegex(foo.*), it will return a Map containing "foo3=${bar}" instead of "foo3=woot"

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Robert Kanter
            Reporter:
            Robert Kanter
          • Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development