HBase的批量get的问题

weixin_38052215 2014-09-16 10:39:59
 开发四年只会写业务代码,分布式高并发都不会还做程序员?->>>    List<Get> list = new ArrayList<Get>(); for (int i = 0; i < 38000; ++i) { Get get = new Get(Bytes.toBytes(1)); get.setCacheBlocks(false); get.addFamily(CURDService.INFO_FAMILY); list.add(get); } hashIdTable.exists(list); 以上是测试代码,表是空的,执行了exists就卡住了,日志显示会不断的重试,把38000调小一点就可以返回了,请问是什么回事呢?求助。下面是重试的日志: [2014-09-16 10:29:01,054] INFO #2, waiting for some tasks to finish. Expected max=0, tasksSent=2, tasksDone=1, currentTasksDone=1, retries=1 hasError=false, tableName=basic_hash_user_tbl (org.apache.hadoop.hbase.client.AsyncProcess) [2014-09-16 10:30:01,382] INFO #2, waiting for some tasks to finish. Expected max=0, tasksSent=3, tasksDone=2, currentTasksDone=2, retries=2 hasError=false, tableName=basic_hash_user_tbl (org.apache.hadoop.hbase.client.AsyncProcess) [2014-09-16 10:31:01,794] INFO #2, waiting for some tasks to finish. Expected max=0, tasksSent=4, tasksDone=3, currentTasksDone=3, retries=3 hasError=false, tableName=basic_hash_user_tbl (org.apache.hadoop.hbase.client.AsyncProcess) [2014-09-16 10:32:02,399] INFO #2, waiting for some tasks to finish. Expected max=0, tasksSent=5, tasksDone=4, currentTasksDone=4, retries=4 hasError=false, tableName=basic_hash_user_tbl (org.apache.hadoop.hbase.client.AsyncProcess) [2014-09-16 10:33:03,510] INFO #2, waiting for some tasks to finish. Expected max=0, tasksSent=6, tasksDone=5, currentTasksDone=5, retries=5 hasError=false, tableName=basic_hash_user_tbl (org.apache.hadoop.hbase.client.AsyncProcess)
...全文
29 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复

476

社区成员

发帖
与我相关
我的任务
社区描述
其他技术讨论专区
其他 技术论坛(原bbs)
社区管理员
  • 其他技术讨论专区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧