hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "huaxiang sun (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-16699) Overflows in AverageIntervalRateLimiter's refill() and getWaitInterval()
Date Fri, 23 Sep 2016 21:03:20 GMT
huaxiang sun created HBASE-16699:
------------------------------------

             Summary: Overflows in AverageIntervalRateLimiter's refill() and getWaitInterval()
                 Key: HBASE-16699
                 URL: https://issues.apache.org/jira/browse/HBASE-16699
             Project: HBase
          Issue Type: Bug
    Affects Versions: 2.0.0, 1.4.0
            Reporter: huaxiang sun
            Assignee: huaxiang sun


Please see the following two lines. Once it overflows, it will cause wrong behavior. For unconfigured
RateLimiters, we should have simpler logic to byPass the check. 

https://github.com/apache/hbase/blob/master/hbase-server/src/main/java/org/apache/hadoop/hbase/quotas/AverageIntervalRateLimiter.java#L37

https://github.com/apache/hbase/blob/master/hbase-server/src/main/java/org/apache/hadoop/hbase/quotas/AverageIntervalRateLimiter.java#L51



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message