HDFS-6959 Make the HDFS home directory location customizable.  Contributed by Yongjun Zhang
(cherry picked from commit f4caedfcbfeae7e2fe7c0e812ddbb087608a5ffd)