You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Steinmaurer Thomas <Th...@scch.at> on 2012/07/26 11:34:00 UTC

Mismatch when storing floating numbers via .NET/Thrift and reading via Java API

Hello,

a .NET/Thrift-based client is storing measurement values in an HBase table as 8 bytes. The rows need to be read via the Java API (HBase Java client and/or MR-Job) then. While it seems to be ok when the stored value is an integer, there is a mismatch when the .NET/Thrift-based client stores floating numbers. Reading the value via the Java API as a Double doesn't reflect the real value.

Any examples/hints?

Thanks,
Thomas