Return-Path: X-Original-To: apmail-accumulo-commits-archive@www.apache.org Delivered-To: apmail-accumulo-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6665DF5B1 for ; Wed, 20 Mar 2013 17:47:18 +0000 (UTC) Received: (qmail 57729 invoked by uid 500); 20 Mar 2013 17:47:18 -0000 Delivered-To: apmail-accumulo-commits-archive@accumulo.apache.org Received: (qmail 57464 invoked by uid 500); 20 Mar 2013 17:47:17 -0000 Mailing-List: contact commits-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@accumulo.apache.org Delivered-To: mailing list commits@accumulo.apache.org Received: (qmail 57414 invoked by uid 99); 20 Mar 2013 17:47:16 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Mar 2013 17:47:16 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Mar 2013 17:47:13 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id D6499238889B; Wed, 20 Mar 2013 17:46:52 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1458976 - /accumulo/branches/1.5/server/src/main/java/org/apache/accumulo/server/gc/SimpleGarbageCollector.java Date: Wed, 20 Mar 2013 17:46:52 -0000 To: commits@accumulo.apache.org From: ecn@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20130320174652.D6499238889B@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: ecn Date: Wed Mar 20 17:46:52 2013 New Revision: 1458976 URL: http://svn.apache.org/r1458976 Log: ACCUMULO-1153 do not bother warning about directories we know may not exist Modified: accumulo/branches/1.5/server/src/main/java/org/apache/accumulo/server/gc/SimpleGarbageCollector.java Modified: accumulo/branches/1.5/server/src/main/java/org/apache/accumulo/server/gc/SimpleGarbageCollector.java URL: http://svn.apache.org/viewvc/accumulo/branches/1.5/server/src/main/java/org/apache/accumulo/server/gc/SimpleGarbageCollector.java?rev=1458976&r1=1458975&r2=1458976&view=diff ============================================================================== --- accumulo/branches/1.5/server/src/main/java/org/apache/accumulo/server/gc/SimpleGarbageCollector.java (original) +++ accumulo/branches/1.5/server/src/main/java/org/apache/accumulo/server/gc/SimpleGarbageCollector.java Wed Mar 20 17:46:52 2013 @@ -654,10 +654,14 @@ public class SimpleGarbageCollector impl String parts[] = delete.split("/"); if (parts.length > 1) { String tableId = parts[1]; + String tabletDir = parts[2]; TableManager.getInstance().updateTableStateCache(tableId); TableState tableState = TableManager.getInstance().getTableState(tableId); - if (tableState != null && tableState != TableState.DELETING) - log.warn("File doesn't exist: " + p); + if (tableState != null && tableState != TableState.DELETING) { + // clone directories don't always exist + if (!tabletDir.startsWith("c-")) + log.warn("File doesn't exist: " + p); + } } else { log.warn("Very strange path name: " + delete); }