You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by la...@apache.org on 2019/06/18 22:45:31 UTC
[phoenix] branch 4.x-HBase-1.3 updated: PHOENIX-5357 Display max
size in exceptions thrown in SizeBoundQueue.
This is an automated email from the ASF dual-hosted git repository.
larsh pushed a commit to branch 4.x-HBase-1.3
in repository https://gitbox.apache.org/repos/asf/phoenix.git
The following commit(s) were added to refs/heads/4.x-HBase-1.3 by this push:
new 1d3a1a0 PHOENIX-5357 Display max size in exceptions thrown in SizeBoundQueue.
1d3a1a0 is described below
commit 1d3a1a020e3d880336b197dc65c58a92798d616f
Author: Lars Hofhansl <la...@apache.org>
AuthorDate: Tue Jun 18 15:45:56 2019 -0700
PHOENIX-5357 Display max size in exceptions thrown in SizeBoundQueue.
---
.../src/main/java/org/apache/phoenix/iterate/SizeBoundQueue.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/phoenix-core/src/main/java/org/apache/phoenix/iterate/SizeBoundQueue.java b/phoenix-core/src/main/java/org/apache/phoenix/iterate/SizeBoundQueue.java
index eb1e6be..34c6fec 100644
--- a/phoenix-core/src/main/java/org/apache/phoenix/iterate/SizeBoundQueue.java
+++ b/phoenix-core/src/main/java/org/apache/phoenix/iterate/SizeBoundQueue.java
@@ -55,7 +55,7 @@ public abstract class SizeBoundQueue<T> extends AbstractQueue<T> implements Size
return super.add(e);
} catch (IllegalStateException ex) {
throw new IllegalStateException(
- "Queue full. Consider increasing memory threshold or spooling to disk", ex);
+ "Queue full. Consider increasing memory threshold or spooling to disk. Max size: " + maxSizeBytes + ", Current size: " + currentSize + ", Number of elements:" + size(), ex);
}
}