accumulo

How can I perform efficient Deletions in Accumulo across multiple ranges?


I have an index table with the following schema:

Row   CF    CQ
Name  POB   DOB

How could I efficiently delete multiple rows (i.e. John Doe:New York:01/01/75 , Jane Doe:Miami:06/21/80)?


Solution

  • Use a BatchDeleter and setRanges of all the Range (rows) that you want to delete

    https://accumulo.apache.org/1.7/apidocs/org/apache/accumulo/core/client/BatchDeleter.html