Skip to content

Instantly share code, notes, and snippets.

@vpavlushkov
Created October 16, 2017 10:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vpavlushkov/3958deb2056c0bfca35d59c83ccd4303 to your computer and use it in GitHub Desktop.
Save vpavlushkov/3958deb2056c0bfca35d59c83ccd4303 to your computer and use it in GitHub Desktop.
Deleting / cacelling the index file
[2017-10-16 11:10:41] Error executing request:
[2017-10-16 11:10:41] {"method":"DELETE","transformRequest":[null],"transformResponse":[null],"url":"https://<es_node>:9243/kubernetes-logs-tuup-prd-2017.10.12","data":{},"params":{},"headers":{"Accept":"application/json, text/plain, */*"}}
[2017-10-16 11:10:41] REST API output:
[2017-10-16 11:10:41] {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Cannot delete indices that are being snapshotted: [[kubernetes-logs-tuup-prd-2017.10.12/LBrnv7a_QcmGAbhsjFn_mQ]]. Try again after snapshot finishes or cancel the currently running snapshot."}],"type":"illegal_argument_exception","reason":"Cannot delete indices that are being snapshotted: [[kubernetes-logs-tuup-prd-2017.10.12/LBrnv7a_QcmGAbhsjFn_mQ]]. Try again after snapshot finishes or cancel the currently running snapshot."},"status":400}
[2017-10-16 11:11:30] Error executing request:
[2017-10-16 11:11:30] {"method":"POST","transformRequest":[null],"transformResponse":[null],"url":"https://<es_node>:9243/kubernetes-logs-tuup-prd-2017.10.12/_close","data":{},"params":{},"headers":{"Accept":"application/json, text/plain, */*","Content-Type":"application/json;charset=utf-8"}}
[2017-10-16 11:11:30] REST API output:
[2017-10-16 11:11:30] {"error":{"root_cause":[{"type":"illegal_state_exception","reason":"closing indices is disabled - set [cluster.indices.close.enable: true] to enable it. NOTE: closed indices still consume a significant amount of diskspace"}],"type":"illegal_state_exception","reason":"closing indices is disabled - set [cluster.indices.close.enable: true] to enable it. NOTE: closed indices still consume a significant amount of diskspace"},"status":500}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment