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

larsh pushed a commit to branch 4.x-HBase-1.4
in repository https://gitbox.apache.org/repos/asf/phoenix.git


The following commit(s) were added to refs/heads/4.x-HBase-1.4 by this push:
     new a452a30  PHOENIX-5357 Display max size in exceptions thrown in 
SizeBoundQueue.
a452a30 is described below

commit a452a301570294a22a6d608bd4ba89d4a585939d
Author: Lars Hofhansl <la...@apache.org>
AuthorDate: Tue Jun 18 15:46:23 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