[
https://issues.apache.org/jira/browse/HBASE-17376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15779527#comment-15779527
]
Hudson commented on HBASE-17376:
--------------------------------
SUCCESS: Integrated in Jenkins build HBase-Trunk_matrix #2205 (See
[https://builds.apache.org/job/HBase-Trunk_matrix/2205/])
HBASE-17376 ClientAsyncPrefetchScanner may fail due to too many rows (tedyu:
rev e18e9a22daf32306f966641ea02a72fca96dee32)
* (edit)
hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestScannersFromClientSide.java
* (edit)
hbase-client/src/main/java/org/apache/hadoop/hbase/client/ClientAsyncPrefetchScanner.java
> ClientAsyncPrefetchScanner may fail due to too many rows
> --------------------------------------------------------
>
> Key: HBASE-17376
> URL: https://issues.apache.org/jira/browse/HBASE-17376
> Project: HBase
> Issue Type: Bug
> Affects Versions: 2.0.0
> Reporter: ChiaPing Tsai
> Assignee: ChiaPing Tsai
> Fix For: 2.0.0
>
> Attachments: HBASE.17376.v0.patch, HBASE.17376.v1.patch
>
>
> ClientAsyncPrefetchScanner uses a fixed capacity LinkedBlockingQueue, so it
> may throw “queue full”. For example, scan with infinite caching or extra data
> from observer.
> {noformat}
> @Override
> protected void initCache() {
> // concurrent cache
> cacheCapacity = calcCacheCapacity();
> cache = new LinkedBlockingQueue<Result>(cacheCapacity);
> cacheSizeInBytes = new AtomicLong(0);
> exceptionsQueue = new ConcurrentLinkedQueue<Exception>();
> prefetchRunnable = new PrefetchRunnable();
> prefetchRunning = new AtomicBoolean(false);
> closingThreadId = new AtomicLong(NO_THREAD);
> }
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)