But there is one problem now: Whenever I open the web ui included in a module, like Hue or HDFS , the link is presented by the host name rather than ip address. Even though I can replace the host name by ip address manually, it is very uncomfortable. I don't have administrator access to my computer, so editting the local host file is impossible.

For example, I have three nodes and change the hosts file as following:

10.0.1.10 master

10.0.1.11 slave1

10.0.1.12 slave2

After installation, if I click the NameNode WEB UI link under HDFS or HUE, the link direct me to address like master:50070. However I want to change this link to 10.0.1.10:50070 in default, since my dev computer doesn't have host info of master. Even though I can access the HDFS namenode web ui by type 10.0.1.10:50070 manualy, it is still a little incovenient.