Hi ,
I am trying to create new index through Dev Tool. i am getting a time out error.
Creation procedure:
PUT test_index
{
"settings" : {
"index" : {
"number_of_shards" : 10,
"number_of_replicas" : 3
}
}
}
Error
{
"statusCode": 504,
"error": "Gateway Time-out",
"message": "Client request timeout"
}
dadoonet
(David Pilato)
January 12, 2018, 5:49pm
2
Please format your code using </>
icon as explained in this guide . It will make your post more readable.
Or use markdown style like:
```
CODE
```
"number_of_replicas" : 3
Do you have 4 nodes?
What gives
GET _cat/nodes?v
GET /
dadoonet:
GET _cat/nodes?v
thanks
GET _cat/nodes?v
ip heap.percent ram.percent cpu load_1m load_5m load_15m node.role master name
127.0.0.1 47 28 15 1.66 1.25 1.19 mdi * K08xUVh
*GET *
{
"name": "K08xUVh",
"cluster_name": "elasticsearch",
"cluster_uuid": "1GuZO4_VTm-1Q85G_k7d1Q",
"version": {
"number": "6.1.1",
"build_hash": "bd92e7f",
"build_date": "2017-12-17T20:23:25.338Z",
"build_snapshot": false,
"lucene_version": "7.1.0",
"minimum_wire_compatibility_version": "5.6.0",
"minimum_index_compatibility_version": "5.0.0"
},
"tagline": "You Know, for Search"
}
dadoonet
(David Pilato)
January 12, 2018, 6:17pm
4
Can you try with just 1 replica or 0?
Output - its saying already created, but this index one,. it took some more time and then shows error message
{
"error": {
"root_cause": [
{
"type": "resource_already_exists_exception",
"reason": "index [ge_index1/UMP67ecORPuQznalkxOVzA] already exists",
"index_uuid": "UMP67ecORPuQznalkxOVzA",
"index": "ge_index1"
}
],
"type": "resource_already_exists_exception",
"reason": "index [ge_index1/UMP67ecORPuQznalkxOVzA] already exists",
"index_uuid": "UMP67ecORPuQznalkxOVzA",
"index": "ge_index1"
},
"status": 400
}
system
(system)
Closed
February 9, 2018, 6:34pm
6
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.