Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-21357

RS should abort if OOM in Reader thread

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.4.8
    • Fix Version/s: 1.3.3, 1.4.9, 1.2.9
    • Component/s: regionserver
    • Labels:
      None

      Description

      It is a bit strange, we will abort the RS if OOM in Listener thread, Responder thread and in CallRunner thread, only not in Reader thread...
      We should abort RS if OOM happens in Reader thread, too. If not, the reader thread exists because of OOM, and the selector closes. Later connection select to this reader will be ignored

      try {
                    if (key.isValid()) {
                      if (key.isAcceptable())
                        doAccept(key);
                    }
                  } catch (IOException ignored) {
                    if (LOG.isTraceEnabled()) LOG.trace("ignored", ignored);
                  }
      

      Leaving the client (or Master and other RS)'s call wait until SocketTimeout.

        Attachments

        1. HBASE-21357.branch-1.001.patch
          1 kB
          Michael Stack
        2. HBASE-21357.branch-1.001.patch
          1 kB
          Allan Yang

          Activity

            People

            • Assignee:
              allan163 Allan Yang
              Reporter:
              allan163 Allan Yang
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: