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: namenode format error during setting up hadoop using eclipse in windows 7
Date Thu, 20 Jan 2011 10:47:39 GMT
On 20/01/11 10:26, arunk786 wrote:
>
>
> Arun K@sairam ~/hadoop-0.19.2
> $ bin/hadoop namenode -format
> cygwin warning:
>    MS-DOS style path detected:
> C:\cygwin\home\ARUNK~1\HADOOP~1.2\/build/native
>    Preferred POSIX equivalent is: /home/ARUNK~1/HADOOP~1.2/build/native
>    CYGWIN environment variable option "nodosfilewarning" turns off this
> warning.
>    Consult the user's guide for more details about POSIX paths:
>      http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
> bin/hadoop: line 243: /cygdrive/c/Program: No such file or directory
> 11/01/19 03:53:13 INFO namenode.NameNode: STARTUP_MSG:
> /************************************************************
> STARTUP_MSG: Starting NameNode
> STARTUP_MSG:   host = sairam/10.0.1.105
> STARTUP_MSG:   args = [-format]
> STARTUP_MSG:   version = 0.19.2
> STARTUP_MSG:   build =
> https://svn.apache.org/repos/asf/hadoop/common/branches/b
> ranch-0.19 -r 789657; compiled by 'root' on Tue Jun 30 12:40:50 EDT 2009
> ************************************************************/
> 11/01/19 03:53:13 ERROR namenode.NameNode: java.io.IOException:
> javax.security.a
> uth.login.LoginException: Login failed: Expect one token as the result of
> whoami
> : sairam\arun k
*************/
>

Looks like Hadoop doesn't expect a space in the user name. You could 
file a bug, though I doubt anyone is going to sit down and fix it other 
than you, that being the way of open source.

Mime
View raw message