On Fri, Jul 20, 2012 at 6:18 PM, Dhaval Shah <prince_mithi...@yahoo.co.in>wrote:
> Mohit, HBase shell is a JRuby wrapper and as such has all functions > available which are available using Java API.. So you can import the Bytes > class and the do a Bytes.toString() similar to what you'd do in Java > > Ah I see, you mean I change the HBase shell code? > Regards, > Dhaval > > > ________________________________ > From: Mohit Anchlia <mohitanch...@gmail.com> > To: user@hbase.apache.org > Sent: Friday, 20 July 2012 8:39 PM > Subject: HBase shell > > Is there a command on the shell that convert byte into char array when > using HBase shell command line? It's all in hex format > > > hbase(main):004:0> scan 'SESSION_TIMELINE' > > ROW COLUMN+CELL > > \x00\x00\x00\x01\x7F\xFF\xE8\x034\x04\xCF\xFF column=S_T_MTX:\x07A\xB8\xB1, > timestamp=1342826789668, value=Hello > > \x00\x00\x00\x01\x7F\xFF\xE81\xDC\xE4\x07\xFF column=S_T_MTX:\x04@ > \xBB\x94, > timestamp=1342826589226, value=Hello > > \x00\x00\x00\x01\x7F\xFF\xFE\xC7Y\x09\xA2\x7F column=S_T_MTX:\x00\x00O?, > timestamp=1342830980018, value=Hello > > \x00\x00\x00\x01\x7F\xFF\xFE\xC7Y\x1B\xF1\xFF > column=S_T_MTX:\x00\x00\x82\x19, timestamp=1342829793047, value=Hello > > \x00\x00\x00\x01\x7F\xFF\xFE\xC7Y\x1C\xDC_ column=S_T_MTX:\x00\x00S&, > timestamp=1342829721025, value=Hello > > \x00\x00\x00\x01\x7F\xFF\xFE\xC7Y\x1D\xC6\xBF column=S_T_MTX:\x00\x00\x8Az, > timestamp=1342829675205, value=Hello > > \x00\x00\x00\x01\x7F\xFF\xFE\xC7Y \x85\xDF column=S_T_MTX:\x00\x00\x89\xDE, > timestamp=1342829495072, value=Hello > > \x00\x00\x00\x01\x7F\xFF\xFE\xC7Y!p? column=S_T_MTX:\x00\x00b\xEA, > timestamp=1342829425086, value=Hello >