Re: What type should I choose ?

2009-11-15 Thread Ryan Rawson
hadoop.apache.org > Sent: Sun, November 15, 2009 7:05:23 PM > Subject: What type should I choose ? > > Hi all, > > I know that the value in hbase is just a byte array. So before I put any > type of data, I should convert it to bytes. > > But I found that if I convert String t

Re: What type should I choose ?

2009-11-15 Thread Andrew Purtell
, November 15, 2009 7:05:23 PM Subject: What type should I choose ? Hi all, I know that the value in hbase is just a byte array. So before I put any type of data, I should convert it to bytes. But I found that if I convert String to bytes, I can see the real value in hbase shell, while If I convert

What type should I choose ?

2009-11-15 Thread Jeff Zhang
Hi all, I know that the value in hbase is just a byte array. So before I put any type of data, I should convert it to bytes. But I found that if I convert String to bytes, I can see the real value in hbase shell, while If I convert long to bytes, I will see byte array in hbase shell which is not