hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Koch <ogd...@googlemail.com>
Subject Re: Printing integers in the Hbase shell
Date Sat, 11 Aug 2012 16:26:54 GMT
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 <imperros@gmail.com> 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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message