Replaced "localhost" with "hadoop" in order to support fig