Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

How to activate HBase Bulk Delete?

SOLVED Go to solution
Highlighted

How to activate HBase Bulk Delete?

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

1 ACCEPTED SOLUTION

Accepted Solutions

Re: How to activate HBase Bulk Delete?

Contributor

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:

https://github.com/apache/hbase/blob/master/hbase-examples/src/test/java/org/apache/hadoop/hbase/cop...

 

You might be able to re-use most of this code.

 

JM

 

 

3 REPLIES 3

Re: How to activate HBase Bulk Delete?

Contributor

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

Re: How to activate HBase Bulk Delete?

Thanks Jims.

Any easy way to test this bulkdelete as a admin?

Re: How to activate HBase Bulk Delete?

Contributor

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:

https://github.com/apache/hbase/blob/master/hbase-examples/src/test/java/org/apache/hadoop/hbase/cop...

 

You might be able to re-use most of this code.

 

JM