It looks like your OS doesn't have the "whoami" command, which is a part of 
"coreutils" (on Linux at least).
 
$ whoami
otis

--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch

----- Original Message ----
> From: v k <[EMAIL PROTECTED]>
> To: [email protected]
> Sent: Monday, April 28, 2008 11:19:42 PM
> Subject: Error: Failed to get the current user's information: Login failed: 
> Cannot run program "whoami":
> 
> Hello:
> 
> I am using the latest svn trunk of nutch. The build was successful but
> when I run bin/nutch command I get the error:
> 
> Injector: starting
> Injector: crawlDb: crawl/crawldb
> Injector: urlDir: urls
> Injector: Converting injected urls to crawl db entries.
> Exception in thread "main" java.io.IOException: Failed to get the
> current user's information: Login failed: Cannot run program "whoami":
> error=2, No such file or directory
>         at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:466)
>         at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:805)
>         at org.apache.nutch.crawl.Injector.inject(Injector.java:157)
>         at org.apache.nutch.crawl.Crawl.main(Crawl.java:113)
> 
> Did this happen to anyone else?
> 
> Thanks,
> VK
> 


Reply via email to