Re: Error while reading elasticsearch data in hadoop program

2014-09-11 Thread gaurav redkar
://www.elasticsearch.org/guide/en/elasticsearch/hadoop/ 2.1.Beta/mapreduce.html#_installation On 9/9/14 10:26 PM, gaurav redkar wrote: Hi Costin, I had downloaded the elasticsearch-hadoop-2.1.0.Beta1.zip file and used all the jars from that for the program. Later I even tried replacing all the jars in my

Error while reading elasticsearch data in hadoop program

2014-09-09 Thread gaurav redkar
Hi, I was following the example given on official elasticsearch documentation to read data from elasticsearch using hadoop but i am getting the following error. java.lang.Exception: java.io.IOException: Type mismatch in value from map: expected org.apache.hadoop.io.MapWritable, received

Re: Error while reading elasticsearch data in hadoop program

2014-09-09 Thread gaurav redkar
://www.elasticsearch.org/guide/en/elasticsearch/hadoop/ 2.1.Beta/troubleshooting.html#_where_do_i_post_my_information On 9/9/14 11:59 AM, gaurav redkar wrote: Hi, I was following the example given on official elasticsearch documentation to read data from elasticsearch using hadoop but i am getting

Re: Error while reading elasticsearch data in hadoop program

2014-09-09 Thread gaurav redkar
in there... On 9/9/14 4:06 PM, gaurav redkar wrote: Hi Costin, Thanks for the heads up regarding gist. I will try to follow the guidelines in the future. As for my program, I am using Elasticsearch Hadoop v2.1.0.Beta1 . I tried your suggestion and changed the output value class to LinkedMapWritable