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

Limit the actions number of a call in the batch

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 0.99.0
    • None
    • Client
    • None

    Description

      Huge batch operation will make regionserver crash for GC.
      The extreme code like this:

          final List<Delete> deletes = new ArrayList<Delete>();
          final long rows = 4000000;
          for (long i = 0; i < rows; ++i) {
            deletes.add(new Delete(Bytes.toBytes(i)));
          }
          table.delete(deletes);
      

      We should limit the actions number of a call in the batch.

      Attachments

        Activity

          People

            Unassigned Unassigned
            liushaohui Shaohui Liu
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: