Hi all, I wanted to tap the braintrust to see what commands that exist in zkcli are already covered with existing bin/solr zk subcommands, which maybe are no longer needed, and which need porting over in some fashion.
Looking at ZkCLITest.java, I see tests for: testBootstrapWithChroot - This appears to bootstrap a solr home and make the chroot in Zk. We have bin/solr zk upconfig, however it doesn’t do the chroot step, you have to bin/solr zk mkroot. We could change upconfig to have a chroot property, or just make it implicit that if you create a path that needs a chroot, then it does. testMakePath - Makes a path, and that appears to just duplicate bin/solr zk mkroot? Unless something special about roots? I wonder if “bin/solr zk mk” would be a better name? testPut - Just puts some random bytes. Bin/solr zk cp lets you copy files around, and appears to be similar. Do we need to keep this? testPutCompressed - Similar to the put, but compresses the file. Do we need this functionality? (I thought somewhere we do it on the fly or something??). It could be added I guess to bin/solr zk testPutFile - Similar to bin/solr zk cp with files. testPutFileCompressed - A compressed version of a file <— Do we need this? testList/ testLs - Similar to bin/solr zk ls testUpdateAcls - appears to have been needed at a point in time. Calls SolrZKClient.updateACLs(), which is also maybe called by ZkController, but maybe no longer needed? Interestingly there appears to some code to attempt to bootstrap a Zookeeper or maybe aspects of Solr if Solr isn’t actually running? Would love thoughts/feedback, any suggestions or ideas. Especially, which aspects of zkcli.sh people ACTUALLY use, because I’d love to migrate less rather than more ;-). Eric _______________________ Eric Pugh | Founder & CEO | OpenSource Connections, LLC | 434.466.1467 | http://www.opensourceconnections.com <http://www.opensourceconnections.com/> | My Free/Busy <http://tinyurl.com/eric-cal> Co-Author: Apache Solr Enterprise Search Server, 3rd Ed <https://www.packtpub.com/big-data-and-business-intelligence/apache-solr-enterprise-search-server-third-edition-raw> This e-mail and all contents, including attachments, is considered to be Company Confidential unless explicitly stated otherwise, regardless of whether attachments are marked as such.