Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

HBase and Avro

avatar
Explorer

Does HBase utilize a schema registry like that of Kafka (Confluent)?  Otherwise, when using Avro in HBase are you storing the schema in every cell/row to describe the Avro object withion it?

2 REPLIES 2

avatar
Expert Contributor

Hi stumilius,

We have a blogpost about storing Avro data inside HBase tables. In short, HBase does not know about the avro content, treats it as binary blob. The client which is reading/writing the data has to deal with the avro schemas, after HBase delivered the raw data to it.

Zsolt

avatar
Explorer
Thanks for your reply.

I understand the issue you mentioned about HBase not knowing or caring about the Avro content. What I'm trying to learn is how to create Avro objects without having to use the Avro write/read functions. Basically I want to:

* Load content into variables (var1 = schema + data)
* HBase put table, var1, var2, etc.
Thanks again