Scaling Namespaces and Optimizing Data Storage
Also available as:
PDF
loading table of contents...

Customize the HDFS home directory

By default, the HDFS home directory is set to /user/<user_name>. Use the dfs.user.home.base.dir property to customize the HDFS home directory.

In hdfs-site.xml file, set the value of the dfs.user.home.base.dir property.

<property>
  <name>dfs.user.home.base.dir</name>
  <value>/user</value>
  <description>Base directory of user home.</description>
</property>
In the example, <value> is the path to the new home directory.