You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mark Miller (JIRA)" <ji...@apache.org> on 2016/12/02 13:58:58 UTC

[jira] [Comment Edited] (SOLR-9817) Make Solr server startup directory configurable

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

Mark Miller edited comment on SOLR-9817 at 12/2/16 1:58 PM:
------------------------------------------------------------

I don't think I have a full handle on this yet.

I'm still a little confused because we call this setting the Solr server startup directory and "setting the working directory" but then the env variable is called the Solr config directory and when you set it, a copy of some config files is actually made. 

I think it will be a little confusing to users to understand what this option is, what it does, and why it would be used.

We should look at the name and some documentation. Given we don't have anything setup to test these scripts really (we really should get Jenkins jobs), it's especially important we are very clear to other devs what we are trying to support and how and why it works as part of the script / code if we want to see the feature get properly supported and not disappear or break easily.


was (Author: markrmiller@gmail.com):
I don't think I have a full handle on this yet.

I'm still a little confused because we call this setting the Solr server startup directory and the "setting the working directory" but then the env variable is called the Solr config directory and when you set it, a copy of some config files is actually made. 

I think it will be a little confusing to users to understand what this option is, what it does, and why it would be used.

We should look at the name and some documentation. Given we don't have anything setup to test these scripts really (we really should get Jenkins jobs), it's especially important we are very clear to other devs what we are trying to support and how and why it works as part of the script / code if we want to see the feature get properly support and not disappear or break easily.

> Make Solr server startup directory configurable
> -----------------------------------------------
>
>                 Key: SOLR-9817
>                 URL: https://issues.apache.org/jira/browse/SOLR-9817
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>    Affects Versions: 6.0
>            Reporter: Hrishikesh Gadre
>            Assignee: Mark Miller
>            Priority: Minor
>
> The solr startup script (bin/solr) is hardcoded to use the <solr_installation>/server directory as the working directory during the startup. 
> https://github.com/apache/lucene-solr/blob/9eaea79f5c89094c08f52245b9473ca14f368f57/solr/bin/solr#L1652
> This jira is to make the "current working directory" for Solr configurable.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org