Guest User

Untitled

a guest
May 27th, 2018
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. If u are getting below error while indexing:
  2.  
  3. ```
  4. {
  5. "error": {
  6. "root_cause": [
  7. {
  8. "type": "cluster_block_exception",
  9. "reason": "blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];"
  10. }
  11. ],
  12. "type": "cluster_block_exception",
  13. "reason": "blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];"
  14. },
  15. "status": 403
  16. }
  17. ```
  18.  
  19. This can be caused by disk space:
  20.  
  21. ```
  22. PUT index-name/_setttings
  23. {
  24. "index": {
  25. "blocks": {
  26. "read_only_allow_delete": "false"
  27. }
  28. }
  29. }
  30. ```
Add Comment
Please, Sign In to add comment