Re: FileNotFoundException, Error closing IndexWriter, Error opening new searcher
Did you solve this problem? I am experiencing (Solr 4.4.0 not clustered) the same behavior when the files are mounted via sshfs (a requirement) but not when they are mounted via nfs. I'm hoping you solved your problem and might have advice on how I can solve mine. Thanks, Grainne -- View this message in context: http://lucene.472066.n3.nabble.com/FileNotFoundException-Error-closing-IndexWriter-Error-opening-new-searcher-tp4157800p4162177.html Sent from the Solr - User mailing list archive at Nabble.com.
Upgrade from solr 4.4 to 4.10.1
I need to upgrade from Solr 4.4 to version 4.10.1 and am not sure if I need to reindex. The following from http://wiki.apache.org/solr/Solr4.0 leads me to believe I don't: "The guarantee for this alpha release is that the index format will be the 4.0 index format, supported through the 5.x series of Lucene/Solr, unless there is a critical bug (e.g. that would cause index corruption) that would prevent this." I've been looking through the change logs and news and the following from http://lucene.apache.org/solr/solrnews.html makes me think that maybe I do need to reindex: "Solr 4.6 Release Highlights: ... New default index format: Lucene46Codec ..." It will not be an easy task to reindex the files so I am hoping the answer is that it is not necessary. Thanks for any advice, Grainne -- View this message in context: http://lucene.472066.n3.nabble.com/Upgrade-from-solr-4-4-to-4-10-1-tp4162340.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Upgrade from solr 4.4 to 4.10.1
Hi Michael, Thanks for the quick response. Running optimize on the index sounds like a good idea. Do you know if that is possible from the command line? I agree it is an omission to not be easily able to reindex files and that is a story I need to prioritize. Thanks again, Grainne -- View this message in context: http://lucene.472066.n3.nabble.com/Upgrade-from-solr-4-4-to-4-10-1-tp4162340p4162359.html Sent from the Solr - User mailing list archive at Nabble.com.
Does Solr handle an sshfs mounted index
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.