Error : No groups available for user webuser



0
When my Hadoop set up was in standalone mode, I ran WordCount program and it worked.

Now my Hadoop set up is in Sudo Distributed mode and the same WordCount program when I ran, it is throwing following error.

2015-09-14 14:23:09,582 WARN org.apache.hadoop.security.ShellBasedUnixGroupsMapping: got exception trying to get groups for user webuser
org.apache.hadoop.util.Shell$ExitCodeException: id: webuser: No such user

Did some research and found people recommending the following config in hdfs-site.xml


dfs.web.ugi
xeon,webuser,webgroup


Please let me know what should be the fix?