HBase Shell:
From the Hbase shell wiki: http://hbase.apache.org/book.html#shell
Place the cell value in the specified table / row / column and, if necessary, the coordinates of the timestamp. To put the cell value in the table 't1' in the row 'r1' under the column 'c1' marked by the time 'ts1', do:
hbase> put 't1', 'r1', 'c1', 'value', ts1
something like this in your case:
hbase> put 'test', 'yourRow', 'person:name', 'abc' hbase> put 'test', 'yourRow', 'person:address', 'xyz'
In Java:
Configuration config = HBaseConfiguration.create(); HTable table = new HTable(config, "test"); Put p = new Put(Bytes.toBytes("yourRow")); p.add(Bytes.toBytes("person"), Bytes.toBytes("name"), Bytes.toBytes("abc")); table.put(p);
source share