Auto fetching of Hadoop GID and mapred UID

Instead of keeping hard coded values of hadoop group and mapred user,
this patch adds the feature of fetching the values from the node
itself.

Signed-off-by: Shashank Sahni <shredder12@gmail.com>