Yes; I have my PATH configured to list /sw/bin before
/usr/bin. Curiously, hadoop tries to invoke /sw/bin/whoami even when I
set PATH to
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/X11R6/bin:/usr/local/bin
before starting the daemons and attempting to run the job.
L.G.
Received from Stefan Groschupf on Mon, Jun 23, 2008 at 04:49:23PM EDT:
> The fink part and /sw confuses me. When I do a which on my os x I
> get: $ which whoami /usr/bin/whoami Are you using the same whoami on
> your console as hadoop?
>
> On Jun 23, 2008, at 10:37 PM, Lev Givon wrote:
>
>> 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
>>>
>>>
>>
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 101tec Inc.
> Menlo Park, California, USA
> http://www.101tec.com
>
>