Description
If you do mapred hsadmin -getGroups it works fine (assuming mapreduce.jobhistory.admin.address is set properly in mapred-site.xml).
But if you do mapred hsadmin -getGroups foo_user, it will keep retrying to connect to localhost:
INFO ipc.Client: Retrying connect to server: 0.0.0.0/0.0.0.0:10033. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS) ...