- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Encoded values coming back from HBase API
- Labels:
-
Apache HBase
-
Apache Knox
Created ‎04-26-2016 02:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Using the Knox gateway-shell to make requests to the HBase APIs, I receive values that are encoded in the response. Do I have to decode each value individually or is there a way to have all the values of the response decoded?
Created ‎12-28-2016 03:53 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
By design, the HBase REST server returns content encoded response with base64. So all your content, like the column family, the qualifier and the raw content will be encoded. You just need to create a custom JSON deserializer.
Here is an awesome blog about this subject: https://blog.layer4.fr/2016/11/16/hbase-rest-api-knox-java/
There is a special section about your problem.
Created ‎12-28-2016 03:53 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
By design, the HBase REST server returns content encoded response with base64. So all your content, like the column family, the qualifier and the raw content will be encoded. You just need to create a custom JSON deserializer.
Here is an awesome blog about this subject: https://blog.layer4.fr/2016/11/16/hbase-rest-api-knox-java/
There is a special section about your problem.
