hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steinmaurer Thomas" <Thomas.Steinmau...@scch.at>
Subject Encoding when using Bytes.toBytes(String)?
Date Tue, 26 Jul 2011 13:37:49 GMT


we are currently running tests in respect to disk space usage when
inserting records into our table. Just want to be sure, if
Bytes.toBytes(String) encodes a character with 2 bytes (Unicode)?


As we only have ANSI characters in the rowkey (~ 48 characters) and
qualifier values, I wonder if we could save disk space by converting
stuff to an Ansi-String before sending it to the server?





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