mapreduce 只使用Mapper往多个hbase表中写数据
摘要:只使用Mapper不使用reduce会大大减少mapreduce程序的运行时间。有时候程序会往多张hbase表写数据。所以有如题的需求。下面给出的代码,不是可以运行的代码,只是展示driver中需要进行的必要项设置,mapper类需要实现的接口,map函数需要的参数以及函数内部的处理方式。实现过程比...
阅读全文
posted @ 2014-10-22 18:50
posted @ 2014-10-22 18:50