Hi Julien, On Wed, 28 May 2014 11:33:17 +0100 Julien Nioche <[email protected]> wrote:
JN> > I've a simple hadoop setup with a name node and 1 data node. JN> JN> no job tracker and task trackers? well I also have a yarn resource and node manager running. JN> > JN> > Error: java.lang.IllegalArgumentException: n must be positive JN> > at java.util.Random.nextInt(Random.java:300) JN> > at org.elasticsearch.common.Names.randomNodeName(Names.java:45) JN> > [...] JN> JN> Your problem is not related to Hadoop but has to do with the config of ES. JN> What did you specify for the port value? I have configured the the port 9300 in nutch-site.xml: <property> <name>elastic.port</name> <value>9300</value> </property> JN> Try the version in trunk if you can : I committed JN> https://issues.apache.org/jira/browse/NUTCH-1745 some time ago and it could JN> fix this issue I just ran the trunk version and got exactly the same error message. :-( The configuration runs fine in local mode by the way... Regards, Jens -- 28. Wonnemond 2014, 13:18 Homepage : http://www.wegtam.com Jealousy is all the fun you think they have.
pgpDsCp8gh8Jp.pgp
Description: PGP signature

