Re: Avro schema getting changed dynamically

2016-08-30 Thread Stack
On Mon, Aug 29, 2016 at 11:17 PM, Manjeet Singh wrote: > Hi All, > > I have use case to put data in avro format in Hbase , I have frequent read > write operations but its not a problem. > > Problem is what if my avro schema get changed how shuld I deal with it? > This should in mind what about ol

Re: Avro schema getting changed dynamically

2016-08-30 Thread Ted Yu
Probably you can poll user@avro for how the new field is handled given old data. FYI On Mon, Aug 29, 2016 at 11:28 PM, Manjeet Singh wrote: > I want ot add few more points > > I am using Java native Api for Hbase get/put > > and below is the example > > assume i have below schema and I am inser

Re: Avro schema getting changed dynamically

2016-08-29 Thread Dima Spivak
Moving dev@ to bcc. Please don't email the developer mailing list with questions about how to set up HBase for your use case. On Monday, August 29, 2016, Manjeet Singh wrote: > I want ot add few more points > > I am using Java native Api for Hbase get/put > > and below is the example > > assume

Re: Avro schema getting changed dynamically

2016-08-29 Thread Manjeet Singh
I want ot add few more points I am using Java native Api for Hbase get/put and below is the example assume i have below schema and I am inserting data by using this schema into Hbase but later I have new new values coming and i need to fit this into my schema for this I need to create new schema

Avro schema getting changed dynamically

2016-08-29 Thread Manjeet Singh
Hi All, I have use case to put data in avro format in Hbase , I have frequent read write operations but its not a problem. Problem is what if my avro schema get changed how shuld I deal with it? This should in mind what about older data which already inserted in Hbase and now we have new schema.