accumulo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh Elser <josh.el...@gmail.com>
Subject Re: 回复:how can i optimize scan speed when use batch scan ?
Date Mon, 12 Jan 2015 15:52:32 GMT
FYI, images don't (typically) come across on the mailing list. Use some 
external hosting and provide the link if it's important, please.

How many tabletservers do you have? What version of Accumulo are you 
running? Can you share the output of `config -t your_table_name`?

Thanks.

覃璐 wrote:
> i look the trace log
>
>
> why it receive 0 result and spend so long?
>
>
> 原始邮件
> *发件人:* 覃璐<luq.java@gmail.com>
> *收件人:* user<user@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:
>
> List<Range> 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