Created on 07-29-2015 01:14 PM - edited 09-16-2022 02:36 AM
BulkDelete is not active by default and i'm trying to add to coprocessor region and restart, it didn't work. When i describe table i don't see bulk delete active
Here is my property value, i have appended BulkDelete property value to existing and restarted.
<name>hbase.coprocessor.region.classes</name>
<value>org.apache.hadoop.hbase.security.token.TokenProvider,org.apache.hadoop.hbase.security.access.AccessController,org.apache.hadoop.hbase.coprocessor.example.BulkDeleteEndpoint</value>
Any help would be apreciated.
Thanks,
Asif
Created 08-05-2015 08:18 AM
Hi Asif,
You will need to do some code for that. Create a small table, put some data in it and call the bulk delete.
Here is an example:
You might be able to re-use most of this code.
JM
Created 08-05-2015 08:07 AM
Hi Asif,
Bulk Delete is an EndPoint coprocessor. Therefore, it is not related to a specific table, but more loaded for a RegionServer.
Because of that, you will not see it when you will describe a table from the shell because it is not attached to that specific table.
Only observers are attached to the tables and are displayed in the describe command.
HTH,
Jean-Marc
Created 08-05-2015 08:10 AM
Created 08-05-2015 08:18 AM
Hi Asif,
You will need to do some code for that. Create a small table, put some data in it and call the bulk delete.
Here is an example:
You might be able to re-use most of this code.
JM