On Fri, Sep 21, 2012 at 7:33 AM, Jerry Lam <[email protected]> wrote: > Hi St.Ack: > > I made some dirty changes to the script yesterday to work for me. > Basically, I changed the parse_column_name(column) function to: > > def parse_column_name(column) > split = > org.apache.hadoop.hbase.KeyValue.parseColumn(column.to_java_bytes) > return split[0], (split.length > 1) ? split[1] : > (org.apache.hadoop.hbase.KeyValue.getDelimiter(column.to_java_bytes, 0, > column.to_java_bytes.length(), 58) > 0) ? ''.to_java_bytes : nil > end > > Not sure if it makes sense as the general solution to the problem but at > least it seems to do the job.
Seems reasonable to me. St.Ack
