byte[] family = Bytes.toBytes(TEST_FAMILY);
byte[] col1 = Bytes.toBytes("value1");
byte[] col2 = Bytes.toBytes("value2");
TransactionManager tm = new TransactionManager(hbaseConf);
TransactionalTable table1 = new TransactionalTable(hbaseConf, TEST_TABLE);
TransactionState t=tm.beginTransaction();
int val=1000;
byte[]data=Bytes.toBytes(val);
Put put1=new Put(data);
put1.add(family, col1, data);
table1.put(t,put1);