public class GetListErrorExample {
public static void main(String[] args) throws IOException {
Configuration conf = HBaseConfiguration.create();
HBaseHelper helper = HBaseHelper.getHelper(conf);
if (!helper.existsTable("testtable")) {
helper.createTable("testtable", "colfam1");
}
HTable table = new HTable(conf, "testtable");
byte[] cf1 = Bytes.toBytes("colfam1");