Return-Path: X-Original-To: apmail-lucene-java-user-archive@www.apache.org Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3E913187FF for ; Tue, 4 Aug 2015 14:04:36 +0000 (UTC) Received: (qmail 80249 invoked by uid 500); 4 Aug 2015 14:04:34 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 80186 invoked by uid 500); 4 Aug 2015 14:04:34 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 80165 invoked by uid 99); 4 Aug 2015 14:04:34 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Aug 2015 14:04:34 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id DE7FCC019E for ; Tue, 4 Aug 2015 14:04:33 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.891 X-Spam-Level: * X-Spam-Status: No, score=1.891 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=3, RCVD_IN_MSPIKE_H2=-1.108, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id ym7naq0fHV5c for ; Tue, 4 Aug 2015 14:04:32 +0000 (UTC) Received: from mail-io0-f173.google.com (mail-io0-f173.google.com [209.85.223.173]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id C1FF7205B9 for ; Tue, 4 Aug 2015 14:04:31 +0000 (UTC) Received: by ioii16 with SMTP id i16so17731484ioi.0 for ; Tue, 04 Aug 2015 07:03:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=VqKr6pcWoG56vstXe/XFXMFPG/H1sgh0rJOeVKoOHvw=; b=EEDtvrFm6xiPkEBgNuDzeHSbhcNuUMU+YaYTxQ6RGKQU/uQLLV6OwEPx/l9/PGxl0R WkTqJAietLPQEKiN/IuaClqnortpjr/eYp8zT6FxT74/5mSD9rz4VdQk33DERsjXSEAo qjbzUtwEEpGfudesZ07SK0FFHR2+K54JXvWQ2q6ujzuWt1QYc5Rbf9t3YGsHUTCGx12r xWOYS3Pyv+g35Dlxebr0D8jkMeQDehVmGGXaxFvUSwiX7+A6xIouRjXoJLHNyywGVr7Q 4Il1ufI0tRyMhLUaAGessFoAGlREdV4yGaZrQjk4kW7OknNzwDg2iHwFuvWycd72gAGN QUhQ== X-Gm-Message-State: ALoCoQn5u24ztrc9BUcLlu+s08WtdRQt8ck46mQLZ/83/wKUg+FAtqC8hxZz/mq08pYRTUZxx5u/ MIME-Version: 1.0 X-Received: by 10.107.46.162 with SMTP id u34mr4070564iou.124.1438697025969; Tue, 04 Aug 2015 07:03:45 -0700 (PDT) Received: by 10.36.27.69 with HTTP; Tue, 4 Aug 2015 07:03:45 -0700 (PDT) Date: Tue, 4 Aug 2015 16:03:45 +0200 Message-ID: Subject: FileNotFoundException in recovery From: Markus Heiden To: java-user@lucene.apache.org Content-Type: multipart/alternative; boundary=001a113acf5c2c3a2c051c7cc1a7 --001a113acf5c2c3a2c051c7cc1a7 Content-Type: text/plain; charset=UTF-8 Hi, I sometimes get FileNotFoundExceptions from the recovery of a core in my log. Does anyone know the reason for this? As I understand Solr this may (or should) not happen. Markus 2015-08-04 15:06:07,646|INFO|mpKPXpbUwp|org.apache.solr.update.UpdateLog|Starting to buffer updates. FSUpdateLog{state=ACTIVE, tlog=tlog{file=/www/solrcloud/data/1yy0uawc-products/tlog/tlog.0000000000000073861 refcount=1}} 2015-08-04 15:06:07,646|INFO|mpKPXpbUwp|org.apache.solr.cloud.RecoveryStrategy|Attempting to replicate from http:///solr/1yy0uawc-products/. core=1yy0uawc-products 2015-08-04 15:06:07,833|INFO|mpKPXpbUwp|org.apache.solr.handler.IndexFetcher|Master's generation: 87681 2015-08-04 15:06:07,833|INFO|mpKPXpbUwp|org.apache.solr.handler.IndexFetcher|Slave's generation: 87679 2015-08-04 15:06:07,833|INFO|mpKPXpbUwp|org.apache.solr.handler.IndexFetcher|Starting replication process 2015-08-04 15:06:07,886|INFO|mpKPXpbUwp|org.apache.solr.handler.IndexFetcher|Number of files in latest index in master: 82 2015-08-04 15:06:07,887|INFO|mpKPXpbUwp|org.apache.solr.core.CachingDirectoryFactory|return new directory for /www/solrcloud/data/1yy0uawc-products/index.20150804150607887 2015-08-04 15:06:07,892|INFO|mpKPXpbUwp|org.apache.solr.core.CachingDirectoryFactory|looking to close /www/solrcloud/data/1yy0uawc-products/index.20150804150607887 [CachedDir<>] 2015-08-04 15:06:07,892|INFO|mpKPXpbUwp|org.apache.solr.core.CachingDirectoryFactory|Closing directory: /www/solrcloud/data/1yy0uawc-products/index.20150804150607887 2015-08-04 15:06:07,892|INFO|mpKPXpbUwp|org.apache.solr.core.CachingDirectoryFactory|Removing directory before core close: /www/solrcloud/data/1yy0uawc-products/index.20150804150607887 2015-08-04 15:06:07,892|ERROR|mpKPXpbUwp|org.apache.solr.common.SolrException|Index fetch failed :org.apache.solr.common.SolrException: Index fetch failed : at org.apache.solr.handler.IndexFetcher.fetchLatestIndex(IndexFetcher.java:515) at org.apache.solr.handler.IndexFetcher.fetchLatestIndex(IndexFetcher.java:254) at org.apache.solr.handler.ReplicationHandler.doFetch(ReplicationHandler.java:380) at org.apache.solr.cloud.RecoveryStrategy.replicate(RecoveryStrategy.java:161) at org.apache.solr.cloud.RecoveryStrategy.doRecovery(RecoveryStrategy.java:440) at org.apache.solr.cloud.RecoveryStrategy.run(RecoveryStrategy.java:229) Caused by: java.nio.file.NoSuchFileException: /www/solrcloud/data/1yy0uawc-products/index.20150803081018547/segments_1vnj at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86) at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) at sun.nio.fs.UnixFileSystemProvider.newFileChannel(UnixFileSystemProvider.java:177) at java.nio.channels.FileChannel.open(FileChannel.java:287) at java.nio.channels.FileChannel.open(FileChannel.java:335) at org.apache.lucene.store.MMapDirectory.openInput(MMapDirectory.java:213) at org.apache.lucene.store.Directory.openChecksumInput(Directory.java:110) at org.apache.lucene.index.SegmentInfos.readCommit(SegmentInfos.java:281) at org.apache.solr.handler.IndexFetcher.fetchLatestIndex(IndexFetcher.java:371) ... 5 more 2015-08-04 15:06:07,892|ERROR|mpKPXpbUwp|org.apache.solr.common.SolrException|Error while trying to recover:org.apache.solr.common.SolrException: Replication for recovery failed. at org.apache.solr.cloud.RecoveryStrategy.replicate(RecoveryStrategy.java:164) at org.apache.solr.cloud.RecoveryStrategy.doRecovery(RecoveryStrategy.java:440) at org.apache.solr.cloud.RecoveryStrategy.run(RecoveryStrategy.java:229) 2015-08-04 15:06:07,893|INFO|mpKPXpbUwp|org.apache.solr.update.UpdateLog|Dropping buffered updates FSUpdateLog{state=BUFFERING, tlog=tlog{file=/www/solrcloud/data/1yy0uawc-products/tlog/tlog.0000000000000073861 refcount=1}} 2015-08-04 15:06:07,893|ERROR|mpKPXpbUwp|org.apache.solr.cloud.RecoveryStrategy|Recovery failed - trying again... (0) core=1yy0uawc-products 2015-08-04 15:06:07,893|INFO|mpKPXpbUwp|org.apache.solr.cloud.RecoveryStrategy|Wait 2.0 seconds before trying to recover again (1) --001a113acf5c2c3a2c051c7cc1a7--