Yep, but note the discussion. It's not at all clear that Solr is the place to deal with an unreliable network, and it sounds like that's the root of your issue.
It doesn't look like anyone's hot to change Solr's behavior here, and it's arguable that Solr isn't the place to compensate for an unreliable share, but that's debatable. Do you have the energy to propose a patch? Best Erick On Mon, Jun 6, 2011 at 1:02 AM, Gaurav Shingala <gaurav.shing...@hotmail.com> wrote: > > Hi, > > Yes, you are right I have a remote file system also I have checked and > confirmed that there was no issue in network. > One more thing i need to include here is i had found same bug with ID > SOLR-2235 on ASF JIRA. > > > Thanks, > Gaurav > >> Date: Fri, 3 Jun 2011 09:13:00 -0400 >> Subject: Re: java.io.IOException: The specified network name is no longer >> available >> From: erickerick...@gmail.com >> To: solr-user@lucene.apache.org >> >> You'v got to tell us more about your setup. We can only guess that you're >> on a remote file system and there's a problem there, which would be a >> network problem outside of Solr's purview.... >> >> You might want to review: >> http://wiki.apache.org/solr/UsingMailingLists >> >> Best >> Erick >> >> On Fri, Jun 3, 2011 at 1:52 AM, Gaurav Shingala >> <gaurav.shing...@hotmail.com> wrote: >> > >> > Hi, >> > >> > I am using solr 1.4.1 and at the time of updating index getting following >> > error: >> > >> > 2011-06-03 05:54:06,943 ERROR [org.apache.solr.core.SolrCore] >> > (http-10.38.33.146-8080-4) java.io.IOException: The specified network name >> > is no longer available >> > at java.io.RandomAccessFile.readBytes(Native Method) >> > at java.io.RandomAccessFile.read(RandomAccessFile.java:322) >> > at >> > org.apache.lucene.store.SimpleFSDirectory$SimpleFSIndexInput.readInternal(SimpleFSDirectory.java:132) >> > at >> > org.apache.lucene.store.BufferedIndexInput.refill(BufferedIndexInput.java:157) >> > at >> > org.apache.lucene.store.BufferedIndexInput.readByte(BufferedIndexInput.java:38) >> > at org.apache.lucene.store.IndexInput.readVInt(IndexInput.java:78) >> > at org.apache.lucene.index.TermBuffer.read(TermBuffer.java:64) >> > at >> > org.apache.lucene.index.SegmentTermEnum.next(SegmentTermEnum.java:129) >> > at >> > org.apache.lucene.index.SegmentTermEnum.scanTo(SegmentTermEnum.java:160) >> > at org.apache.lucene.index.TermInfosReader.get(TermInfosReader.java:232) >> > at org.apache.lucene.index.TermInfosReader.get(TermInfosReader.java:179) >> > at org.apache.lucene.index.SegmentTermDocs.seek(SegmentTermDocs.java:57) >> > at org.apache.lucene.index.IndexReader.termDocs(IndexReader.java:1103) >> > at >> > org.apache.lucene.index.SegmentReader.termDocs(SegmentReader.java:981) >> > at >> > org.apache.solr.search.SolrIndexReader.termDocs(SolrIndexReader.java:320) >> > at >> > org.apache.solr.search.SolrIndexSearcher.getDocSetNC(SolrIndexSearcher.java:640) >> > at >> > org.apache.solr.search.SolrIndexSearcher.getDocSet(SolrIndexSearcher.java:545) >> > at >> > org.apache.solr.search.SolrIndexSearcher.getDocSet(SolrIndexSearcher.java:581) >> > at >> > org.apache.solr.search.SolrIndexSearcher.getDocListNC(SolrIndexSearcher.java:903) >> > at >> > org.apache.solr.search.SolrIndexSearcher.getDocListC(SolrIndexSearcher.java:884) >> > at >> > org.apache.solr.search.SolrIndexSearcher.search(SolrIndexSearcher.java:341) >> > at >> > org.apache.solr.handler.component.QueryComponent.process(QueryComponent.java:182) >> > at >> > org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:195) >> > at >> > org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131) >> > at org.apache.solr.core.SolrCore.execute(SolrCore.java:1316) >> > at >> > org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:338) >> > at >> > org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:241) >> > at >> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274) >> > at >> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) >> > at >> > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) >> > at >> > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) >> > at >> > org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181) >> > at >> > org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285) >> > at >> > org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261) >> > at >> > org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88) >> > at >> > org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100) >> > at >> > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) >> > at >> > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) >> > at >> > org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) >> > at >> > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) >> > at >> > org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53) >> > at >> > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) >> > at >> > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) >> > at >> > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654) >> > at >> > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951) >> > at java.lang.Thread.run(Thread.java:619) >> > >> > 2011-06-03 05:54:06,943 INFO [org.apache.solr.core.SolrCore] >> > (http-10.38.33.146-8080-4) [project_58787] webapp=/solr path=/select >> > params={sort=revisionid_l+desc&start=0&q=type_s:IFCFileMaster+AND+modelversionid_l:(+8+7+)&wt=javabin&fq=reftable_s:IFCRELDEFINESBYPROPERTIES&version=1&rows=100} >> > status=500 QTime=0 >> > 2011-06-03 05:54:06,990 ERROR [org.apache.solr.servlet.SolrDispatchFilter] >> > (http-10.38.33.146-8080-4) java.io.IOException: The specified network name >> > is no longer available >> > at java.io.RandomAccessFile.readBytes(Native Method) >> > at java.io.RandomAccessFile.read(RandomAccessFile.java:322) >> > at >> > org.apache.lucene.store.SimpleFSDirectory$SimpleFSIndexInput.readInternal(SimpleFSDirectory.java:132) >> > at >> > org.apache.lucene.store.BufferedIndexInput.refill(BufferedIndexInput.java:157) >> > at >> > org.apache.lucene.store.BufferedIndexInput.readByte(BufferedIndexInput.java:38) >> > at org.apache.lucene.store.IndexInput.readVInt(IndexInput.java:78) >> > at org.apache.lucene.index.TermBuffer.read(TermBuffer.java:64) >> > at >> > org.apache.lucene.index.SegmentTermEnum.next(SegmentTermEnum.java:129) >> > at >> > org.apache.lucene.index.SegmentTermEnum.scanTo(SegmentTermEnum.java:160) >> > at org.apache.lucene.index.TermInfosReader.get(TermInfosReader.java:232) >> > at org.apache.lucene.index.TermInfosReader.get(TermInfosReader.java:179) >> > at org.apache.lucene.index.SegmentTermDocs.seek(SegmentTermDocs.java:57) >> > at org.apache.lucene.index.IndexReader.termDocs(IndexReader.java:1103) >> > at >> > org.apache.lucene.index.SegmentReader.termDocs(SegmentReader.java:981) >> > at >> > org.apache.solr.search.SolrIndexReader.termDocs(SolrIndexReader.java:320) >> > at >> > org.apache.solr.search.SolrIndexSearcher.getDocSetNC(SolrIndexSearcher.java:640) >> > at >> > org.apache.solr.search.SolrIndexSearcher.getDocSet(SolrIndexSearcher.java:545) >> > at >> > org.apache.solr.search.SolrIndexSearcher.getDocSet(SolrIndexSearcher.java:581) >> > at >> > org.apache.solr.search.SolrIndexSearcher.getDocListNC(SolrIndexSearcher.java:903) >> > at >> > org.apache.solr.search.SolrIndexSearcher.getDocListC(SolrIndexSearcher.java:884) >> > at >> > org.apache.solr.search.SolrIndexSearcher.search(SolrIndexSearcher.java:341) >> > at >> > org.apache.solr.handler.component.QueryComponent.process(QueryComponent.java:182) >> > at >> > org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:195) >> > at >> > org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131) >> > at org.apache.solr.core.SolrCore.execute(SolrCore.java:1316) >> > at >> > org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:338) >> > at >> > org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:241) >> > at >> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:274) >> > at >> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242) >> > at >> > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) >> > at >> > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) >> > at >> > org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:181) >> > at >> > org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.event(CatalinaContext.java:285) >> > at >> > org.jboss.modcluster.catalina.CatalinaContext$RequestListenerValve.invoke(CatalinaContext.java:261) >> > at >> > org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:88) >> > at >> > org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:100) >> > at >> > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) >> > at >> > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) >> > at >> > org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) >> > at >> > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) >> > at >> > org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:53) >> > at >> > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:362) >> > at >> > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) >> > at >> > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:654) >> > at >> > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:951) >> > at java.lang.Thread.run(Thread.java:619) >> > >> > Can any one have solution to resolve this error? >> > >> > Thanks for any help >> > Gaurav >> > >> > >> > >