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/master Commit: 1d288cfe5413fa45ca2710712b84cb2f84b5ecf8 Parents: 3bb20cd Author: Josh Elser <els...@apache.org> Authored: Mon Dec 1 22:49:04 2014 -0500 Committer: Josh Elser <els...@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); } }