Search code examples
tomcatsolrjettysolrcloud

SolrCloud - Jetty vs Tomcat


We're looking to use SolrCloud with separate ZooKeeper instances but need some advice. Our situation is - multiple collections, each with multiple shard's running on Ubuntu 13, Solr 4.7.0, separate ZooKeeper 3.4.5, OpenJDK 7 in AWS

  • Jetty or Tomcat? Jetty is built in and requires less config but unless specifying "nohup" the SolrCloud instance exits when you exit the java command running SolrCloud or when you disconnect the SSH session. In addition, it doesn't run as a service out of the box so there's extra config to get it to startup with the server.

Cheers


Solution

  • Agreed that Jetty is the right way to go, but ended up going with the below style solution:

    daemon for solr