Reputation: 30825
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.
Upvotes: 0
Views: 410
Reputation: 56
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:
Upvotes: 2