Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
HBase >> mail # user >> Hbase Region Split not working with JAVA API

msmdhussain 2012-11-15, 08:42
Jean-Marc Spaggiari 2012-11-15, 18:43
Ameya Kantikar 2012-11-15, 18:55
msmdhussain 2012-11-15, 08:43
Anoop Sam John 2012-11-16, 03:40
Copy link to this message
RE: Hbase Region Split not working with JAVA API

i tried using the follwing command in hbase shell

>> put
>> 'Test','\x03\x00\x00\x00\x0A\x00\x00\x01:K\xF0\xC0@IN\x00\x00AS*******','C:input','25'

but, row key length is 292 bytes its a composite key combination of
time_seg+date+country_id+****+metrics_id (15 fields)

it is stored in the correct region '\x03'

and im converting all the above field values into  byte in java program and
using the Put java api to insert the value to the hbase

but, it get stored in the first region '\x01'

i dont know why its happening when using java api
plz help

View this message in context: http://apache-hbase.679495.n3.nabble.com/Hbase-Region-Split-not-working-with-JAVA-API-tp4034028p4034076.html
Sent from the HBase User mailing list archive at Nabble.com.
Stack 2012-11-16, 07:32