hadoop version is 0.23.6
here can only be local, changed to another, the program will not run.
hadoop-lan-namenode-localhost.localdomain.log
recorded as follows:
2013-04-10 05:43:44,137 WARN org.apache.hadoop.security.UserGroupInformation: No groups available for user webuser
2013-04-10 05:43:44,157 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
at org.apache.hadoop.util.Shell.runCommand (Shell.java: 203)
at org.apache.hadoop.util.Shell.run (Shell.java: 130)
at org.apache.hadoop.util.Shell $ ShellCommandExecutor.execute (Shell.java: 323)
at org.apache.hadoop.util.Shell.execCommand (Shell.java: 409)
at org.apache.hadoop.util.Shell.execCommand (Shell.java: 392)
at org.apache.hadoop.security.ShellBasedUnixGroupsMapping.getUnixGroups (ShellBasedUnixGroupsMapping.java: 86)
at org.apache.hadoop.security.ShellBasedUnixGroupsMapping.getGroups (ShellBasedUnixGroupsMapping.java: 55)
at org.apache.hadoop.security.Groups.getGroups (Groups.java: 88)
at org.apache.hadoop.security.UserGroupInformation.getGroupNames (UserGroupInformation.java: 1109)
at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.checkPermission (FSNamesystem.java: 3602)
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.checkPathAccess (FSNamesystem.java: 3569)
at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getListing (FSNamesystem.java: 2496)
at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.getListing (NameNodeRpcServer.java: 581)
at sun.reflect.GeneratedMethodAccessor4.invoke (Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java: 43)
at java.lang.reflect.Method.invoke (Method.java: 601)
at org.apache.hadoop.ipc.WritableRpcEngine $ Server.call (WritableRpcEngine.java: 394)
at org.apache.hadoop.ipc.Server $ Handler $ 1.run (Server.java: 1530)
at org.apache.hadoop.ipc.Server $ Handler $ 1.run (Server.java: 1526)
at java.security.AccessController.doPrivileged (Native Method)
at javax.security.auth.Subject.doAs (Subject.java: 415)
at org.apache.hadoop.security.UserGroupInformation.doAs (UserGroupInformation.java: 1221)
at org.apache.hadoop.ipc.Server $ Handler.run (Server.java: 1524)
2013-04-10 05:43:44,158 WARN org.apache.hadoop.security.UserGroupInformation: No groups available for user webuser
----- - Solution --------------------------------------------
Add JOBTRACKER machine's IP address to the
/ etc / hosts
127.0.0.1 localhost
XXX.XXX.XXX.XXX nodename
modify
try after restart
If not
log of the JOBTRACKER stickers
没有评论:
发表评论