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

Configuration XML bug: empty values

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Won't Fix
    • None
    • None
    • conf
    • None

    Description

      The configuration parser doesn't handle empty values well:

      if ("value".equals(field.getTagName()) && field.hasChildNodes())

      This logic makes it impossible to 'unset' a field when loading multiple configurations.

      Attachments

        1. unset_with_tests.patch
          2 kB
          Rajagopal Natarajan
        2. unset_with_tests.patch
          2 kB
          Rajagopal Natarajan
        3. unset.patch
          1 kB
          Rajagopal Natarajan

        Issue Links

          Activity

            People

              nrajagopal Rajagopal Natarajan
              eelco Eelco Lempsink
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: