On 2/26/2016 7:48 AM, Prateek Jain J wrote:
> WARN  - 2016-02-26 05:49:29.191; org.apache.solr.core.SolrCore; [cm_history] 
> WARNING: Solr index directory '/foo/solr/cm_history/data/index/' is locked.  
> Unlocking...
> WARN  - 2016-02-26 05:49:29.680; org.apache.solr.rest.ManagedResource; No 
> stored data found for /rest/managed
> Caused by: org.apache.lucene.store.LockObtainFailedException: Lock obtain 
> timed out: 
> SimpleFSLock@/foo/solr/data/index/write.lock<mailto:SimpleFSLock@/foo/solr/data/index/write.lock>

Looks like the index cannot be locked.  Perhaps the write.lock file
needs to be deleted before starting Solr.  Deleting that file might fix
it.  You will want to be absolutely sure that there are no running Solr
instances that are trying to use that index directory.

Why are you using the Simple lock?  The Native lock is the default, and
unless your index data is on an NFS share, is almost always the best
choice.  FYI: NFS shares are not recommended.  Regular filesystems are
supported a lot better.

Thanks,
Shawn

Reply via email to