[
https://issues.apache.org/jira/browse/SOLR-6734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16504722#comment-16504722
]
Shawn Heisey commented on SOLR-6734:
------------------------------------
bq. What do you mean by “service” here? Process or OS service/daemon?
I'm referring to an OS service. Something in /etc/init.d, systemd, upstart,
etc. Which I suppose also equates to a process, and each one would need to
write a PID file. (Once the paradigm is nailed, come up with something similar
for Windows)
The only reason that I propose this for Solr and ZK, rather than having those
be daemons under the sole control of the agent service, is to make it
straightforward for anyone (the user OR the agent) to start/stop them. If the
agent (node controller in your example) were the only service directly
controlled by the OS and the others were controlled by the agent (probably by
calling scripts, if Java's process control is braindead), I think that would
work as well.
If there's an open source framework for this that meets all the criteria, I'd
be happy to look at it. The criteria I think it needs: 1) Has an acceptable
license. 2) Is generic enough for our purposes. 3) Works on both POSIX
platforms and Windows with minimal differences between the two.
I'm developing a pretty clear mental picture of how all these pieces would work
together, monitor each other, and report problems. It's a very 30000-foot
view, with a bunch of black boxes where the precise implementation hasn't been
completely worked out, but the general mechanics seem doable.
> Standalone solr as *two* applications -- Solr and a controlling agent
> ---------------------------------------------------------------------
>
> Key: SOLR-6734
> URL: https://issues.apache.org/jira/browse/SOLR-6734
> Project: Solr
> Issue Type: Sub-task
> Reporter: Shawn Heisey
> Priority: Major
>
> In a message to the dev list outlining reasons to switch from a webapp to a
> standalone app, Mark Miller included the idea of making Solr into two
> applications, rather than just one. There would be Solr itself, and an agent
> to control Solr.
> http://mail-archives.apache.org/mod_mbox/lucene-dev/201305.mbox/%3C807476C6-E4C3-4E7E-9F67-2BECB63990DE%40gmail.com%3E
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]