hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aditya Kishore (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-10046) Unmonitored HBase service could accumulate Status objects and OOM
Date Wed, 27 Nov 2013 01:04:36 GMT
Aditya Kishore created HBASE-10046:

             Summary: Unmonitored HBase service could accumulate Status objects and OOM
                 Key: HBASE-10046
                 URL: https://issues.apache.org/jira/browse/HBASE-10046
             Project: HBase
          Issue Type: Bug
          Components: monitoring
    Affects Versions: 0.94.14, 0.96.0
            Reporter: Aditya Kishore
            Assignee: Aditya Kishore

This was observed in a cluster where HBase Master UI was not monitored for quite a while.
During this period, a distributed log spitting task failed in an in-completable way and Master
kept recreating the task over and over again.

And each such task would create a monitored status...
  public long splitLogDistributed(final List<Path> logDirs, PathFilter filter) 
      throws IOException {
    MonitoredTask status = TaskMonitor.get().createStatus(
          "Doing distributed log split in " + logDirs);
...which kept accumulating on heap.

Now these monitored tasks get cleaned only when someone looks at the service UI otherwise
they keep growing boundless.

The postmortem of the heap dump showed that these task object occupied 99% of HBase master
heap accumulated over a week.

This message was sent by Atlassian JIRA

View raw message