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

Hoss Man commented on SOLR-2722:
--------------------------------

"jetty.port" isn't anything special for jetty, it's just a sys property name 
we've specified in example/etc/jetty.xml that defaults to 8983.

so rather then making SolrCloud code explicitly look for a sys property named 
after a particular container, why not change our example jetty.xml to use 
"solr.port" as the sysproperty for overriding the 8983 default, and the code 
SolrCloud to look for that more generic name as the defualt for "hostPort" in 
the config ?

> If hostPort is not specified, we should just look for jetty.port - and if 
> that is not found, fall back to the default of 8983.
> ------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-2722
>                 URL: https://issues.apache.org/jira/browse/SOLR-2722
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrCloud
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>            Priority: Trivial
>             Fix For: 4.0
>
>
> Originally we didn't rely on jetty.port as it's container specific - but 
> rather than require you specify the port twice in this case, we should simply 
> use jetty.port when it's there.
> The example from the SolrCloud wiki:
> java -Djetty.port=7574 -DhostPort=7574 -DzkHost=localhost:9983 -jar start.jar
> instead becomes:
> java -Djetty.port=7574 -DzkHost=localhost:9983 -jar start.jar
> We should also look at simply specifying the shard name in this example case 
> (see the solrwiki examples) by system property rather than asking the user to 
> edit solr.xml.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Reply via email to