This is an automated email from the ASF dual-hosted git repository.

larsh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/phoenix.git


The following commit(s) were added to refs/heads/master by this push:
     new 486afae  PHOENIX-5357 Display max size in exceptions thrown in 
SizeBoundQueue.
486afae is described below

commit 486afae05cc85649973dbb52d6c96387c1ed81cb
Author: Lars Hofhansl <la...@apache.org>
AuthorDate: Tue Jun 18 15:47:24 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);
         }
     }
 

Reply via email to