[http://hbase.apache.org/book.html#arch.bulk.load Bulk.Loads官网]
使用命令方式批量录入
{{{
hbase org.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles hdfs://hadooptest-11-63:9000/hfimport/1345442109471 tablename
}}}
使用API方式录入
{{{
HTable table = new HTable(getConf(), HTABLE_NAME);
if (table != null) {
LoadIncrementalHFiles loader = new LoadIncrementalHFiles(getConf());
loader.doBulkLoad(outputPath, table);
table.close();
}
}}}