You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Gary Lee (JIRA)" <ji...@apache.org> on 2016/11/22 00:25:58 UTC

[jira] [Created] (SOLR-9789) ZkCLI throws NullPointerException if zkClient doesn't return data

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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org