[
https://issues.apache.org/jira/browse/SOLR-6962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17876672#comment-17876672
]
Eric Pugh commented on SOLR-6962:
---------------------------------
Doing a little triaging.. These days, bin/solr stop --all is how the all
options is passed in, and we currently do not have a -a short version. We also
still have the -all version for backwards compatibility.
I just ran the "bin/solr stop -a" and yeah, it just hung there spinning till I
quit it. So this appears to be still an issue to be fixed. We need an error
message that -a isn't an option for the stop command!
> bin/solr stop -a should complain about missing parameter
> --------------------------------------------------------
>
> Key: SOLR-6962
> URL: https://issues.apache.org/jira/browse/SOLR-6962
> Project: Solr
> Issue Type: Improvement
> Components: scripts and tools
> Affects Versions: 5.0
> Reporter: Alexandre Rafalovitch
> Assignee: Alexandre Rafalovitch
> Priority: Minor
> Attachments: SOLR-6962.patch, SOLR-6962v2.patch
>
>
> *bin/solr* has a *-a* option that expects a second parameter. If one is not
> provided, it hangs. It should complain and exit just like *-e* option does.
> The most common time I hit this is when I try to do *bin/solr stop \-all* and
> instead just type *bin/solr stop \-a* as I am more used to give full name
> options with double-dash prefix (Unix conventions, I guess).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]