Details
-
Bug
-
Status: Reopened
-
Major
-
Resolution: Unresolved
-
None
-
None
-
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
- duplicates
-
HADOOP-8056 Configuration doesn't pass empty string values to tasks
- Resolved
-
HADOOP-11199 Configuration should be able to set empty value for property
- Resolved