accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "覃璐"<luq.j...@gmail.com>
Subject 回复:how can i optimize scan speed when use batch scan ?
Date Mon, 12 Jan 2015 10:01:47 GMT
i look the trace log


why it receive 0 result and spend so long?


原始邮件
发件人:覃璐luq.java@gmail.com
收件人:useruser@accumulo.apache.org
发送时间:2015年1月12日(周一) 17:05
主题:how can i optimize scan speed when use batch scan ?


hi all.


now i have code like this:


ListRange rangeList=…..;
BatchScanner bs=conn.createBatchScanner();
bs.setRanges(rangeList);




the rangeList has many ranges about 1000,and every range has a random row id when i use Range.exact(new
Text(…)),
but the speed is so slowly,it maybe spend 2-3s,how can i optimize it ?


thanks
Mime
View raw message