PDA

View Full Version : HBase Input - Mapping binary HBase row keys as Input Fields



steveb
06-06-2012, 03:13 AM
According to this page here binary fields are not supported as HBase Input Mapping keys:

http://wiki.pentaho.com/display/EAI/HBase+Input

but this is normal in HBase since row keys are just a java byte array (byte[]).

Does anybody know a work around which would enable me to read a table with binary row keys? I tried using String but it only reads part of the row key,

Mark
06-07-2012, 04:49 AM
Hi,

Snapshot builds of the big data plugin include an improvement to HBase input that allows it to read and output binary row keys. Of course you will have to do your own decoding/processing of these values in downstream PDI steps.

You can get the latest snapshot from:

http://ci.pentaho.com/job/pentaho-big-data-plugin/

Cheers,
Mark.