You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@accumulo.apache.org by 覃璐 <lu...@gmail.com> on 2015/01/12 10:05:15 UTC

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