Re: fail to create or find snapshoot

2009-04-28 Thread Jian Han Guo
I think this is a bug. I looked at the classes SnapShooter, and it's constructor looks like this: public SnapShooter(SolrCore core) { solrCore = core; } This leaves the variable snapDir to be null, and the variable is never initialized elsewhere, and later in the function

fail to create or find snapshoot

2009-04-27 Thread Jian Han Guo
Hi, According to Solr's wiki page http://wiki.apache.org/solr/SolrReplication, if I send the following request to master, a snapshoot will be created http://master_host:port/solr/replication?command=snapshoothttp://master_host/solr/replication?command=snapshoot But after I did it, nothing

Re: fail to create or find snapshoot

2009-04-27 Thread Jian Han Guo
Actually, I found the snapshot in the directory where solr was lauched. Is this done on purpose? shouldn't it be in the data directory? Thanks, Jianhan On Mon, Apr 27, 2009 at 11:43 AM, Jian Han Guo jian...@gmail.com wrote: Hi, According to Solr's wiki page