Search in sources :

Example 1 with OmDeleteKeys

use of org.apache.hadoop.ozone.om.helpers.OmDeleteKeys in project ozone by apache.

the class RpcClient method deleteKeys.

@Override
public void deleteKeys(String volumeName, String bucketName, List<String> keyNameList) throws IOException {
    HddsClientUtils.verifyResourceName(volumeName, bucketName);
    Preconditions.checkNotNull(keyNameList);
    OmDeleteKeys omDeleteKeys = new OmDeleteKeys(volumeName, bucketName, keyNameList);
    ozoneManagerClient.deleteKeys(omDeleteKeys);
}
Also used : OmDeleteKeys(org.apache.hadoop.ozone.om.helpers.OmDeleteKeys)

Aggregations

OmDeleteKeys (org.apache.hadoop.ozone.om.helpers.OmDeleteKeys)1