incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject git commit: Fixing a issue where a runtimeexception bubbles up through a thread in the faceting logic. This exception causes the thread to no longer operate in the facet thread pool. After all the threads of the pool are exhausted and several faceting
Date Wed, 28 May 2014 01:15:23 GMT
Repository: incubator-blur
Updated Branches:
  refs/heads/apache-blur-0.2 93f4b3cf6 -> af000ffea


Fixing a issue where a runtimeexception bubbles up through a thread in the faceting logic.
 This exception causes the thread to no longer operate in the facet thread pool.  After all
the threads of the pool are exhausted and several faceting runnables fill the execution queue
the process can sometimes run out of memory.  At the least the faceting runs much slower.


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

Branch: refs/heads/apache-blur-0.2
Commit: af000ffeae526b99f335def1ee1d706c57a68278
Parents: 93f4b3c
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Tue May 27 21:15:41 2014 -0400
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Tue May 27 21:15:41 2014 -0400

----------------------------------------------------------------------
 .../main/java/org/apache/blur/lucene/search/FacetExecutor.java    | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/af000ffe/blur-query/src/main/java/org/apache/blur/lucene/search/FacetExecutor.java
----------------------------------------------------------------------
diff --git a/blur-query/src/main/java/org/apache/blur/lucene/search/FacetExecutor.java b/blur-query/src/main/java/org/apache/blur/lucene/search/FacetExecutor.java
index 615135e..683ba98 100644
--- a/blur-query/src/main/java/org/apache/blur/lucene/search/FacetExecutor.java
+++ b/blur-query/src/main/java/org/apache/blur/lucene/search/FacetExecutor.java
@@ -327,9 +327,8 @@ public class FacetExecutor {
             public void run() {
               try {
                 entry.getValue().process(_counts, _minimumsBeforeReturning, _running);
-              } catch (IOException e) {
+              } catch (Throwable e) {
                 LOG.error("Unknown error", e);
-                throw new RuntimeException(e);
               } finally {
                 finished.incrementAndGet();
               }


Mime
View raw message