hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matteo Bertozzi (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-17104) Improve cryptic error message "Memstore size is" on region close
Date Tue, 15 Nov 2016 22:44:58 GMT
Matteo Bertozzi created HBASE-17104:

             Summary: Improve cryptic error message "Memstore size is" on region close
                 Key: HBASE-17104
                 URL: https://issues.apache.org/jira/browse/HBASE-17104
             Project: HBase
          Issue Type: Bug
          Components: regionserver
            Reporter: Matteo Bertozzi
            Priority: Trivial
             Fix For: 2.0.0

while grepping my RS log for ERROR I found a cryptic
ERROR [RS_CLOSE_REGION-u1604vm:35021-1] regionserver.HRegion(1601): Memstore size is 33744

from the code looks like we seems to want to notify the user about the fact that on close
the rs was not able to flush and there were things in the RS. 
if (!canFlush) {
  this.decrMemstoreSize(new MemstoreSize(memstoreDataSize.get(), getMemstoreHeapOverhead()));
} else if (memstoreDataSize.get() != 0) {
  LOG.error("Memstore size is " + memstoreDataSize.get());
this should probably not even be an error but a warn or even info, unless we have puts that
specifically asked to not be written to the wal,  otherwise the data in the memstore should
be safe in the wals. 
In any case it will be nice to have a message describing what is going on and why we are notifying
about the memstore size.

This message was sent by Atlassian JIRA

View raw message