Details
Description
For example, you can't use -D options on the "hadoop fs" command line in order to specify the deprecated names of configuration options. The issue is that the ordering is:
- JVM starts
- GenericOptionsParser creates a Configuration object and calls set() for each of the options specified on command line
- DistributedFileSystem or other class eventually instantiates HdfsConfiguration which adds the deprecations
- Some class calls conf.get("new key") and sees the default instead of the version set on the command line
Attachments
Attachments
Issue Links
- relates to
-
HDFS-1932 Ensure that HDFS configuration deprecations are set up in every spot that HDFS configurations are loaded.
- Closed