I'm looking at utilizing the new [_disk_usage](https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-disk-usage.html) api and doing so successfully in our staging environment.
However, when running against indices in our production environment am getting errors similar to:
"type": "illegal_state_exception",
"reason": "unknown response [[index_name/id][[index_name][7]] BroadcastShardOperationFailedException[]; nested: RemoteTransportException[[node][#.#.#.#:9300][indices:admin/analyze_disk_usage[s]]]; nested: NullPointerException[Cannot invoke \"org.apache.lucene.index.PointValues.getMinPackedValue()\" because \"values\" is null];]"
I've been having trouble tracking down the actual root of this error, and any insight would be greatly appreciated. (i.e. what is the "values" this refers to and how can i track down the culprit)
yeah, we have it running in our staging environment and the request works just fine... mostly unclear where to begin looking at the true root of the problem... the error happens in lucene, but doesn't help me understand where to look for the root (as It's unclear to me what "values" is in that nested stack trace, being un-initiated on PointValues and how to troubleshoot further around this).
A NPE is a bug (maybe in a plugin or maybe in ES itself). Please add the error_trace parameter to obtain a full stack trace, then open an issue about it on Github.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.