[
https://issues.apache.org/jira/browse/SOLR-6962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17880931#comment-17880931
]
Eric Pugh edited comment on SOLR-6962 at 9/11/24 10:50 AM:
-----------------------------------------------------------
What this really is about is that we don't validate for start/stop/restart all
the argument thats take a following option, like --jvm-opts. This now adds
that validation. it doesn't solve the other related problem that args that
are meant for a start command can be used with a stop command with no
validation like "bin/solr start --all"
was (Author: epugh):
What this really is about is that we don't validate for start/stop/restart all
the argument thats take a following option, like --jvm-opts. This now adds
that validation. it doesn't solve the other related problem that args that
are meant for a start command can be used with a stop command with no
validation.
> bin/solr stop/start/restart should complain about missing value for options
> that expect a value.
> ------------------------------------------------------------------------------------------------
>
> 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: Eric Pugh
> Priority: Minor
> Labels: pull-request-available
> Attachments: SOLR-6962.patch, SOLR-6962v2.patch
>
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
> *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]