I'm running my cluster with CDH 5.8 which provides jdk 1.7.0_67 (I can't upgrade at this moment)
I tried to use ES 5.0 & es-hadoop but I'm getting an error
java.lang.UnsupportedClassVersionError: org/elasticsearch/spark/rdd/CompatUtils : Unsupported major.minor version 52.0
According to this issue, it seems like a java version mis-match problem.
But the ES Hadoop 5.0 Requirements says that:
we strongly recommend using the latest JDK 8 (at least u20 or higher). If that is not an option, use JDK 7.0 update u55 (required for Elasticsearch 1.2 or higher).
So I'm wondering how can I use ES & es-hadoop 5.0 with Java 1.7