Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Hbase rest API, fetch deleted rows (Hbase Raw Scan)

avatar
New Member

Hello Geeks,

How can I do a raw scan with Hbase rest API?

Example: scan 't1', {RAW => true, VERSIONS => 10}

For more details, see the link: http://www.openkb.info/2014/05/hbase-raw-scan.html

 

Regards,

Zakaria

1 ACCEPTED SOLUTION

avatar
Mentor
There is not a way to specify a raw scan when creating a remote
scanner via HBase REST API. The backing server implementation does not
carry arguments that toggle raw scans, but it could be added as a new
feature.

Please file a feature request over
https://issues.apache.org/jira/browse/HBASE for this.

The existing service-end implementation that builds the scanner on the
REST server is at (upstream)
https://github.com/apache/hbase/blob/master/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/Sc...

View solution in original post

1 REPLY 1

avatar
Mentor
There is not a way to specify a raw scan when creating a remote
scanner via HBase REST API. The backing server implementation does not
carry arguments that toggle raw scans, but it could be added as a new
feature.

Please file a feature request over
https://issues.apache.org/jira/browse/HBASE for this.

The existing service-end implementation that builds the scanner on the
REST server is at (upstream)
https://github.com/apache/hbase/blob/master/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/Sc...