[
https://issues.apache.org/jira/browse/SOLR-14704?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17171212#comment-17171212
]
Gus Heck commented on SOLR-14704:
---------------------------------
This is being added because the current script presently only unpacks the
tarball if it has {{-r}} (recompile), or if you are running the {{new}}
command. The new command will fail before extraction if the directory already
exists(intentional, for safety). If {{-r}} is used it would overwrite whatever
you placed in the directory with whatever is in your working copy after
compilation/packaging and then immediately start the server with that instead.
This could also have been done as {{-t <tgz_location>}} (and that could still
be added), or {{-u}} to trigger an archive/re-extract but I thought it was
slightly nicer to do the download without requiring separate steps.
Among the things that may want to be added to this PR (which is just a start)
is support for {{-d}} (and/or {{-t}}) in start/restart for upgrade testing, and
pushing a new solr.xml to zk could be necessary in some cases but is not yet
accounted for.
> Add download option to solr/cloud-dev/cloud.sh
> ----------------------------------------------
>
> Key: SOLR-14704
> URL: https://issues.apache.org/jira/browse/SOLR-14704
> Project: Solr
> Issue Type: New Feature
> Security Level: Public(Default Security Level. Issues are Public)
> Components: scripts and tools
> Reporter: Gus Heck
> Assignee: Gus Heck
> Priority: Major
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> For easier testing of things like RC artifacts I'm adding an option to
> cloud.sh which will curl a tarball down from the web instead of building it
> locally.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]