Hi,
Trying to change the replication factor for indices on 3 node elasticsearch 6.8 cluster from 1 to 2.
Getting errors on the server.
below is the GET result for settings.
curl -XGET http://127.0.0.1:9200/janusgraph/_settings?pretty
"janusgraph_v1_id" : {
"settings" : {
"index" : {
"number_of_shards" : "4",
"provided_name" : "janusgraph_v1_id",
"max_result_window" : "2147483647",
"creation_date" : "1592906378156",
"number_of_replicas" : "1",
"uuid" : "PE5hEjvNRs2FLqrBPrrrr",
"version" : {
"created" : "6080499"
}
}
}
},
"janusgraph_v1_cronym" : {
"settings" : {
"index" : {
"number_of_shards" : "4",
"provided_name" : "janusgraph_v1_acronym",
"max_result_window" : "2147483647",
"creation_date" : "1592906878878",
"number_of_replicas" : "1",
"uuid" : "g_f7j2ywQC2GJA2-L89888",
"version" : {
"created" : "6080499"
}
}
}
}
}
trying to change using below command and getting below errors. Any thoughts what i am missing here.
curl -XPUT http://127.0.0.1:9200/janusgraph/_settings{"index" : {"number_of_replicas" :2}}
curl: (3) [globbing] unmatched brace at pos 49
curl: (6) Could not resolve host: ; Name or service not known
curl: (3) [globbing] unmatched brace at pos 20
curl: (3) [globbing] unmatched close brace/bracket at pos 3
please suggest.
Thanks,
Sunny