In out production environment we are having Cloudera distributed Hadoop version 2.6.0-cdh5.11.0 and our Elastic search version is 2.4.1.
If I install repository-hdfs plugin , I'm getting hadoop-2.7.1 And it ends in hadoop version conflicts.
So I replaced all the jars in hadoop-libs to the relevant Hadoop version in my production environment (i.e 2.6.0-cdh5.11.0) .
Now while starting Elastic search its showing error like ,
Error -1 ;
Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
[2017-08-28 09:28:43,201][WARN ][repositories ] [Plasma] failed to create repository [hdfs][hadoop]
org.elasticsearch.common.inject.CreationException: Guice creation errors:
- Error injecting constructor, ElasticsearchGenerationException[Cannot create Hdfs file-system for uri [hdfs://184.108.40.206:8020/]]; nested: HadoopIllegalArgumentException[The short-circuit local reads feature is enabled but dfs.domain.socket.path is not set.];
at org.elasticsearch.repositories.hdfs.HdfsRepository.(Unknown Source)
while locating org.elasticsearch.repositories.hdfs.HdfsRepository
while locating org.elasticsearch.repositories.Repository
Kindly help me out...