[ 
https://issues.apache.org/jira/browse/SOLR-9789?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eric Pugh resolved SOLR-9789.
-----------------------------
    Resolution: Won't Fix

We have removed zkcli.   At this point, I think we either should recommend a 
ZooKeeper native CLI tool, or we should reopen these tickets to target our 
bin/solr zk tooling.

> 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
>          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
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to