You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2011/05/30 16:11:47 UTC

[jira] [Assigned] (HBASE-3934) MemStoreFlusher.getMemStoreLimit() doesn't honor defaultLimit

     [ https://issues.apache.org/jira/browse/HBASE-3934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Yu reassigned HBASE-3934:
-----------------------------

    Assignee: Ted Yu

> 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
>            Assignee: Ted Yu
>         Attachments: 3934.txt
>
>
> From Lars George:
> See below from MemStoreFlusher.java (trunk):
> {code}
>  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);
>  }
> {code}
> 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