Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HDFS >> mail # user >> Error in namenode log file


Copy link to this message
-
Re: Error in namenode log file
Hey Alex,
  Thank you so much..:)

Regards,
    Mohammad Tariq

On Tue, Nov 29, 2011 at 1:54 PM, Alexander C.H. Lorenz
<[EMAIL PROTECTED]> wrote:
> Hey, thanks. I corrected the answer.
> best,
>  Alex
> btw skype is open ;)
>
> On Tue, Nov 29, 2011 at 9:24 AM, Alexander C.H. Lorenz
> <[EMAIL PROTECTED]> wrote:
>>
>> Correction (early here and no coffee):
>> If you set the webuser to the superuser you can see everything with the
>> webgui. Was not cleary enough. The webuser in default is a user with lesser
>> permissions.
>> Sorry,
>>  Alex
>>
>>
>> On Tue, Nov 29, 2011 at 8:49 AM, Mohammad Tariq <[EMAIL PROTECTED]>
>> wrote:
>>>
>>> Thanks for the info Alex
>>>
>>> Regards,
>>>     Mohammad Tariq
>>>
>>>
>>>
>>> On Tue, Nov 29, 2011 at 1:09 PM, Alexander C.H. Lorenz
>>> <[EMAIL PROTECTED]> wrote:
>>> > Hi,
>>> > the user "webuser" is a internal user (dfs.web.ugi  = webuser,
>>> > webgroup) and
>>> > can be configured. This is the superuser, can read all content and is
>>> > usually used by the webinterfaces. You can add a system user (adduser
>>> > webuser -g webgroup).
>>> > - Alex
>>> >
>>> > On Mon, Nov 28, 2011 at 9:21 PM, Mohammad Tariq <[EMAIL PROTECTED]>
>>> > wrote:
>>> >>
>>> >> Hello,
>>> >>
>>> >>   Although the namenode is running properly I can see the below shown
>>> >> warning in the log file.Could anyone tell me its meaning????
>>> >>
>>> >> 2011-11-29 01:42:30,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
>>> >>
>>> >>        at org.apache.hadoop.util.Shell.runCommand(Shell.java:255)
>>> >>        at org.apache.hadoop.util.Shell.run(Shell.java:182)
>>> >>        at
>>> >>
>>> >> org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:375)
>>> >>        at org.apache.hadoop.util.Shell.execCommand(Shell.java:461)
>>> >>        at org.apache.hadoop.util.Shell.execCommand(Shell.java:444)
>>> >>        at
>>> >>
>>> >> org.apache.hadoop.security.ShellBasedUnixGroupsMapping.getUnixGroups(ShellBasedUnixGroupsMapping.java:68)
>>> >>        at
>>> >>
>>> >> org.apache.hadoop.security.ShellBasedUnixGroupsMapping.getGroups(ShellBasedUnixGroupsMapping.java:45)
>>> >>        at org.apache.hadoop.security.Groups.getGroups(Groups.java:79)
>>> >>        at
>>> >>
>>> >> org.apache.hadoop.security.UserGroupInformation.getGroupNames(UserGroupInformation.java:966)
>>> >>        at
>>> >>
>>> >> org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.<init>(FSPermissionChecker.java:50)
>>> >>        at
>>> >>
>>> >> org.apache.hadoop.hdfs.server.namenode.FSNamesystem.checkPermission(FSNamesystem.java:5160)
>>> >>        at
>>> >>
>>> >> org.apache.hadoop.hdfs.server.namenode.FSNamesystem.checkTraverse(FSNamesystem.java:5143)
>>> >>        at
>>> >>
>>> >> org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getFileInfo(FSNamesystem.java:1992)
>>> >>        at
>>> >>
>>> >> org.apache.hadoop.hdfs.server.namenode.NameNode.getFileInfo(NameNode.java:837)
>>> >>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> >>        at
>>> >>
>>> >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>> >>        at
>>> >>
>>> >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>> >>        at java.lang.reflect.Method.invoke(Method.java:597)
>>> >>        at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:563)
>>> >>        at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1388)
>>> >>        at org.apache.hadoop.ipc.Server$Handler$1.run(Server.java:1384)
>>> >>        at java.security.AccessController.doPrivileged(Native Method)
>>> >>        at javax.security.auth.Subject.doAs(Subject.java:396)
>>> >>        at
>>> >>
>>> >> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1059)
>>> >>        at org.apache.hadoop.ipc.Server$Handler.run(Server.java:1382)