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

Flooding the cluster with administrative actions leads to collapse

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.99.0, 0.94.19, 0.98.2, 0.96.3
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Steps to reproduce:
      1. Start a cluster.
      2. Start an ingest process.
      3. In the HBase shell, do this:

      while true do
         flush 'table'
      end
      

      We should reject abuse via administrative requests like this.

      What happens on the cluster is the requests back up, leading to lots of these:

      2014-01-10 18:55:55,293 WARN  [Priority.RpcServer.handler=2,port=8120] monitoring.TaskMonitor: Too many actions in action monitor! Purging some.
      

      At this point we could lower a gate on further requests for actions until the backlog clears.

      Continuing, all of the regionservers will eventually die with a StackOverflowError of unknown origin because, stack overflow:

      2014-01-10 19:02:02,783 ERROR [Priority.RpcServer.handler=3,port=8120] ipc.RpcServer: Unexpected throwable object java.lang.StackOverflowError
              at java.util.ArrayList$SubList.add(ArrayList.java:965)
      [...]
      

        Attachments

        1. HBASE-10312-0.94.patch
          2 kB
          Jean-Daniel Cryans
        2. HBASE-10312.patch
          2 kB
          Jean-Daniel Cryans

          Issue Links

            Activity

              People

              • Assignee:
                jdcryans Jean-Daniel Cryans
                Reporter:
                apurtell Andrew Kyle Purtell
              • Votes:
                0 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: