I have hadoop installed on a single node, in a pseudodistributed mode. The dfs.replication value is 1. Where are the files in the hdfs stored by default? The version of hadoop I am using is 2.5.1.
dfs.datanode.data.dir: Determines where on the local filesystem an DFS data node should store its blocks. If this is a comma-delimited list of directories, then data will be stored in all named directories, typically on different devices. Directories that do not exist are ignored.
Default value of this property is: file://${hadoop.tmp.dir}/dfs/data You can configure ${hadoop.tmp.dir} in core-site.xml file. Its default value is: /tmp/hadoop-${user.name}
References:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.