Search code examples
hadoopconfigurationhdfsconfiguration-files

Is the `dfs.data.dir` property deprecated in Hadoop 2.x series?


Is the dfs.data.dir property still valid in the 2.x series? From this hdfs-site.xml documentation for what is presumably the version 1.2.1 and this hdfs-site.xml documentation for what is again presumably 2.4.1, it is apparent that dfs.data.dir has been deprecated. Is my inference true? If so, what is its equivalent now? Change hadoop.tmp.dir in production and leave it?


Solution

  • Please look at this link Deprecated property, Since the property is marked as deprecated, still you can utilize the functional behavior of the property. Better use the Deprecated property.