I am currently running Solr 4.4.0 on RHEL 6.  The index used to be mounted
via nfs and it all worked perfectly fine.  For security reasons we switched
the index to be sshfs mounted - and this seems to cause solr to fail after a
while.  If we switch back to nfs it works again.

The behavior is strange - Solr starts up and issues an error:
...
Oct 02, 2014 11:43:00 AM org.apache.solr.common.SolrException log
SEVERE: org.apache.solr.common.SolrException: Error opening new searcher
...
Caused by: java.io.FileNotFoundException:
/path/to/collection/data/index/_10_Lucene41_0.tim (Operation not permitted)
...

While Solr is running, if, as the same user, I look at the mounted path I
get the same behavior:
-bash-4.1$ ls /mounted/filesystem/path
ls: reading directory /mounted/filesystem/path: Operation not permitted

When I shut down Solr it behaves as expected and I get the file listing. 
The file is there and 

Several of us, including unix systems people, are looking at why this might
be happening and have yet to figure it out.

Does anyone know if it possible to run Solr where the index is mounted via
sshfs?  

Thanks for any advice,
Grainne





--
View this message in context: 
http://lucene.472066.n3.nabble.com/Does-Solr-handle-an-sshfs-mounted-index-tp4162375.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to