[
https://issues.apache.org/jira/browse/SOLR-2722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13087889#comment-13087889
]
Mark Miller commented on SOLR-2722:
-----------------------------------
bq. it's just a sys property name we've specified in
Keeping in mind, we didn't really specify it - this is a jetty default - we
just changed the port. Most jetty installations will respect this prop unless
you happen to change it.
> 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: [email protected]
For additional commands, e-mail: [email protected]