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 8F10218B98 for ; Thu, 30 Jul 2015 21:51:36 +0000 (UTC) Received: (qmail 58228 invoked by uid 500); 30 Jul 2015 21:51:36 -0000 Delivered-To: apmail-accumulo-commits-archive@accumulo.apache.org Received: (qmail 58150 invoked by uid 500); 30 Jul 2015 21:51:36 -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 57745 invoked by uid 99); 30 Jul 2015 21:51:36 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Jul 2015 21:51:36 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 3D2B6E7156; Thu, 30 Jul 2015 21:51:36 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: ctubbsii@apache.org To: commits@accumulo.apache.org Date: Thu, 30 Jul 2015 21:51:48 -0000 Message-Id: <53aae6ee30794662b9d497b47e49504c@git.apache.org> In-Reply-To: <984ecbbf37144d56b1b236207e81b5d5@git.apache.org> References: <984ecbbf37144d56b1b236207e81b5d5@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [14/14] accumulo git commit: ACCUMULO-3949 Formatting ACCUMULO-3949 Formatting Apply formatting changes from previous change Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/a9e6d734 Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/a9e6d734 Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/a9e6d734 Branch: refs/heads/master Commit: a9e6d7348839517d1bcc8bb4c35e775e126231cb Parents: da8d8a8 Author: Christopher Tubbs Authored: Thu Jul 30 17:42:35 2015 -0400 Committer: Christopher Tubbs Committed: Thu Jul 30 17:42:35 2015 -0400 ---------------------------------------------------------------------- .../org/apache/accumulo/tserver/tablet/Compactor.java | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/accumulo/blob/a9e6d734/server/tserver/src/main/java/org/apache/accumulo/tserver/tablet/Compactor.java ---------------------------------------------------------------------- diff --git a/server/tserver/src/main/java/org/apache/accumulo/tserver/tablet/Compactor.java b/server/tserver/src/main/java/org/apache/accumulo/tserver/tablet/Compactor.java index c1b8105..4c55db9 100644 --- a/server/tserver/src/main/java/org/apache/accumulo/tserver/tablet/Compactor.java +++ b/server/tserver/src/main/java/org/apache/accumulo/tserver/tablet/Compactor.java @@ -219,14 +219,9 @@ public class Compactor implements Callable { mfw = null; // set this to null so we do not try to close it again in finally if the close fails mfwTmp.close(); // if the close fails it will cause the compaction to fail - log.debug(String.format("Compaction %s %,d read | %,d written | %,6d entries/sec | %,6.3f secs | %,12d bytes | %9.3f byte/sec", - extent, - majCStats.getEntriesRead(), - majCStats.getEntriesWritten(), - (int) (majCStats.getEntriesRead() / ((t2 - t1) / 1000.0)), - (t2 - t1) / 1000.0, - mfwTmp.getLength(), - mfwTmp.getLength() / ((t2 - t1) / 1000.0))); + log.debug(String.format("Compaction %s %,d read | %,d written | %,6d entries/sec | %,6.3f secs | %,12d bytes | %9.3f byte/sec", extent, + majCStats.getEntriesRead(), majCStats.getEntriesWritten(), (int) (majCStats.getEntriesRead() / ((t2 - t1) / 1000.0)), (t2 - t1) / 1000.0, + mfwTmp.getLength(), mfwTmp.getLength() / ((t2 - t1) / 1000.0))); majCStats.setFileSize(mfwTmp.getLength()); return majCStats;