accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From els...@apache.org
Subject [46/50] [abbrv] git commit: ACCUMULO-378 Tune down some aggressive logging
Date Fri, 09 May 2014 15:29:24 GMT
ACCUMULO-378 Tune down some aggressive logging


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/440d7fcd
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/440d7fcd
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/440d7fcd

Branch: refs/heads/ACCUMULO-378
Commit: 440d7fcd498eb48a5e665dcb73ad795f3ba547cc
Parents: b18e0ee
Author: Josh Elser <elserj@apache.org>
Authored: Thu May 8 16:15:35 2014 -0400
Committer: Josh Elser <elserj@apache.org>
Committed: Thu May 8 16:15:35 2014 -0400

----------------------------------------------------------------------
 .../accumulo/gc/replication/RemoveCompleteReplicationRecords.java  | 2 +-
 .../accumulo/master/replication/ReplicationWorkAssigner.java       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/440d7fcd/server/gc/src/main/java/org/apache/accumulo/gc/replication/RemoveCompleteReplicationRecords.java
----------------------------------------------------------------------
diff --git a/server/gc/src/main/java/org/apache/accumulo/gc/replication/RemoveCompleteReplicationRecords.java
b/server/gc/src/main/java/org/apache/accumulo/gc/replication/RemoveCompleteReplicationRecords.java
index b46416c..6287aef 100644
--- a/server/gc/src/main/java/org/apache/accumulo/gc/replication/RemoveCompleteReplicationRecords.java
+++ b/server/gc/src/main/java/org/apache/accumulo/gc/replication/RemoveCompleteReplicationRecords.java
@@ -77,7 +77,7 @@ public class RemoveCompleteReplicationRecords implements Runnable {
       metaBw = conn.createBatchWriter(MetadataTable.NAME, new BatchWriterConfig());
       replBw = conn.createBatchWriter(ReplicationTable.NAME, new BatchWriterConfig());
     } catch (TableNotFoundException e) {
-      log.error("Replication table was deleted", e);
+      log.debug("Not attempting to remove complete replication records as the replication
table doesn't yet exist");
       return;
     }
 

http://git-wip-us.apache.org/repos/asf/accumulo/blob/440d7fcd/server/master/src/main/java/org/apache/accumulo/master/replication/ReplicationWorkAssigner.java
----------------------------------------------------------------------
diff --git a/server/master/src/main/java/org/apache/accumulo/master/replication/ReplicationWorkAssigner.java
b/server/master/src/main/java/org/apache/accumulo/master/replication/ReplicationWorkAssigner.java
index dddbf58..a6607e5 100644
--- a/server/master/src/main/java/org/apache/accumulo/master/replication/ReplicationWorkAssigner.java
+++ b/server/master/src/main/java/org/apache/accumulo/master/replication/ReplicationWorkAssigner.java
@@ -227,7 +227,7 @@ public class ReplicationWorkAssigner extends Daemon {
           if (!queuedWork.contains(key)) {
             queueWork(key, file);
           } else {
-            log.debug("Not re-queueing work for {}", key);
+            log.trace("Not re-queueing work for {}", key);
           }
         } else {
           log.debug("Not queueing work for {} because [{}] doesn't need replication", file,
TextFormat.shortDebugString(status));


Mime
View raw message