Re: setting absolute path for snapshooter in solrconfig.xml doesn't work

2007-09-19 Thread Yu-Hui Jin
Thanks, it works now. regards, -Hui On 9/19/07, Pieter Berkel <[EMAIL PROTECTED] > wrote: > > If you don't need to pass any command line arguments to snapshooter, > remove > (or comment out) this line from solrconfig.xml: > > arg1 arg2 > > By the same token, if you're not setting environment

Re: setting absolute path for snapshooter in solrconfig.xml doesn't work

2007-09-19 Thread Pieter Berkel
If you don't need to pass any command line arguments to snapshooter, remove (or comment out) this line from solrconfig.xml: arg1 arg2 By the same token, if you're not setting environment variables either, remove the following line as well: MYVAR=val1 Once you alter / remove those two lines,

Re: setting absolute path for snapshooter in solrconfig.xml doesn't work

2007-09-19 Thread Yu-Hui Jin
Hi, Pieter, Thanks! Now the exception is gone. However, There's no snapshot file created in the data directory. Strangely, the snapshooter.log seems to complete successfully. Any idea what else I'm missing? $ cat var/SolrHome/solr/logs/snapshooter.log 2007/09/19 20:16:17 started by solruser 200

Re: setting absolute path for snapshooter in solrconfig.xml doesn't work

2007-09-19 Thread Pieter Berkel
See this recent thread for some helpful info: http://www.nabble.com/solr-doesn%27t-find-exe-in-postCommit-event-tf4264879.html#a12167792 You'll probably want to configure your exe with an absolute path rather than the dir: /var/SolrHome/solr/bin/snapshooter . In order to get the snap