accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From els...@apache.org
Subject [1/3] accumulo git commit: ACCUMULO-3377 Add exception to log message
Date Tue, 02 Dec 2014 04:05:01 GMT
Repository: accumulo
Updated Branches:
  refs/heads/1.6 3bb20cd1f -> 1d288cfe5
  refs/heads/master 54475e5c1 -> ebb0e1d7b


ACCUMULO-3377 Add exception to log message


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

Branch: refs/heads/1.6
Commit: 1d288cfe5413fa45ca2710712b84cb2f84b5ecf8
Parents: 3bb20cd
Author: Josh Elser <elserj@apache.org>
Authored: Mon Dec 1 22:49:04 2014 -0500
Committer: Josh Elser <elserj@apache.org>
Committed: Mon Dec 1 22:49:04 2014 -0500

----------------------------------------------------------------------
 .../java/org/apache/accumulo/server/client/BulkImporter.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/1d288cfe/server/base/src/main/java/org/apache/accumulo/server/client/BulkImporter.java
----------------------------------------------------------------------
diff --git a/server/base/src/main/java/org/apache/accumulo/server/client/BulkImporter.java
b/server/base/src/main/java/org/apache/accumulo/server/client/BulkImporter.java
index 99126d8..4cc13a9 100644
--- a/server/base/src/main/java/org/apache/accumulo/server/client/BulkImporter.java
+++ b/server/base/src/main/java/org/apache/accumulo/server/client/BulkImporter.java
@@ -148,7 +148,7 @@ public class BulkImporter {
             try {
               tabletsToAssignMapFileTo = findOverlappingTablets(ServerConfiguration.getSystemConfiguration(instance),
fs, locator, mapFile, credentials);
             } catch (Exception ex) {
-              log.warn("Unable to find tablets that overlap file " + mapFile.toString());
+              log.warn("Unable to find tablets that overlap file " + mapFile.toString(),
ex);
             }
             log.debug("Map file " + mapFile + " found to overlap " + tabletsToAssignMapFileTo.size()
+ " tablets");
             if (tabletsToAssignMapFileTo.size() == 0) {
@@ -214,7 +214,7 @@ public class BulkImporter {
               timer.stop(Timers.QUERY_METADATA);
               keListIter.remove();
             } catch (Exception ex) {
-              log.warn("Exception finding overlapping tablets, will retry tablet " + ke);
+              log.warn("Exception finding overlapping tablets, will retry tablet " + ke,
ex);
             }
           }
           


Mime
View raw message