简体   繁体   中英

Location of hdfs files in pseudodistributed single node cluster?

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:

  1. https://hadoop.apache.org/docs/r2.3.0/hadoop-project-dist/hadoop-hdfs/hdfs-default.xml
  2. http://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/core-default.xml

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM