Changes between Initial Version and Version 1 of loaddata/bulkload
- Timestamp:
- 08/21/2012 09:28:29 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
loaddata/bulkload
v1 v1 1 [http://hbase.apache.org/book.html#arch.bulk.load Bulk.Loads官网] 2 3 4 使用命令方式批量录入 5 {{{ 6 hbase org.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles hdfs://hadooptest-11-63:9000/hfimport/1345442109471 tablename 7 }}} 8 9 10 使用API方式录入 11 {{{ 12 HTable table = new HTable(getConf(), HTABLE_NAME); 13 if (table != null) { 14 LoadIncrementalHFiles loader = new LoadIncrementalHFiles(getConf()); 15 loader.doBulkLoad(outputPath, table); 16 table.close(); 17 } 18 19 }}}
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/hr/2009/global/images/logo.gif)