You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-user@hadoop.apache.org by Mohammad Tariq <do...@gmail.com> on 2011/11/28 21:21:19 UTC
Error in namenode log file
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)
2011-11-29 01:44:59,571 INFO
org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Roll Edit Log
from 127.0.0.1
2011-11-29 01:44:59,572 INFO
org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Number of
transactions: 0 Total time for transactions(ms): 0Number of
transactions batched in Syncs: 0 Number of syncs: 0 SyncTimes(ms): 0
2011-11-29 01:45:02,416 INFO
org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Roll FSImage from
127.0.0.1
2011-11-29 01:45:02,416 INFO
org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Number of
transactions: 0 Total time for transactions(ms): 0Number of
transactions batched in Syncs: 0 Number of syncs: 1 SyncTimes(ms): 109
Regards,
Mohammad Tariq
Re: Error in namenode log file
Posted by Mohammad Tariq <do...@gmail.com>.
Hey Alex,
Thank you so much..:)
Regards,
Mohammad Tariq
On Tue, Nov 29, 2011 at 1:54 PM, Alexander C.H. Lorenz
<wg...@googlemail.com> 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
> <wg...@googlemail.com> 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 <do...@gmail.com>
>> wrote:
>>>
>>> Thanks for the info Alex
>>>
>>> Regards,
>>> Mohammad Tariq
>>>
>>>
>>>
>>> On Tue, Nov 29, 2011 at 1:09 PM, Alexander C.H. Lorenz
>>> <wg...@googlemail.com> 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 <do...@gmail.com>
>>> > 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)
>>> >> 2011-11-29 01:44:59,571 INFO
>>> >> org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Roll Edit Log
>>> >> from 127.0.0.1
>>> >> 2011-11-29 01:44:59,572 INFO
>>> >> org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Number of
>>> >> transactions: 0 Total time for transactions(ms): 0Number of
>>> >> transactions batched in Syncs: 0 Number of syncs: 0 SyncTimes(ms): 0
>>> >> 2011-11-29 01:45:02,416 INFO
>>> >> org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Roll FSImage from
>>> >> 127.0.0.1
>>> >> 2011-11-29 01:45:02,416 INFO
>>> >> org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Number of
>>> >> transactions: 0 Total time for transactions(ms): 0Number of
>>> >> transactions batched in Syncs: 0 Number of syncs: 1 SyncTimes(ms): 109
>>> >>
>>> >> Regards,
>>> >> Mohammad Tariq
>>> >
>>> >
>>> >
>>> > --
>>> > Alexander Lorenz
>>> > http://mapredit.blogspot.com
>>> > P Think of the environment: please don't print this email unless you
>>> > really
>>> > need to.
>>> >
>>> >
>>
>>
>>
>> --
>> Alexander Lorenz
>> http://mapredit.blogspot.com
>> P Think of the environment: please don't print this email unless you
>> really need to.
>>
>
>
>
> --
> Alexander Lorenz
> http://mapredit.blogspot.com
> P Think of the environment: please don't print this email unless you really
> need to.
>
>
Re: Error in namenode log file
Posted by "Alexander C.H. Lorenz" <wg...@googlemail.com>.
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 <
wget.null@googlemail.com> 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 <do...@gmail.com>wrote:
>
>> Thanks for the info Alex
>>
>> Regards,
>> Mohammad Tariq
>>
>>
>>
>> On Tue, Nov 29, 2011 at 1:09 PM, Alexander C.H. Lorenz
>> <wg...@googlemail.com> 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 <do...@gmail.com>
>> 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)
>> >> 2011-11-29 01:44:59,571 INFO
>> >> org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Roll Edit Log
>> >> from 127.0.0.1
>> >> 2011-11-29 01:44:59,572 INFO
>> >> org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Number of
>> >> transactions: 0 Total time for transactions(ms): 0Number of
>> >> transactions batched in Syncs: 0 Number of syncs: 0 SyncTimes(ms): 0
>> >> 2011-11-29 01:45:02,416 INFO
>> >> org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Roll FSImage from
>> >> 127.0.0.1
>> >> 2011-11-29 01:45:02,416 INFO
>> >> org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Number of
>> >> transactions: 0 Total time for transactions(ms): 0Number of
>> >> transactions batched in Syncs: 0 Number of syncs: 1 SyncTimes(ms): 109
>> >>
>> >> Regards,
>> >> Mohammad Tariq
>> >
>> >
>> >
>> > --
>> > Alexander Lorenz
>> > http://mapredit.blogspot.com
>> > P Think of the environment: please don't print this email unless you
>> really
>> > need to.
>> >
>> >
>>
>
>
>
> --
> Alexander Lorenz
> http://mapredit.blogspot.com
>
> *P **Think of the environment: please don't print this email unless you
> really need to.*
>
>
>
--
Alexander Lorenz
http://mapredit.blogspot.com
*P **Think of the environment: please don't print this email unless you
really need to.*
Re: Error in namenode log file
Posted by "Alexander C.H. Lorenz" <wg...@googlemail.com>.
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 <do...@gmail.com> wrote:
> Thanks for the info Alex
>
> Regards,
> Mohammad Tariq
>
>
>
> On Tue, Nov 29, 2011 at 1:09 PM, Alexander C.H. Lorenz
> <wg...@googlemail.com> 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 <do...@gmail.com>
> 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)
> >> 2011-11-29 01:44:59,571 INFO
> >> org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Roll Edit Log
> >> from 127.0.0.1
> >> 2011-11-29 01:44:59,572 INFO
> >> org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Number of
> >> transactions: 0 Total time for transactions(ms): 0Number of
> >> transactions batched in Syncs: 0 Number of syncs: 0 SyncTimes(ms): 0
> >> 2011-11-29 01:45:02,416 INFO
> >> org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Roll FSImage from
> >> 127.0.0.1
> >> 2011-11-29 01:45:02,416 INFO
> >> org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Number of
> >> transactions: 0 Total time for transactions(ms): 0Number of
> >> transactions batched in Syncs: 0 Number of syncs: 1 SyncTimes(ms): 109
> >>
> >> Regards,
> >> Mohammad Tariq
> >
> >
> >
> > --
> > Alexander Lorenz
> > http://mapredit.blogspot.com
> > P Think of the environment: please don't print this email unless you
> really
> > need to.
> >
> >
>
--
Alexander Lorenz
http://mapredit.blogspot.com
*P **Think of the environment: please don't print this email unless you
really need to.*
Re: Error in namenode log file
Posted by Mohammad Tariq <do...@gmail.com>.
Thanks for the info Alex
Regards,
Mohammad Tariq
On Tue, Nov 29, 2011 at 1:09 PM, Alexander C.H. Lorenz
<wg...@googlemail.com> 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 <do...@gmail.com> 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)
>> 2011-11-29 01:44:59,571 INFO
>> org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Roll Edit Log
>> from 127.0.0.1
>> 2011-11-29 01:44:59,572 INFO
>> org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Number of
>> transactions: 0 Total time for transactions(ms): 0Number of
>> transactions batched in Syncs: 0 Number of syncs: 0 SyncTimes(ms): 0
>> 2011-11-29 01:45:02,416 INFO
>> org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Roll FSImage from
>> 127.0.0.1
>> 2011-11-29 01:45:02,416 INFO
>> org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Number of
>> transactions: 0 Total time for transactions(ms): 0Number of
>> transactions batched in Syncs: 0 Number of syncs: 1 SyncTimes(ms): 109
>>
>> Regards,
>> Mohammad Tariq
>
>
>
> --
> Alexander Lorenz
> http://mapredit.blogspot.com
> P Think of the environment: please don't print this email unless you really
> need to.
>
>
Re: Error in namenode log file
Posted by "Alexander C.H. Lorenz" <wg...@googlemail.com>.
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 <do...@gmail.com> 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)
> 2011-11-29 01:44:59,571 INFO
> org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Roll Edit Log
> from 127.0.0.1
> 2011-11-29 01:44:59,572 INFO
> org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Number of
> transactions: 0 Total time for transactions(ms): 0Number of
> transactions batched in Syncs: 0 Number of syncs: 0 SyncTimes(ms): 0
> 2011-11-29 01:45:02,416 INFO
> org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Roll FSImage from
> 127.0.0.1
> 2011-11-29 01:45:02,416 INFO
> org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Number of
> transactions: 0 Total time for transactions(ms): 0Number of
> transactions batched in Syncs: 0 Number of syncs: 1 SyncTimes(ms): 109
>
> Regards,
> Mohammad Tariq
>
--
Alexander Lorenz
http://mapredit.blogspot.com
*P **Think of the environment: please don't print this email unless you
really need to.*