[ 
https://issues.apache.org/jira/browse/SOLR-16780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17820387#comment-17820387
 ] 

Eric Pugh commented on SOLR-16780:
----------------------------------

Digging a bit more, and yeah, the fact that you can do bin/solr mkroot is 
really a bug, because it won't actually run...

 

➜  dev git:(SOLR-16780) bin/solr ls / -z localhost:9983 
Failed to parse command-line arguments due to: Missing required option: path
➜  dev git:(SOLR-16780) bin/solr mkroot /solr/production -z localhost:9983
Failed to parse command-line arguments due to: Missing required option: path

 

I thought for a bit that we should just support bin/solr ls, bin/solr cp etc, 
but we have special logic to handle it, so intead going to prevent it.  we also 
document everywhere it's bin/solr zk something...   similart to how the 
bin/solr package blahblah works.

> Resolve the bin/solr zk cp and bin/solr cp conundrum
> ----------------------------------------------------
>
>                 Key: SOLR-16780
>                 URL: https://issues.apache.org/jira/browse/SOLR-16780
>             Project: Solr
>          Issue Type: Sub-task
>          Components: cli
>    Affects Versions: main (10.0), 9.2.1
>            Reporter: Eric Pugh
>            Priority: Minor
>
> We have two commands, bin/solr zk cp and bin/solr cp that appear to be very 
> similar, but not the same...   Maybe one is deprecated over the other?



--
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