Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase, mail # user - Coreprocessor always scan the whole table.


Copy link to this message
-
Re: Coreprocessor always scan the whole table.
GuoWei 2013-04-19, 14:24
Thanks  a lot.
Best Regards / 商祺
郭伟 Guo Wei
> Please upgrade to 0.94.6.1 which is more stable.
>
> Cheers
>
> On Apr 19, 2013, at 4:58 AM, GuoWei <[EMAIL PROTECTED]> wrote:
>
>>
>> We use base 0.94.1 in our production environment.
>>
>>
>> Best Regards / 商祺
>> 郭伟 Guo Wei
>>
>> 在 2013-4-19,下午6:01,Ted Yu <[EMAIL PROTECTED]> 写道:
>>
>>> Which hbase version are you using ?
>>>
>>> Thanks
>>>
>>> On Apr 19, 2013, at 2:49 AM, GuoWei <[EMAIL PROTECTED]> wrote:
>>>
>>>> Hello,
>>>>
>>>> We use HBase core processor endpoint  to process realtime data. But when I use coreprocessorExec method to scan table and pass startRow and endRow. It always scan all table instead of the result between the startRow and endRow.
>>>>
>>>> my code.
>>>>
>>>> results = table.coprocessorExec(IEndPoint_SA.class,  startrow, endrow,
>>>>         new Batch.Call<IEndPoint_SA,Hashtable<String,Hashtable>>() {
>>>>           public Hashtable<String,Hashtable> call(IEndPoint_SA instance)throws IOException{
>>>>               Hashtable<String,Hashtable> s = null;
>>>>             try {
>>>>                 s=instance.GetList();
>>>>             } catch (ParseException e) {
>>>>                 // TODO Auto-generated catch block
>>>>                 e.printStackTrace();
>>>>             }
>>>>             return s;
>>>>           }
>>>>         });
>>>>
>>>>
>>>>
>>>> Best Regards / 商祺
>>>> 郭伟 Guo Wei
>>>> -----------------------------------------------------
>>>
>>
>