Did you copy the core while solr is running? if yes, first shuown source and destination solr, copy intex to the other solr, then restat solr nodes. Lock files get written to the core while solr is running and doing indexing or searching, etc.
On Mon, May 9, 2016 at 12:38 PM, A Laxmi <a.lakshmi...@gmail.com> wrote: > Hi, > > I have installed Solr 5.3.1 using the Service Installation Script. I was > able to successfully start and stop Solr using service solr start/stop > commands and Solr loads up just fine. > > However, when I stop Solr service and copy an index of a core from one > server to another with same exact version of Solr and its corresponding > conf and restart the service, it complains about write.lock file when none > exists under the path that it specifies in the log. > > To validate whether the issue is with the data that is being copied or the > service script itself, I copied the collection directory with new index > into example-DIH directory and restarted Solr manually bin/solr start -e > dih -m 2g, it worked without any error. So, atleast this validates that > collection data is just fine and service script is creating a lock > everytime a new index is copied from another server though it has the same > exact Solr version. > > Did anyone experience the same? Any thoughts if this is a bug? > > Thanks! > AL > -- Abdel K. Belkasri, PhD