curl -XPOST http://192.168.113.103:9200/_snapshot/my_backup?pretty -d '{
"type":"hdfs",
"settings":{
"uri":"hdfs://192.168.113.101:9000",
"path":"/es_backup/rep_1"
}
}'
現在的情況是,es集群中的hadoop插件都安裝好了,在執行上面的命令創建索引的時候出現未序列化例外,請問需要配置其他的東西嗎?或者是在lib下匯入某些jar包,求大神指教。
出現下面的例外
Error injecting constructor, java.net.ConnectException: Call From node2/192.168.113.102 to node1:9000 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
at org.elasticsearch.repositories.hdfs.HdfsRepository.<init>(Unknown Source)
while locating org.elasticsearch.repositories.hdfs.HdfsRepository
while locating org.elasticsearch.repositories.Repository
1 error]; nested: NotSerializableExceptionWrapper[connect_exception: Call From node2/192.168.113.102 to node1:9000 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused]; nested: NotSerializableExceptionWrapper[connect_exception: Connection refused];
at org.elasticsearch.repositories.RepositoriesService.createRepositoryHolder(RepositoriesService.java:411)
at org.elasticsearch.repositories.RepositoriesService.registerRepository(RepositoriesService.java:368)
at org.elasticsearch.repositories.RepositoriesService.access$100(RepositoriesService.java:55)
at org.elasticsearch.repositories.RepositoriesService$1.execute(RepositoriesService.java:110)
at org.elasticsearch.cluster.ClusterStateUpdateTask.execute(ClusterStateUpdateTask.java:45)
at org.elasticsearch.cluster.service.InternalClusterService.runTasksForExecutor(InternalClusterService.java:458)
at org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.run(InternalClusterService.java:762)
at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:231)
at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:194)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: NotSerializableExceptionWrapper[creation_exception: Guice creation errors:
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/69096.html
標籤:服務器
下一篇:WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platfo
