I tried to use the topology script defined by topology.script.file.name property in order for rack awareness. After setting and restart hadoop, I ran the wordcount example to test rack awareness. However, some hosts are assigned to valid rack IDs produced by ip address, but others are assigned to invalid rack IDs produced by hostnames.
In order to find the problem, I added dump code to the topology script file in order to store all given arguments to certain file. As a result, I knew that in most times the topology script file is called by IP address but in some case it is called by hostname. Is it correct? -- Hyunsik Choi Database & Information Systems Group, Korea University
