MetaDataAdmin.createTableIfNotExists(TABLE_NAME);
table = new HTable(HBaseUtils.getConfiguration(), TABLE_NAME);
}
public void loadMetaRecords(List<MetaRecord> records) throws Exception {
MetaRecord rec;
for (Result r : table.getScanner(new Scan())) {
if (r.isEmpty())
continue;
rec = getMetaRecord(r);
records.add(rec);