You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Feng Gao <fg...@caiman.com> on 2008/05/02 17:09:49 UTC

sometimes, snapshooter doesn't work

Hi,

Here is the config info in solrconfig.xml:

<listener event="postCommit" class="solr.RunExecutableListener">
      <str name="exe">/opt/solr-jetty/solr/bin/snapshooter</str>
      <str name="dir">/opt/solr-jetty/solr/data</str>
      <bool name="wait">true</bool>
      <arr name="args"> <str>arg1</str> <str>arg2</str> </arr>
      <arr name="env"> <str>MYVAR=val1</str> </arr>
</listener>

<listener event="postOptimize" class="solr.RunExecutableListener">
      <str name="exe">/opt/solr-jetty/solr/bin/snapshooter</str>
      <str name="dir">/opt/solr-jetty/solr/data</str>
      <bool name="wait">true</bool>
</listener>

Our system updates the solr index once daily. Mostly, the snapshooter works.
Last night, it did not work.


Thanks,

Feng