You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by Markus Jelsma <ma...@openindex.io> on 2016/03/01 12:48:29 UTC
RE: Nutch 1.12 (snapshot) and Hadoop 2.6.2
Hi - i am not really sure, but in our config we don't mention set the port.
> <property>
> <name>fs.defaultFS</name>
> <value>hdfs://some-host</value>
> </property>
Markus
-----Original message-----
> From:Tomasz <po...@gmail.com>
> Sent: Saturday 27th February 2016 19:34
> To: user@nutch.apache.org
> Subject: Nutch 1.12 (snapshot) and Hadoop 2.6.2
>
> Hello,
>
> I've been digging all day long to find a solution for
> java.lang.IllegalArgumentException: Wrong FS. and didn't succeed.
>
> Hadoop is configured properly (successfully finished some example tasks),
> but when I try to run Nutch inject I get the exception:
>
> ERROR crawl.Injector: Injector: java.lang.IllegalArgumentException: Wrong
> FS: hdfs://localhost:9000/user/ubuntu/inject-temp-764018072, expected:
> file:///
> at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:646)
> (...)
>
> Hadoop core-site.xml is within a classpath and reads:
> <property>
> <name>fs.defaultFS</name>
> <value>hdfs://localhost:9000</value>
> </property>
>
> Anybody with the same issue? Thanks.
>
> Tomasz
>