2013年10月27日

根据Rowkey从HBase中查询数据

摘要: /** * @Title: queryData * @Description: 从HBase查询出数据 * @author xxxx * @param tableName * 表名 * @param rowkey * rowkey * @return 返回用户信息的list * @throws IOException * @throws UnsupportedEncodingException */ public static ArrayList q... 阅读全文

posted @ 2013-10-27 14:18 sixiiweb 阅读(25177) 评论(0) 推荐(0)

【转】在一个Job中同时写入多个HBase的table

摘要: 在进行Map/Reduce时,有的业务需要在一个job中将数据写入到多个HBase的表中,下面是实现方式。原文地址:http://lookfirst.com/2011/07/hbase-multitableoutputformat-writing-to.htmlHBase MultiTableOutputFormat writing to multiple tables in one Map Reduce JobRecently, I've been having a lot of fun learning about HBase and Hadoop. One esoteric th 阅读全文

posted @ 2013-10-27 14:15 sixiiweb 阅读(696) 评论(2) 推荐(0)

导航