hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-3934) MemStoreFlusher.getMemStoreLimit() doesn't honor defaultLimit
Date Mon, 30 May 2011 14:07:47 GMT
MemStoreFlusher.getMemStoreLimit() doesn't honor defaultLimit

                 Key: HBASE-3934
                 URL: https://issues.apache.org/jira/browse/HBASE-3934
             Project: HBase
          Issue Type: Bug
            Reporter: Ted Yu

>From Lars George:
See below from MemStoreFlusher.java (trunk):
 static long getMemStoreLimit(final long max, final float limit,
     final float defaultLimit) {
   if (limit >= 0.9f || limit < 0.1f) {
     LOG.warn("Setting global memstore limit to default of " + defaultLimit +
       " because supplied value outside allowed range of 0.1 -> 0.9");
   return (long)(max * limit);
The log message says it is using defaultLimit, but the code is not.
Should we fix either?

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message