Where does HDFS store files locally by default? How to set
In the core-site.xml configuration file in the hadoop-2.7.2/etc/hadoop/ directory
<property>
<name>hadoop.tmp.dir</name>
<value>/root/soft/tmp</value>
</property>
This is where your files are stored locally, and you can also set it freely.