Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
0.23.3, 0.24.0
-
None
Description
I did not look at the patch for HADOOP-8167 previously, but I did in response to a recent test failure. The patch appears to have changed the following code (I am just paraphrasing the code)
if(!deprecated(key)) { set(key, value); } else { for(String newKey: depricatedKeyMap.get(key)) { set(newKey, value); } }
to be
set(key, value); if(depricatedKeyMap.contains(key)) { set(deprecatedKeyMap.get(key)[0], value); } else if(reverseKeyMap.contains(key)) { set(reverseKeyMap.get(key), value); }
If a key is deprecated and is mapped to more then one new key value only the first one in the list will be set, where as previously all of them would be set.
Attachments
Attachments
Issue Links
- is broken by
-
HADOOP-8167 Configuration deprecation logic breaks backwards compatibility
- Closed