[
https://issues.apache.org/jira/browse/HBASE-13452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14496487#comment-14496487
]
Mikhail Antonov commented on HBASE-13452:
-----------------------------------------
Technically, this error message is shown when we calculate the flushable size
of each memstore in internalPrepareFlushCache(), sum up and subtract from
membstoreSize of the region.
Also, in this method there's call:
{code}String s = "Finished memstore snapshotting " + this +
", syncing WAL and waiting on mvcc, flushsize=" +
totalFlushableSizeOfFlushableStores;
{code}
which should've been present in the logs, [~devl.development] - did you have it
in the logs? How does it compare to the numbers you cites?
I'll look at it more.
> HRegion warning about memstore size miscalculation is not actionable
> --------------------------------------------------------------------
>
> Key: HBASE-13452
> URL: https://issues.apache.org/jira/browse/HBASE-13452
> Project: HBase
> Issue Type: Bug
> Affects Versions: 1.0.0
> Reporter: Dev Lakhani
> Priority: Blocker
> Fix For: 2.0.0, 1.1.0, 1.0.2
>
>
> During normal operation the HRegion class reports a message related to
> memstore flushing in HRegion.class :
> if (!canFlush) {
> addAndGetGlobalMemstoreSize(-memstoreSize.get());
> } else if (memstoreSize.get() != 0) {
> LOG.error("Memstore size is " + memstoreSize.get());
> }
> The log file is filled with lots of
> Memstore size is: 190192
> Memstore size is: 442232
> Memstore size is: 190192
> ...
> These message are uninformative, clog up the logs and offers no root cause
> nor solution. Maybe the message needs to be more informative, changed to WARN
> or some further information provided.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)