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

Mark Miller commented on SOLR-4432:
-----------------------------------

bq. And if we know we need it, then why not just do it automatically?

Because the only way to do it automatically in a webapp world is to put it in 
the Solr dist unzipped already - meaning we either stop shipping the war file 
as well (which some people use), or we balloon the size of the dist.

Making people put in a one liner to unzip it before using the zkcli tool seemed 
preferable to me.

I suppose you could make the argument that it's better we ship it exploded and 
force those using the war to zip it up into a war themselves. I'd be open to 
that.
                
> Developer Curb Appeal: Eliminate the need to run Solr example once in order 
> to unpack needed files
> --------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-4432
>                 URL: https://issues.apache.org/jira/browse/SOLR-4432
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrCloud
>    Affects Versions: 4.1
>            Reporter: Mark Bennett
>             Fix For: 4.2
>
>
> In the SolrCloud instructions it says you must run the solr in the example 
> directory at least once in order to unpack some files, in order to then use 
> the example directory as a template for shards.
> Ideally we would unpack whatever we need, or do this automatically.
> Doc reference:
> http://lucidworks.lucidimagination.com/display/solr/Getting+Started+with+SolrCloud
> See the red box that says:
> "Make sure to run Solr from the example directory in non-SolrCloud mode at 
> least once before beginning; this process unpacks the jar files necessary to 
> run SolrCloud. On the other hand, make sure also that there are no documents 
> in the example directory before making copies."

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to