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...
{code:title=SplitLogManager.java}
.......
  public long splitLogDistributed(final List<Path> logDirs, PathFilter filter) 
      throws IOException {
    MonitoredTask status = TaskMonitor.get().createStatus(
          "Doing distributed log split in " + logDirs);
.......
{code}
...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
(v6.1#6144)

Reply via email to