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

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Andrzej Białecki-2
[hidden email] 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


Reply | Threaded
Open this post in threaded view
|

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

Doug Cutting
Andrzej Bialecki wrote:
> This revision breaks Nutch on Cygwin, in both local and DFS/mapred
> modes.

I'll try to fix this today.

Doug