Reply
Explorer
Posts: 6
Registered: ‎07-27-2015
Accepted Solution

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

Cloudera Employee
Posts: 35
Registered: ‎07-08-2013

Re: How to activate HBase Bulk Delete?

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

Explorer
Posts: 6
Registered: ‎07-27-2015

Re: How to activate HBase Bulk Delete?

Thanks Jims.

Any easy way to test this bulkdelete as a admin?
Highlighted
Cloudera Employee
Posts: 35
Registered: ‎07-08-2013

Re: How to activate HBase Bulk Delete?

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

 

 

Announcements