Repository: incubator-blur Updated Branches: refs/heads/master cd5eb87b0 -> 5dfe14be2
Fixing issue with not logging exception during an error. Project: http://git-wip-us.apache.org/repos/asf/incubator-blur/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-blur/commit/5dfe14be Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/5dfe14be Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/5dfe14be Branch: refs/heads/master Commit: 5dfe14be2cbfe00da7c55ea9bb2b613d80d1d6c9 Parents: cd5eb87 Author: Aaron McCurry <[email protected]> Authored: Thu Jan 22 13:02:00 2015 -0500 Committer: Aaron McCurry <[email protected]> Committed: Thu Jan 22 13:02:00 2015 -0500 ---------------------------------------------------------------------- .../org/apache/blur/manager/writer/BlurIndexSimpleWriter.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/5dfe14be/blur-core/src/main/java/org/apache/blur/manager/writer/BlurIndexSimpleWriter.java ---------------------------------------------------------------------- diff --git a/blur-core/src/main/java/org/apache/blur/manager/writer/BlurIndexSimpleWriter.java b/blur-core/src/main/java/org/apache/blur/manager/writer/BlurIndexSimpleWriter.java index 12ad54b..0e8d6c5 100644 --- a/blur-core/src/main/java/org/apache/blur/manager/writer/BlurIndexSimpleWriter.java +++ b/blur-core/src/main/java/org/apache/blur/manager/writer/BlurIndexSimpleWriter.java @@ -605,7 +605,6 @@ public class BlurIndexSimpleWriter extends BlurIndex { final String table = _tableContext.getTable(); final String shard = _shardContext.getShard(); - final BulkEntry bulkEntry = _bulkWriters.get(bulkId); if (bulkEntry == null) { LOG.info("Shard [{2}/{3}] Id [{0}] Nothing to apply.", bulkId, apply, table, shard); @@ -710,7 +709,7 @@ public class BlurIndexSimpleWriter extends BlurIndex { }); } catch (IOException e) { LOG.error("Shard [{0}/{1}] Id [{2}] Unknown error while trying to finish the bulk updates.", table, shard, - bulkId); + bulkId, e); } } };
