Support Questions

Find answers, ask questions, and share your expertise
Announcements
Now Live: Explore expert insights and technical deep dives on the new Cloudera Community BlogsRead the Announcement

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...