pig to hbase, refactor insert code