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

Configuration should allow storage of null values.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Reopened
    • Major
    • Resolution: Unresolved
    • None
    • None
    • conf
    • None

    Description

      Currently the configuration class does not allow null keys and values. Null keys don't make sense, but null values may have semantic meaning for some features. Not storing these values in configuration causes some arguable side effects. For instance, if a value is defined in defaults, but wants to be disabled in site configuration by setting it to null, there's no way to do this currently. Also, no track of keys with null values is recorded. Hence, tools like dump configuration (HADOOP-6184) would not display these properties.

      Does this seem like a sensible use case ?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              yhemanth Hemanth Yamijala
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated: