hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ChiaPing Tsai (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-17376) ClientAsyncPrefetchScanner fails due to too many rows
Date Mon, 26 Dec 2016 11:21:58 GMT
ChiaPing Tsai created HBASE-17376:

             Summary: ClientAsyncPrefetchScanner fails due to too many rows
                 Key: HBASE-17376
                 URL: https://issues.apache.org/jira/browse/HBASE-17376
             Project: HBase
          Issue Type: Bug
            Reporter: ChiaPing Tsai

ClientAsyncPrefetchScanner uses a fixed capacity LinkedBlockingQueue, so it may throw “queue
full”. For example, scan with infinite caching or extra data from observer.
  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);

This message was sent by Atlassian JIRA

View raw message