A little coordinator/cpumonitor issue

I ran into this issue just recently. I couldn't get swingbench to talk to the coordinator and sadly the large RMI stack traces didn't explain it very well. It turns out that Java RMI expects the hostname and hostname.domain in the /etc/hosts file to be on a separate line to the localhost entry i.e. on the second line.

For example change localhost localhost.localdomain saturn saturn.planets

to localhost localhost.localdomain saturn saturn.planets

Making this simple modification gets everything working as expected. This problem is common in a DHCP environment (not ideal for benchmarking) where you acquire ip address and potentially hostnames dynamincally. Its good practice to keep them on separate lines anyway.
blog comments powered by Disqus