Hadoop nodes are NOT co-located with ElasticSearch and are on CDH5.1
I installed the plugin [ elasticsearch/elasticsearch-repository-hdfs/2.0.2]
on all Elasticsearch nodes, and restarted the nodes
When I try to setup the repo, I get the following error:
curl -XPUT 'http://localhost:9200/_snapshot/my_backup' -d '{"type":
"hdfs","uri":
"hdfs://nn-ip:8020/","conf_location":"/etc/conf/hadoop/conf/hdfs-site.xml,/etc/conf/hadoop/conf/core-site.xml","path":
"elasticsearch","compress": true} }'
{"error":"RepositoryException[[my_backup] failed to create repository];
nested: CreationException[Guice creation errors:\n\n1) Error injecting
constructor, org.elasticsearch.ElasticsearchIllegalArgumentException: no
'path' defined for hdfs snapshot/restore\n at
org.elasticsearch.repositories.hdfs.HdfsRepository.(Unknown
Source)\n while locating
org.elasticsearch.repositories.hdfs.HdfsRepository\n while locating
org.elasticsearch.repositories.Repository\n\n1 error]; nested:
ElasticsearchIllegalArgumentException[no 'path' defined for hdfs
snapshot/restore]; ","status":500}
Please help me, with what additional configuration needs to be done to back
up ES indices to Hadoop which is not colocated on same nodes
Ref:https://github.com/elasticsearch/elasticsearch-hadoop/tree/master/repository-hdfs
--
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/0a6d17b7-0494-4624-98ce-a0a6c3860183%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.