Where HDFS stores files locally by default?

前端 未结 5 1700
一整个雨季
一整个雨季 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:48

    Run this in the cmd prompt, and you will get the HDFS location:

    bin/hadoop fs -ls /
    

提交回复
热议问题