Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.0.5-alpha
-
None
-
None
Description
Currently deprecated keys are registered at various times. Some are registered when the Configuration class itself is initialized, but the vast majority are registered when the JobConf class is initialized.
Therefore, it is entirely possible (and does happen) that Configuration.set() is called for a key before its deprecation mapping is registered, thus leaving the internal state of Configuration in an inconsistent state.
We actually had this problem occur in real life, causing the set value not to be recognized.