I am getting below error while configuring ElasticSearch 5.4.1.
[root@ip-10-3-4-73 elasticsearch]# curl -XGET 'localhost:9200/_cluster/health?pretty'
{
"error" : {
"root_cause" : [
{
"type" : "master_not_discovered_exception",
"reason" : null
}
],
"type" : "master_not_discovered_exception",
"reason" : null
},
"status" : 503
}
[root@ip-10-3-4-73 elasticsearch]# curl -XGET 'localhost:9200'
{
"name" : "2ib0gzN",
"cluster_name" : "my-cluster",
"cluster_uuid" : "na",
"version" : {
"number" : "5.4.1",
"build_hash" : "2cfe0df",
"build_date" : "2017-05-29T16:05:51.443Z",
"build_snapshot" : false,
"lucene_version" : "6.5.1"
},
"tagline" : "You Know, for Search"
}
[root@ip-10-3-4-73 elasticsearch]# curl -XGET 'localhost:9200/_nodes/transport?pretty=1'
{
"_nodes" : {
"total" : 1,
"successful" : 1,
"failed" : 0
},
"cluster_name" : "my-cluster",
"nodes" : {
"2ib0gzNzQ_K-METZvMERdA" : {
"name" : "2ib0gzN",
"transport_address" : "10.3.4.73:9300",
"host" : "10.3.4.73",
"ip" : "10.3.4.73",
"version" : "5.4.1",
"build_hash" : "2cfe0df",
"roles" : [
"master",
"data",
"ingest"
],
"transport" : {
"bound_address" : [
"[::]:9300"
],
"publish_address" : "10.3.4.73:9300",
"profiles" : { }
}
}
}
}
Can any one help ?