[
https://issues.apache.org/jira/browse/SOLR-6733?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16480210#comment-16480210
]
Shawn Heisey commented on SOLR-6733:
------------------------------------
An alternative and smarter safety valve idea, which I like better than the
previous one:
When the hostname is not defined, Solr should check what kind of address is
detected. Certain types (loopback, link-local, and the range reserved for
carrier-grade NAT come to mind) should require a special parameter (maybe
forceDetectedHost, open to suggestions) to allow startup. An address on a
private network would start up with no trouble. So would a public address,
though I think it might be useful to log a warning for public addresses about
the dangers of allowing the open Internet to reach a Solr server. If the
forceDetectedHost special parameter previously mentioned is configured, the
public address warning would be suppressed.
> Umbrella issue - Solr as a standalone application
> -------------------------------------------------
>
> Key: SOLR-6733
> URL: https://issues.apache.org/jira/browse/SOLR-6733
> Project: Solr
> Issue Type: New Feature
> Reporter: Shawn Heisey
> Priority: Major
>
> Umbrella issue.
> Solr should be a standalone application, where the main method is provided by
> Solr source code.
> Here are the major tasks I envision, if we choose to embed Jetty:
> * Create org.apache.solr.start.Main (and possibly other classes in the same
> package), to be placed in solr-start.jar. The Main class will contain the
> main method that starts the embedded Jetty and Solr. I do not know how to
> adjust the build system to do this successfully.
> * Handle central configurations in code -- TCP port, SSL, and things like
> web.xml.
> * For each of these steps, clean up any test fallout.
> * Handle cloud-related configurations in code -- port, hostname, protocol,
> etc. Use the same information as the central configurations.
> * Consider whether things like authentication need changes.
> * Handle any remaining container configurations.
> I am currently imagining this work happening in a new branch and ultimately
> being applied only to master, not the stable branch.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]