[Hadoop] java.lang.IncompatibleClassChangeError: Found interface org.apache.hadoop.mapreduce.JobContext, but class was expected

Hi there,

I'm having a bit of trouble using the Maven published version of
elasticsearch-hadoop 1.3.0M3. According to the docs, it should be
compatible with both Hadoop 1.x and 2.x, although I'm seeing an error
indicating otherwise. I downloaded the sources, and modified the build to
compile against hadoop 2.x only and this seems to have worked. Is there a
java option perhaps that I should add to make the maven distributed jar
work correctly?

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/a78cb9e0-a0e4-4e75-832e-9b2a193e0473%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hi,

You bumped into a bug that slipped in M3. This has been fixed in master - can you please try out the SNAPSHOTs [1]?

Thanks,

[1] Elasticsearch Platform — Find real-time answers at scale | Elastic

On 4/15/14 10:52 AM, Shaun Campbell wrote:

Hi there,

I'm having a bit of trouble using the Maven published version of elasticsearch-hadoop 1.3.0M3. According to the docs, it
should be compatible with both Hadoop 1.x and 2.x, although I'm seeing an error indicating otherwise. I downloaded the
sources, and modified the build to compile against hadoop 2.x only and this seems to have worked. Is there a java option
perhaps that I should add to make the maven distributed jar work correctly?

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
elasticsearch+unsubscribe@googlegroups.com mailto:elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/a78cb9e0-a0e4-4e75-832e-9b2a193e0473%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/a78cb9e0-a0e4-4e75-832e-9b2a193e0473%40googlegroups.com?utm_medium=email&utm_source=footer.
For more options, visit https://groups.google.com/d/optout.

--
Costin

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/534CE693.5000600%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Thanks Costin, that has fixed it! :slight_smile:

-----Original Message-----
From: elasticsearch@googlegroups.com [mailto:elasticsearch@googlegroups.com] On Behalf Of Costin Leau
Sent: 15 April 2014 08:58
To: elasticsearch@googlegroups.com
Subject: Re: [Hadoop] java.lang.IncompatibleClassChangeError: Found interface org.apache.hadoop.mapreduce.JobContext, but class was expected

Hi,

You bumped into a bug that slipped in M3. This has been fixed in master - can you please try out the SNAPSHOTs [1]?

Thanks,

[1] Elasticsearch Platform — Find real-time answers at scale | Elastic

On 4/15/14 10:52 AM, Shaun Campbell wrote:

Hi there,

I'm having a bit of trouble using the Maven published version of
elasticsearch-hadoop 1.3.0M3. According to the docs, it should be
compatible with both Hadoop 1.x and 2.x, although I'm seeing an error
indicating otherwise. I downloaded the sources, and modified the build to compile against hadoop 2.x only and this seems to have worked. Is there a java option perhaps that I should add to make the maven distributed jar work correctly?

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to
elasticsearch+unsubscribe@googlegroups.com mailto:elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/a78cb9e0-a0e4-4e75-832
e-9b2a193e0473%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/a78cb9e0-a0e4-4e75-832e-9b2a193e0473%40googlegroups.com?utm_medium=email&utm_source=footer.
For more options, visit https://groups.google.com/d/optout.

--
Costin

--
You received this message because you are subscribed to a topic in the Google Groups "elasticsearch" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/elasticsearch/53dU6sOvZcc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/534CE693.5000600%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/71EFF79072522748856FBA8E09C46CB24488CC55%40GBRMBX02.emea.SAS.com.
For more options, visit https://groups.google.com/d/optout.

Excellent. The fix will be part of RC1 which is not too far off.

Cheers,

On 4/15/14 11:30 AM, Shaun Campbell wrote:

Thanks Costin, that has fixed it! :slight_smile:

-----Original Message-----
From: elasticsearch@googlegroups.com [mailto:elasticsearch@googlegroups.com] On Behalf Of Costin Leau
Sent: 15 April 2014 08:58
To: elasticsearch@googlegroups.com
Subject: Re: [Hadoop] java.lang.IncompatibleClassChangeError: Found interface org.apache.hadoop.mapreduce.JobContext, but class was expected

Hi,

You bumped into a bug that slipped in M3. This has been fixed in master - can you please try out the SNAPSHOTs [1]?

Thanks,

[1] Elasticsearch Platform — Find real-time answers at scale | Elastic

On 4/15/14 10:52 AM, Shaun Campbell wrote:

Hi there,

I'm having a bit of trouble using the Maven published version of
elasticsearch-hadoop 1.3.0M3. According to the docs, it should be
compatible with both Hadoop 1.x and 2.x, although I'm seeing an error
indicating otherwise. I downloaded the sources, and modified the build to compile against hadoop 2.x only and this seems to have worked. Is there a java option perhaps that I should add to make the maven distributed jar work correctly?

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to
elasticsearch+unsubscribe@googlegroups.com mailto:elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/a78cb9e0-a0e4-4e75-832
e-9b2a193e0473%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/a78cb9e0-a0e4-4e75-832e-9b2a193e0473%40googlegroups.com?utm_medium=email&utm_source=footer.
For more options, visit https://groups.google.com/d/optout.

--
Costin

--
You received this message because you are subscribed to a topic in the Google Groups "elasticsearch" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/elasticsearch/53dU6sOvZcc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/534CE693.5000600%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
Costin

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/534CEF7C.5090801%40gmail.com.
For more options, visit https://groups.google.com/d/optout.