HBase重要参数,其他的参数查看文件 设置hadoop的系统参数时可以使用-D ,这个要放在程序参数的前面 == 使用HBASE作为输入 == {{{ public static class MapClass extends TableMapper... }}} 可以使用TableInputFormate的参数 hbase.mapreduce.inputtable [[BR]] hbase.mapreduce.scan /* 输入字符串转换为Scan */[[BR]] hbase.mapreduce.scan.row.start /* Scan start row */[[BR]] hbase.mapreduce.scan.row.stop /* Scan stop row */[[BR]] hbase.mapreduce.scan.column.family /* Column Family to Scan */[[BR]] hbase.mapreduce.scan.columns /* Space delimited list of columns to scan. */[[BR]] hbase.mapreduce.scan.timestamp /* The timestamp used to filter columns with a specific timestamp. */[[BR]] hbase.mapreduce.scan.timerange.start[[BR]] hbase.mapreduce.scan.timerange.end[[BR]] hbase.mapreduce.scan.maxversions[[BR]] hbase.mapreduce.scan.cacheblocks /* Set to false to disable server-side caching of blocks for this scan. */[[BR]] hbase.mapreduce.scan.cachedrows /* The number of rows for caching that will be passed to scanners. */[[BR]] == 注意要点:[[BR]] == 使用HBASE的时候建议关闭 冗余工作 [http://hbase.apache.org/book/mapreduce.specex.html Speculative Execution] mapred.map.tasks.speculative.execution=false mapred.reduce.tasks.speculative.execution= false