On 4/23/2019 12:14 PM, Sadiki Latty wrote:
Here are the 2 errors in the Solr Logging section

RequestHandlerBase  java.lang.ArrayIndexOutOfBoundsException: 1

“java.lang.ArrayIndexOutOfBoundsException: 1

                at org.apache.solr.handler.admin.ZookeeperStatusHandler.monitorZookeeper(ZookeeperStatusHandler.java:185)

That line of code in Solr 7.7.1 is:

      obj.put(line.split("\t")[0], line.split("\t")[1]);

The error is saying that the array created by the split function didn't have two elements, so asking for the entry numbered 1 doesn't work.

Which means that the output Solr received from the ZK "mntr" command was not what Solr expected.

What version of ZK do you have running your ZK ensemble? Is your ZK ensemble working correctly? The ZK client version in Solr 7.7.1 is 3.4.13. If your server version is different, maybe there was a change in the output from the mntr command.

What happens if you issue the mntr command yourself directly?

Solr should, at the very least, detect possible problems with decoding the response from ZK and display a more helpful message. If there was a change in the command output, Solr should be resilient enough to handle it.

Thanks,
Shawn

Reply via email to