Dear Wiki user, You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.
The following page has been changed by BryanDuxbury: http://wiki.apache.org/hadoop/Hbase/FAQ ------------------------------------------------------------------------------ // Add content to 'column:' on a row named 'row_x' Text row = new Text("row_x"); - long id = table.startUpdate(row); + BatchUpdate update = new BatchUpdate(row); - table.put(id, "content:", + update.put("content:", "some content".getBytes(HConstants.UTF8_ENCODING)); - table.commit(id); + table.commit(update); // Now fetch the content just added byte data[] = table.get(row, "content:");
