Example for running mapreduce on hdfs files and storing reducer results in hbase table
问题 Can somebody give one good example link for mapreduce with Hbase? My requirement is run mapreduce on hdfs file and store reducer output to hbase table. Mapper input will be hdfs file and output will be Text,IntWritable key value pairs. Reducers output will be Put object ie add reducer Iterable IntWritable values and store in hbase table. 回答1: Here is the code which will solve your problem Driver HBaseConfiguration conf = HBaseConfiguration.create(); Job job = new Job(conf,"JOB_NAME"); job