Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
0.23.3, 0.24.0
-
None
-
Reviewed
Description
The deprecated Configuration logic works as follows:
For a dK deprecated key in favor of nK:
- on set(dK, V), it stores (nK,V)
- on get(dK) it does a reverseLookup of dK to nK and looks for get(nK)
While this works fine for single set/get operations, the iterator() method that returns an iterator of all config key/values, returns only the new keys.
This breaks applications that did a set(dK, V) and expect, when iterating over the configuration to find (dK, V).
Attachments
Attachments
Issue Links
- breaks
-
HADOOP-8172 Configuration no longer sets all keys in a deprecated key list.
- Closed
- is depended upon by
-
OOZIE-761 Fixes in CoordELFunctions and testcases for Hadoop 0.23
- Closed
- is related to
-
HADOOP-10178 Configuration deprecation always emit "deprecated" warnings when a new key is used
- Closed