Re: [ElasticSearch Hadoop] Error in configuring object

2014-06-20 Thread punit-naik
also almost the same as yours. Please help me. Thank You. Punit -- View this message in context: http://elasticsearch-users.115913.n3.nabble.com/ElasticSearch-Hadoop-Error-in-configuring-object-tp4057273p4057996.html Sent from the ElasticSearch Users mailing list archive at Nabble.com. --

Re: [ElasticSearch Hadoop] Error in configuring object

2014-06-06 Thread bharath bhat
That was it! Thank you. On Friday, June 6, 2014 3:12:39 PM UTC-7, Costin Leau wrote: > > By the way, quickly looking at your class, it's likely because your > mapper/reducer are defined at inner classes yet they are not static and > thus cannot be used without their enclosing class. In other

Re: [ElasticSearch Hadoop] Error in configuring object

2014-06-06 Thread Costin Leau
By the way, quickly looking at your class, it's likely because your mapper/reducer are defined at inner classes yet they are not static and thus cannot be used without their enclosing class. In other words, declare them as 'static'. On Sat, Jun 7, 2014 at 1:00 AM, Costin Leau wrote: > " > Cause

Re: [ElasticSearch Hadoop] Error in configuring object

2014-06-06 Thread Costin Leau
" Caused by: java.lang.RuntimeException: java.lang.NoSuchMethodException: com.edcast.cards.MapReduceHelloWorld$SomeMapper.() at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:131) at org.apache.hadoop.mapred.MapRunner.configure(MapRunner.java:38) ... 15 more Caused by: java

[ElasticSearch Hadoop] Error in configuring object

2014-06-06 Thread bharath bhat
Hi, I'm trying to get a simple mapreduce job working with ES hadoop. I followed the docs to set up a job but I keep getting 'Error in configuring object' when I try to run it on Hadoop in pseudo distributed mode. I am using the old API with Hadoop 2.4.0. Here's my code I am using: public cl