Would suggest that when you are successful with Yair, that you get him to +1 one this issue. On the ExportMR job, I wonder if its possible to set maps == 0 so you don't have to supply a map task? Should we commit these classes to hbase? Into a contrib or under examples? I like the way they serialize RR. Good idea. If we're going to commit, they need apache licenses and the style fixed up (don't ask jgray – he'll only tell you wrong thing.... smile). For the below, check Writables in hbase util. I think there are methods there to help you do the below:
ByteArrayInputStream bis = new ByteArrayInputStream( ((BytesWritable)val).get() ); DataInputStream dis = new DataInputStream(bis);
RowResult rowRes = new RowResult();
If you use HbaseMapWritable instead of MW, you could do without Text and toString'ing table name (I think). In 880, I believe RowResult and BatchUpdate have same ancestor. Would be sweet if they could be used interchangeably so you wouldn't need to do the conversion in rowResultToBatchUpdate. You think it makes sense creating the new HTable in the reduce each time its invoked and not in its configure step?