Where HDFS stores files locally by default?

前端 未结 5 1698
一整个雨季
一整个雨季 2020-12-05 13:09

I am running hadoop with default configuration with one-node cluster, and would like to find where HDFS stores files locally.

Any ideas?

Thanks.

5条回答
  •  心在旅途
    2020-12-05 13:29

    As "more recent answer" and to clarify hadoop version numbers:

    If you use Hadoop 1.2.1 (or something similar), @Binary Nerd's answer is still true.

    But if you use Hadoop 2.1.0-beta (or something similar), you should read the configuration documentation here and the option you want to set is: dfs.datanode.data.dir

提交回复
热议问题