Gary Lee created SOLR-9789:
------------------------------
Summary: ZkCLI throws NullPointerException if zkClient doesn't
return data
Key: SOLR-9789
URL: https://issues.apache.org/jira/browse/SOLR-9789
Project: Solr
Issue Type: Bug
Security Level: Public (Default Security Level. Issues are Public)
Components: SolrCloud
Affects Versions: 5.5.1
Reporter: Gary Lee
Priority: Minor
We ran into a situation where using ZkCLI to get the Solr clusterstate in
Zookeeper always returned a NPE. We eventually found that it was due to a
clusterstate being too large (over 1M Zookeeper node limit) so the
zkClient.getData call returned null, but it was confusing to instead throw an
NPE because ZkCLI assumes non-null byte data. Could a check be added to not
throw NPE, but report a warning instead?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]