You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by Andrzej Bialecki <ab...@getopt.org> on 2006/03/28 02:01:08 UTC

Cygwin broken (Re: [Nutch-cvs] svn commit: r388310 - ...)

cutting@apache.org wrote:
> Author: cutting
> Date: Thu Mar 23 16:57:56 2006
> New Revision: 388310
>
> URL: http://svn.apache.org/viewcvs?rev=388310&view=rev
> Log:
> Upgrade to latest Hadoop jar.  Add job names to Nutch mapred jobs.  Update OutputFormat implementations to implement new checkOutputSpecs() method.
>

This revision breaks Nutch on Cygwin, in both local and DFS/mapred 
modes. Here's what I get with a pristine copy of Nutch if I try to inject:

060328 005331 SEVERE error parsing conf file: 
java.lang.RuntimeException: \tmp\h
adoop\mapred\local\job_835yx2.xml\localRunner not found
Exception in thread "main" java.lang.RuntimeException: 
java.lang.RuntimeExceptio
n: \tmp\hadoop\mapred\local\job_835yx2.xml\localRunner not found
        at 
org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:
405)
        at 
org.apache.hadoop.conf.Configuration.loadResources(Configuration.java
:345)
        at 
org.apache.hadoop.conf.Configuration.getProps(Configuration.java:333)

        at org.apache.hadoop.conf.Configuration.get(Configuration.java:122)
        at org.apache.hadoop.mapred.JobConf.getUser(JobConf.java:151)
        at 
org.apache.hadoop.mapred.LocalJobRunner$Job.<init>(LocalJobRunner.jav
a:58)
        at 
org.apache.hadoop.mapred.LocalJobRunner.submitJob(LocalJobRunner.java
:181)
        at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:273)
        at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:306)
        at org.apache.nutch.crawl.Injector.inject(Injector.java:115)
        at org.apache.nutch.crawl.Injector.main(Injector.java:139)
Caused by: java.lang.RuntimeException: 
\tmp\hadoop\mapred\local\job_835yx2.xml\l
ocalRunner not found
        at 
org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:
372)

Oddly enough, the tmp/ directory is created in the current working 
directory.

-- 
Best regards,
Andrzej Bialecki     <><
 ___. ___ ___ ___ _ _   __________________________________
[__ || __|__/|__||\/|  Information Retrieval, Semantic Web
___|||__||  \|  ||  |  Embedded Unix, System Integration
http://www.sigram.com  Contact: info at sigram dot com



Re: Cygwin broken (Re: [Nutch-cvs] svn commit: r388310 - ...)

Posted by Doug Cutting <cu...@apache.org>.
Andrzej Bialecki wrote:
> This revision breaks Nutch on Cygwin, in both local and DFS/mapred 
> modes.

I'll try to fix this today.

Doug