Re: index dir of core xxx is already locked.

2016-11-16 Thread Erick Erickson
You really need to go through your Solr logs for the shard(s) in question very carefully. There'll be a lot of information dumped out, including paths used for everything. I suspect you've unknowingly created this situation when trying to set up Solr, HDFS or whatever but I can't really say what i

Re: index dir of core xxx is already locked.

2016-11-16 Thread Chetas Joshi
I don't kill the solr instance forcefully using "kill -9". I checked the core.properties file for that shard. The content is different from the core.properties file for all the other shards. It has the following two lines which are different config=solrconfig.xml schema=schema.xml In other shar

Re: index dir of core xxx is already locked.

2016-11-16 Thread Erick Erickson
bq: Before restarting, I delete all the write.lock files from the data dir. But every time I restart I get the same exception. First, this shouldn't be necessary. Are you by any chance killing the Solr instances with the equivalent of "kill -9"? Allow them to shut down gracefully. That said, until