hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject Re: Help regarding LoginException - CreateProcess: whoami error=2
Date Mon, 07 Jul 2008 10:42:26 GMT
Rutuja Joshi wrote:
> Hello,
> 
> I am new to Hadoop and am trying to run
> HadoopDfsReadWriteExample<http://wiki.apache.org/hadoop/HadoopDfsReadWriteExample?action=fullsearch&value=linkto%3A%22HadoopDfsReadWriteExample%22&context=180>
> 
> from eclipse on Windows XP.
> 
> I have added following files in the build path for the project:
> commons-logging-1.0.4.jar
> hadoop-0.16.4-core.jar
> log4j-1.2.11.jar
> 
> I am receiving following exception while trying to access the file system
> corresponding to my configuration files . Note, that HDFS is up and I can
> put files on HDFS from cygwin and browse HDFS using the web interface. Can
> someone pls help me resolve this issue? I understand that it is not able to
> execute whoami, but I do not know how I can execute whoami from eclipse
> successfully. Also, pls note that there is no space in my user name.
> 
> Thanks in advance for your time,
> Rutuja
> ==================================================================================================
> 08/07/03 15:40:48 WARN fs.FileSystem: uri=hdfs://localhost:7072
> javax.security.auth.login.LoginException: Login failed: CreateProcess:
> whoami error=2


that's DOS/Win32 path not found. hadoop is trying to run 'whoami' and 
failing. Do you have Cygwin installed?

Mime
View raw message