Both the daemons and the job were started using the same user. L.G.
Received from Stefan Groschupf on Mon, Jun 23, 2008 at 04:34:54PM EDT: > Which user runs the hadoop? It should be the same you trigger the job with. > > On Jun 23, 2008, at 10:29 PM, Lev Givon wrote: > >> I recently installed hadoop 0.17.0 in pseudo-distributed mode on a >> MacOSX 10.5.3 system with software managed by Fink installed in /sw. I >> configured hadoop to use the stock Java 1.5.0_13 installation in >> /Library/Java/Home. When I attempted to run a simple map/reduce job >> off of the dfs after starting up the daemons, the job failed with the >> following Java error (501 is the ID of the user used to start the >> hadoop daemons and run the map/reduce job): >> >> javax.security.auth.login.LoginException: Login failed: >> /sw/bin/whoami: cannot find name for user ID 501 >> >> What might be causing this to occur? Manually running /sw/bin/whoami >> as the user in question returns the corresponding username. >> >> L.G. >> >> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 101tec Inc. > Menlo Park, California, USA > http://www.101tec.com > >