chunks.add(new ChunkImpl("TextParser", "name", timestamp, test, null));
try {
cc.set("hbase.demux.package", "org.apache.chukwa.datacollection.writer.test.demux");
cc.set("TextParser","org.apache.hadoop.chukwa.datacollection.writer.test.demux.TextParser");
conf.set(HConstants.ZOOKEEPER_QUORUM, "127.0.0.1");
hbw = new HBaseWriter(cc, conf);
hbw.init(cc);
if(hbw.add(chunks)!=ChukwaWriter.COMMIT_OK) {
Assert.fail("Commit status is not OK.");
}
HTable testTable = new HTable(conf, table);