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

Flooding the cluster with administrative actions leads to collapse

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 0.99.0, 0.94.19, 0.98.2, 0.96.3
    • None
    • None
    • 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.patch
          2 kB
          Jean-Daniel Cryans
        2. HBASE-10312-0.94.patch
          2 kB
          Jean-Daniel Cryans

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: