accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject accumulo git commit: ACCUMULO-3833 decrease the level of the relatively unhelpful message
Date Wed, 24 Jun 2015 20:13:54 GMT
Repository: accumulo
Updated Branches:
  refs/heads/master 75ce6d4b5 -> ee6bea790


ACCUMULO-3833 decrease the level of the relatively unhelpful message


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

Branch: refs/heads/master
Commit: ee6bea7903fbf2d6389dca38698f9c5b0f5d8ba6
Parents: 75ce6d4
Author: Eric Newton <eric.newton@gmail.com>
Authored: Wed Jun 24 16:13:48 2015 -0400
Committer: Eric Newton <eric.newton@gmail.com>
Committed: Wed Jun 24 16:13:48 2015 -0400

----------------------------------------------------------------------
 .../src/main/java/org/apache/accumulo/tserver/NativeMap.java  | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/ee6bea79/server/tserver/src/main/java/org/apache/accumulo/tserver/NativeMap.java
----------------------------------------------------------------------
diff --git a/server/tserver/src/main/java/org/apache/accumulo/tserver/NativeMap.java b/server/tserver/src/main/java/org/apache/accumulo/tserver/NativeMap.java
index 6eb8e4e..cf01dd3 100644
--- a/server/tserver/src/main/java/org/apache/accumulo/tserver/NativeMap.java
+++ b/server/tserver/src/main/java/org/apache/accumulo/tserver/NativeMap.java
@@ -203,12 +203,7 @@ public class NativeMap implements Iterable<Map.Entry<Key,Value>>
{
         @Override
         public void run() {
           if (allocatedNativeMaps.size() > 0) {
-            // print to system err in case log4j is shutdown...
-            try {
-              log.warn("There are " + allocatedNativeMaps.size() + " allocated native maps");
-            } catch (Throwable t) {
-              log.error("There are " + allocatedNativeMaps.size() + " allocated native maps");
-            }
+            log.info("There are " + allocatedNativeMaps.size() + " allocated native maps");
           }
 
           log.debug(totalAllocations + " native maps were allocated");


Mime
View raw message