Customizing the HDFS Home Directory
By default, the HDFS home directory is set to /user/<user_name>
. You can
use the dfs.user.home.base.dir
property to customize the HDFS home directory.
In Ambari Web, browse to Services > HDFS > Configs > Advanced.
Click Custom hdfs-site, then click Add Property.
On the Add Property pop-up, add the following property:
dfs.user.home.base.dir=<home_directory>
Where
<home_directory>
is the path to the new home directory.Click Add, then save the new configuration and restart, as prompted.