Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
NullPointerException encountered during indices housekeeping #3494
NullPointerException encountered during indices housekeeping
Indices should be housekeep to only retain the number of configured retention logs number
Old indices are not removed.
Steps to Reproduce (for bugs)
Logs cannot be rotated and housekeeper
Installed using sensible script provided by Elastic.co
thank you for your report I had double checked that on my lab:
currently I can't reproduce this. Maybe you have some more details.
This issue occurs if the active index is rotated while the retention thread is collecting indices.
This can happen if the elasticsearch node/cluster isn't strong enough, and responding too slowly to queries. Running the queries joschi posted in a situation like this will result in the active write index (that the alias points to) not showing up in the list of indices.
Under normal circumstances it is very rare that a rotation will happen during the retention clean-up.