Skip to content

Commit

Permalink
SOLR-14115: Remove deprecated zkcli script. (#2427)
Browse files Browse the repository at this point in the history
Replaced by bin/solr sub command equivalents.
  • Loading branch information
epugh authored Apr 30, 2024
1 parent b530aa5 commit f1fc03f
Show file tree
Hide file tree
Showing 10 changed files with 7 additions and 1,243 deletions.
3 changes: 3 additions & 0 deletions solr/CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ Deprecation Removals
in favor of the new CompletableFuture based methods. Remove the related deprecated interfaces `AsyncListener` and ``Cancellable`
(James Dyer)

* SOLR-14115: Remove deprecated zkcli script in favour of equivalent bin/solr sub commmands. (Eric Pugh)


Dependency Upgrades
---------------------
(No changes)
Expand Down
526 changes: 0 additions & 526 deletions solr/core/src/java/org/apache/solr/cloud/ZkCLI.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public ZkConfigSetService(CoreContainer cc) {
this.zkClient = cc.getZkController().getZkClient();
}

/** This is for ZkCLI and some tests */
/** This is for some tests */
public ZkConfigSetService(SolrZkClient zkClient) {
super(null, false);
this.zkController = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@

// TODO: This test would be a lot faster if it used a solrhome with fewer config
// files - there are a lot of them to upload
// This was copied from org.apache.solr.cloud.ZkCLITest
public class ZkSubcommandsTest extends SolrTestCaseJ4 {
private static final Logger log = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());

Expand Down
Loading

0 comments on commit f1fc03f

Please sign in to comment.