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

Switch to Plain View
HBase, mail # user - Printing integers in the Hbase shell


+
David Koch 2012-08-11, 15:38
+
Ioakim Perros 2012-08-11, 15:41
Copy link to this message
-
Re: Printing integers in the Hbase shell
David Koch 2012-08-11, 16:26
Hello Ioakim,

Yes, that would work but sacrificing performance by doing int/String/int
conversions and also space just to be able to inspect the odd row from
shell is not worth it :-/

/David

On Sat, Aug 11, 2012 at 5:41 PM, Ioakim Perros <[EMAIL PROTECTED]> wrote:

> On 08/11/2012 06:38 PM, David Koch wrote:
>
>> Hello,
>>
>> I have a table whose qualifiers are always integer values. They are show
>> in
>> the shell in \x notation. Is there a way to have the shell show the
>> decimal
>> representation?
>>
>> Thank you,
>>
>> /David
>>
>>  Hello David,
>
> You could take the String.valueOf(yourInt) and store the
> Bytes.toBytes(yourString) representation of this amount as column qualifier.
>
> Regards,
> Ioakim
>
+
Ioakim Perros 2012-08-11, 16:30
+
anil gupta 2012-08-11, 20:12
+
David Koch 2012-08-12, 11:52
+
Stack 2012-08-13, 08:15
+
Jacques 2012-08-13, 16:08
+
Stack 2012-08-13, 16:33
+
Stack 2012-08-15, 22:40