Support Questions

Find answers, ask questions, and share your expertise

JSON support to HBASE

avatar
Expert Contributor

Does hortonworks provide native JSON support to HBase or has nested json data model?. If so Any resources ? If this question is already answered somewhere,can you please point me that.

1 ACCEPTED SOLUTION

avatar
Super Guru

Apache HBase does not provide any API around JSON, but you can build your own.

You might be interested in following the following JIRA issue about adding JSON as a native type to Apache Phoenix: PHOENIX-628

View solution in original post

2 REPLIES 2

avatar
Super Guru

Apache HBase does not provide any API around JSON, but you can build your own.

You might be interested in following the following JIRA issue about adding JSON as a native type to Apache Phoenix: PHOENIX-628

avatar
Master Collaborator

Please take a look at hbase-client/src/main/java/org/apache/hadoop/hbase/util/JsonMapper.java for example of conversion.