Hbase row key to Hive mapping

2016-04-21 Thread Viswanathan J
Hi, I'm storing the row key as following combination in bytes. Row key using rowbuilder: unused8+timestamp(int)+accountid(long)+id(long) When I'm trying to map that key in hive table, I'm unable to convert back the actual value since it's stored in bytes. Even I set mapping as :key#b. Please he

Re: Column qualifier name in byte array in hbase and map to external table in hive

2016-04-16 Thread Viswanathan J
Guys, please help on this. On Apr 15, 2016 12:32 PM, "Viswanathan J" wrote: > Hi, > > I'm trying to create external hive table to map hbase table and i'm facing > issue in the column mapping because the column qualifier is in byte array > as below, how to defi

Column qualifier name in byte array in hbase and map to external table in hive

2016-04-15 Thread Viswanathan J
Hi, I'm trying to create external hive table to map hbase table and i'm facing issue in the column mapping because the column qualifier is in byte array as below, how to define/map this. eg., column=cf:\x00\x00\x00\x00\x00\x00\x00\x00, timestamp=1455990558044 Please help.