Yes, I am using windows, nutch can’t run in windows?

-----Original Message-----
From: Doğacan Güney [mailto:doga...@gmail.com] 
Sent: Monday, January 26, 2009 3:04 AM
To: nutch-user@lucene.apache.org
Subject: Re: Error in eclipse when crawl

Are you using windows? "whoami" is a unix program that returns the
name of current user,
nutch (actually hadoop) needs it for security purposes.

On Mon, Jan 26, 2009 at 6:51 AM, Rolando Bermudez Peña <rbp...@uci.cu> wrote:
> Hello all,
>  I am new in Nutch, already create a new project in Eclipse 3.4 width the 
> latest nutch in trunk and got the following error in the java console when 
> trying to crawl some intranet site.
>
> Exception in thread "main" java.io.IOException: Failed to get the current 
> user's information.
>        at org.apache.hadoop.mapred.JobClient.getUGI(JobClient.java:717)
>        at 
> org.apache.hadoop.mapred.JobClient.configureCommandLineOptions(JobClient.java:592)
>        at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:774)
>        at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:1127)
>        at org.apache.nutch.crawl.Injector.inject(Injector.java:160)
>        at org.apache.nutch.crawl.Crawl.main(Crawl.java:112)
> Caused by: javax.security.auth.login.LoginException: Login failed: Cannot run 
> program "whoami": CreateProcess error=2, The system cannot find the file 
> specified
>        at 
> org.apache.hadoop.security.UnixUserGroupInformation.login(UnixUserGroupInformation.java:250)
>        at 
> org.apache.hadoop.security.UnixUserGroupInformation.login(UnixUserGroupInformation.java:275)
>        at org.apache.hadoop.mapred.JobClient.getUGI(JobClient.java:715)
>        ... 5 more
>
> Someone can help with any idea of what means 'whoami' or whats is the problem?
>
> Thanks in advance.
> Rolando.
>
>



-- 
Doğacan Güney

Reply via email to