Is the version of es 1.7.2 too old for repository-hdfs-2.1.2.jar or elasticsearch-hadoop-2.2.0-beta1.jar?
Could anyone give a version matrix between es, repository-hdfs, elasticsearch-hadoop and hadoop-yarn-client for es=1.7.2, 2.0.1 and 2.1.0?
I've solved the issue. The hadoop related jars in repository-hdfs-2.1.2 are too old for hadoop 2.6.
Copying the below jars in hadoop 2.6 into repository-hdfs-2.1.2 can solve.
commons-httpclient-3.1.jar
commons-io-2.4.jar
commons-lang-2.6.jar
commons-logging-1.1.3.jar
commons-net-3.1.jar
guava-11.0.2.jar
hadoop-common-2.6.2.jar
hadoop-auth-2.6.2.jar
slf4j-api-1.7.5.jar
hadoop-hdfs-2.6.2.jar
commons-cli-1.2.jar
protobuf-java-2.5.0.jar
htrace-core-3.0.4.jar
You properly identified the issue - there are a variety of hadoop versions especially when considering the various distros and versions. Repository-hdfs currently sits on Hadoop 2.4.1 but in master at least, it moved to Hadoop 2.7.1
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.