You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Slava Gorelik <sl...@gmail.com> on 2010/03/04 16:01:14 UTC
Multiple get
Hi.
I'm looking is there functionality that allows me to perform multiple get
(to retrieve number of rows by some row id's list) ?
I think this can reduce number of round-trips between client and servers.
Thank You and Best Regards.
Re: Multiple get
Posted by Slava Gorelik <sl...@gmail.com>.
Hi.
But at this stage there no more stack or may be I miss something ?
Application execution is going till the last } as expected and only
after the last } the
show begins.
BTW, I'm using HBase 0.20.3
Best Regards.
On 5/4/10, Stack <st...@duboce.net> wrote:
> I'd suggest sticking full stack trace into the issue so Marc can take
> a look (it looks like pool-1-thread-1 is not daemon thread).
> Thanks,
> St.Ack
>
> On Tue, May 4, 2010 at 7:42 AM, Slava Gorelik <sl...@gmail.com>
> wrote:
>> Yes, I'm using the patch from 1845.
>> At the when Java program is hanged up there no more stack trace.
>> It's hanging up after Java build in system exit() method.
>>
>> I see only this:
>>
>> EmployeeSample [Java Application]:
>> Sample.EmployeeSample at localhost:2916 :
>> Daemon Thread [main-EventThread] (Running)
>> Daemon Thread [main-SendThread] (Running)
>> Thread [pool-1-thread-1] (Running)
>> Thread [DestroyJavaVM] (Running)
>>
>> Best Regards.
>>
>> On Tue, May 4, 2010 at 4:52 PM, Stack <st...@duboce.net> wrote:
>>
>>> Is this the new patch up in hbase-1845 that you are messing with
>>> Slava? If so, please add stacktrace to the issue so we can take a
>>> look.
>>> St.Ack
>>>
>>> On Tue, May 4, 2010 at 5:01 AM, Slava Gorelik <sl...@gmail.com>
>>> wrote:
>>> > Hi.
>>> >
>>> > After I applied the patch and started to use multiple get, the test
>>> > application started to hangs on exit (DestroyJavaVM thread hangs) after
>>> > I
>>> > called Htable.batch() .
>>> > Regular get operation is continue to work as expected.
>>> >
>>> > Best Regards.
>>> >
>>> >
>>> > On Thu, Mar 4, 2010 at 9:24 PM, Slava Gorelik <slava.gorelik@gmail.com
>>> >wrote:
>>> >
>>> >> Thank You.
>>> >> At least I can apply the patch on 0.20.3.
>>> >>
>>> >>
>>> >> On Thu, Mar 4, 2010 at 7:18 PM, Jean-Daniel Cryans
>>> >> <jdcryans@apache.org
>>> >wrote:
>>> >>
>>> >>> On Thu, Mar 4, 2010 at 9:07 AM, Slava Gorelik
>>> >>> <slava.gorelik@gmail.com
>>> >
>>> >>> wrote:
>>> >>> > Hi Erik,
>>> >>> > Thank You for the quick reply.
>>> >>> > Is this patch will be integrated into HBase 0.21.0 ?
>>> >>>
>>> >>> If it's ready before we release, then yes.
>>> >>>
>>> >>> > If yes, there any estimated release date for the 0.21.0 ?
>>> >>>
>>> >>> It's complicated. Currently it would be at least after the Hadoop
>>> >>> 0.21.0 release (which also has no estimate since Y! isn't focusing on
>>> >>> it).
>>> >>>
>>> >>> J-D
>>> >>>
>>> >>> >
>>> >>> > Thank You.
>>> >>> >
>>> >>> >
>>> >>> > On Thu, Mar 4, 2010 at 5:14 PM, Erik Holstad
>>> >>> > <er...@gmail.com>
>>> >>> wrote:
>>> >>> >
>>> >>> >> Hey Slava!
>>> >>> >> There is work being done to be able to do this
>>> >>> >>
>>> >>> >>
>>> >>>
>>> https://issues.apache.org/jira/browse/HBASE-1845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12832114#action_12832114
>>> >>> >> I think that there is also another Jira that s related to this
>>> topic,
>>> >>> but I
>>> >>> >> don't know what that number is.
>>> >>> >>
>>> >>> >> --
>>> >>> >> Regards Erik
>>> >>> >>
>>> >>> >
>>> >>>
>>> >>
>>> >>
>>> >
>>>
>>
>
Re: Multiple get
Posted by Stack <st...@duboce.net>.
I'd suggest sticking full stack trace into the issue so Marc can take
a look (it looks like pool-1-thread-1 is not daemon thread).
Thanks,
St.Ack
On Tue, May 4, 2010 at 7:42 AM, Slava Gorelik <sl...@gmail.com> wrote:
> Yes, I'm using the patch from 1845.
> At the when Java program is hanged up there no more stack trace.
> It's hanging up after Java build in system exit() method.
>
> I see only this:
>
> EmployeeSample [Java Application]:
> Sample.EmployeeSample at localhost:2916 :
> Daemon Thread [main-EventThread] (Running)
> Daemon Thread [main-SendThread] (Running)
> Thread [pool-1-thread-1] (Running)
> Thread [DestroyJavaVM] (Running)
>
> Best Regards.
>
> On Tue, May 4, 2010 at 4:52 PM, Stack <st...@duboce.net> wrote:
>
>> Is this the new patch up in hbase-1845 that you are messing with
>> Slava? If so, please add stacktrace to the issue so we can take a
>> look.
>> St.Ack
>>
>> On Tue, May 4, 2010 at 5:01 AM, Slava Gorelik <sl...@gmail.com>
>> wrote:
>> > Hi.
>> >
>> > After I applied the patch and started to use multiple get, the test
>> > application started to hangs on exit (DestroyJavaVM thread hangs) after I
>> > called Htable.batch() .
>> > Regular get operation is continue to work as expected.
>> >
>> > Best Regards.
>> >
>> >
>> > On Thu, Mar 4, 2010 at 9:24 PM, Slava Gorelik <slava.gorelik@gmail.com
>> >wrote:
>> >
>> >> Thank You.
>> >> At least I can apply the patch on 0.20.3.
>> >>
>> >>
>> >> On Thu, Mar 4, 2010 at 7:18 PM, Jean-Daniel Cryans <jdcryans@apache.org
>> >wrote:
>> >>
>> >>> On Thu, Mar 4, 2010 at 9:07 AM, Slava Gorelik <slava.gorelik@gmail.com
>> >
>> >>> wrote:
>> >>> > Hi Erik,
>> >>> > Thank You for the quick reply.
>> >>> > Is this patch will be integrated into HBase 0.21.0 ?
>> >>>
>> >>> If it's ready before we release, then yes.
>> >>>
>> >>> > If yes, there any estimated release date for the 0.21.0 ?
>> >>>
>> >>> It's complicated. Currently it would be at least after the Hadoop
>> >>> 0.21.0 release (which also has no estimate since Y! isn't focusing on
>> >>> it).
>> >>>
>> >>> J-D
>> >>>
>> >>> >
>> >>> > Thank You.
>> >>> >
>> >>> >
>> >>> > On Thu, Mar 4, 2010 at 5:14 PM, Erik Holstad <er...@gmail.com>
>> >>> wrote:
>> >>> >
>> >>> >> Hey Slava!
>> >>> >> There is work being done to be able to do this
>> >>> >>
>> >>> >>
>> >>>
>> https://issues.apache.org/jira/browse/HBASE-1845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12832114#action_12832114
>> >>> >> I think that there is also another Jira that s related to this
>> topic,
>> >>> but I
>> >>> >> don't know what that number is.
>> >>> >>
>> >>> >> --
>> >>> >> Regards Erik
>> >>> >>
>> >>> >
>> >>>
>> >>
>> >>
>> >
>>
>
Re: Multiple get
Posted by Slava Gorelik <sl...@gmail.com>.
Yes, I'm using the patch from 1845.
At the when Java program is hanged up there no more stack trace.
It's hanging up after Java build in system exit() method.
I see only this:
EmployeeSample [Java Application]:
Sample.EmployeeSample at localhost:2916 :
Daemon Thread [main-EventThread] (Running)
Daemon Thread [main-SendThread] (Running)
Thread [pool-1-thread-1] (Running)
Thread [DestroyJavaVM] (Running)
Best Regards.
On Tue, May 4, 2010 at 4:52 PM, Stack <st...@duboce.net> wrote:
> Is this the new patch up in hbase-1845 that you are messing with
> Slava? If so, please add stacktrace to the issue so we can take a
> look.
> St.Ack
>
> On Tue, May 4, 2010 at 5:01 AM, Slava Gorelik <sl...@gmail.com>
> wrote:
> > Hi.
> >
> > After I applied the patch and started to use multiple get, the test
> > application started to hangs on exit (DestroyJavaVM thread hangs) after I
> > called Htable.batch() .
> > Regular get operation is continue to work as expected.
> >
> > Best Regards.
> >
> >
> > On Thu, Mar 4, 2010 at 9:24 PM, Slava Gorelik <slava.gorelik@gmail.com
> >wrote:
> >
> >> Thank You.
> >> At least I can apply the patch on 0.20.3.
> >>
> >>
> >> On Thu, Mar 4, 2010 at 7:18 PM, Jean-Daniel Cryans <jdcryans@apache.org
> >wrote:
> >>
> >>> On Thu, Mar 4, 2010 at 9:07 AM, Slava Gorelik <slava.gorelik@gmail.com
> >
> >>> wrote:
> >>> > Hi Erik,
> >>> > Thank You for the quick reply.
> >>> > Is this patch will be integrated into HBase 0.21.0 ?
> >>>
> >>> If it's ready before we release, then yes.
> >>>
> >>> > If yes, there any estimated release date for the 0.21.0 ?
> >>>
> >>> It's complicated. Currently it would be at least after the Hadoop
> >>> 0.21.0 release (which also has no estimate since Y! isn't focusing on
> >>> it).
> >>>
> >>> J-D
> >>>
> >>> >
> >>> > Thank You.
> >>> >
> >>> >
> >>> > On Thu, Mar 4, 2010 at 5:14 PM, Erik Holstad <er...@gmail.com>
> >>> wrote:
> >>> >
> >>> >> Hey Slava!
> >>> >> There is work being done to be able to do this
> >>> >>
> >>> >>
> >>>
> https://issues.apache.org/jira/browse/HBASE-1845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12832114#action_12832114
> >>> >> I think that there is also another Jira that s related to this
> topic,
> >>> but I
> >>> >> don't know what that number is.
> >>> >>
> >>> >> --
> >>> >> Regards Erik
> >>> >>
> >>> >
> >>>
> >>
> >>
> >
>
Re: Multiple get
Posted by Stack <st...@duboce.net>.
Is this the new patch up in hbase-1845 that you are messing with
Slava? If so, please add stacktrace to the issue so we can take a
look.
St.Ack
On Tue, May 4, 2010 at 5:01 AM, Slava Gorelik <sl...@gmail.com> wrote:
> Hi.
>
> After I applied the patch and started to use multiple get, the test
> application started to hangs on exit (DestroyJavaVM thread hangs) after I
> called Htable.batch() .
> Regular get operation is continue to work as expected.
>
> Best Regards.
>
>
> On Thu, Mar 4, 2010 at 9:24 PM, Slava Gorelik <sl...@gmail.com>wrote:
>
>> Thank You.
>> At least I can apply the patch on 0.20.3.
>>
>>
>> On Thu, Mar 4, 2010 at 7:18 PM, Jean-Daniel Cryans <jd...@apache.org>wrote:
>>
>>> On Thu, Mar 4, 2010 at 9:07 AM, Slava Gorelik <sl...@gmail.com>
>>> wrote:
>>> > Hi Erik,
>>> > Thank You for the quick reply.
>>> > Is this patch will be integrated into HBase 0.21.0 ?
>>>
>>> If it's ready before we release, then yes.
>>>
>>> > If yes, there any estimated release date for the 0.21.0 ?
>>>
>>> It's complicated. Currently it would be at least after the Hadoop
>>> 0.21.0 release (which also has no estimate since Y! isn't focusing on
>>> it).
>>>
>>> J-D
>>>
>>> >
>>> > Thank You.
>>> >
>>> >
>>> > On Thu, Mar 4, 2010 at 5:14 PM, Erik Holstad <er...@gmail.com>
>>> wrote:
>>> >
>>> >> Hey Slava!
>>> >> There is work being done to be able to do this
>>> >>
>>> >>
>>> https://issues.apache.org/jira/browse/HBASE-1845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12832114#action_12832114
>>> >> I think that there is also another Jira that s related to this topic,
>>> but I
>>> >> don't know what that number is.
>>> >>
>>> >> --
>>> >> Regards Erik
>>> >>
>>> >
>>>
>>
>>
>
Re: Multiple get
Posted by Slava Gorelik <sl...@gmail.com>.
Hi.
After I applied the patch and started to use multiple get, the test
application started to hangs on exit (DestroyJavaVM thread hangs) after I
called Htable.batch() .
Regular get operation is continue to work as expected.
Best Regards.
On Thu, Mar 4, 2010 at 9:24 PM, Slava Gorelik <sl...@gmail.com>wrote:
> Thank You.
> At least I can apply the patch on 0.20.3.
>
>
> On Thu, Mar 4, 2010 at 7:18 PM, Jean-Daniel Cryans <jd...@apache.org>wrote:
>
>> On Thu, Mar 4, 2010 at 9:07 AM, Slava Gorelik <sl...@gmail.com>
>> wrote:
>> > Hi Erik,
>> > Thank You for the quick reply.
>> > Is this patch will be integrated into HBase 0.21.0 ?
>>
>> If it's ready before we release, then yes.
>>
>> > If yes, there any estimated release date for the 0.21.0 ?
>>
>> It's complicated. Currently it would be at least after the Hadoop
>> 0.21.0 release (which also has no estimate since Y! isn't focusing on
>> it).
>>
>> J-D
>>
>> >
>> > Thank You.
>> >
>> >
>> > On Thu, Mar 4, 2010 at 5:14 PM, Erik Holstad <er...@gmail.com>
>> wrote:
>> >
>> >> Hey Slava!
>> >> There is work being done to be able to do this
>> >>
>> >>
>> https://issues.apache.org/jira/browse/HBASE-1845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12832114#action_12832114
>> >> I think that there is also another Jira that s related to this topic,
>> but I
>> >> don't know what that number is.
>> >>
>> >> --
>> >> Regards Erik
>> >>
>> >
>>
>
>
Re: Multiple get
Posted by Slava Gorelik <sl...@gmail.com>.
Thank You.
At least I can apply the patch on 0.20.3.
On Thu, Mar 4, 2010 at 7:18 PM, Jean-Daniel Cryans <jd...@apache.org>wrote:
> On Thu, Mar 4, 2010 at 9:07 AM, Slava Gorelik <sl...@gmail.com>
> wrote:
> > Hi Erik,
> > Thank You for the quick reply.
> > Is this patch will be integrated into HBase 0.21.0 ?
>
> If it's ready before we release, then yes.
>
> > If yes, there any estimated release date for the 0.21.0 ?
>
> It's complicated. Currently it would be at least after the Hadoop
> 0.21.0 release (which also has no estimate since Y! isn't focusing on
> it).
>
> J-D
>
> >
> > Thank You.
> >
> >
> > On Thu, Mar 4, 2010 at 5:14 PM, Erik Holstad <er...@gmail.com>
> wrote:
> >
> >> Hey Slava!
> >> There is work being done to be able to do this
> >>
> >>
> https://issues.apache.org/jira/browse/HBASE-1845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12832114#action_12832114
> >> I think that there is also another Jira that s related to this topic,
> but I
> >> don't know what that number is.
> >>
> >> --
> >> Regards Erik
> >>
> >
>
Re: Multiple get
Posted by Jean-Daniel Cryans <jd...@apache.org>.
On Thu, Mar 4, 2010 at 9:07 AM, Slava Gorelik <sl...@gmail.com> wrote:
> Hi Erik,
> Thank You for the quick reply.
> Is this patch will be integrated into HBase 0.21.0 ?
If it's ready before we release, then yes.
> If yes, there any estimated release date for the 0.21.0 ?
It's complicated. Currently it would be at least after the Hadoop
0.21.0 release (which also has no estimate since Y! isn't focusing on
it).
J-D
>
> Thank You.
>
>
> On Thu, Mar 4, 2010 at 5:14 PM, Erik Holstad <er...@gmail.com> wrote:
>
>> Hey Slava!
>> There is work being done to be able to do this
>>
>> https://issues.apache.org/jira/browse/HBASE-1845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12832114#action_12832114
>> I think that there is also another Jira that s related to this topic, but I
>> don't know what that number is.
>>
>> --
>> Regards Erik
>>
>
Re: Multiple get
Posted by Slava Gorelik <sl...@gmail.com>.
Hi Erik,
Thank You for the quick reply.
Is this patch will be integrated into HBase 0.21.0 ?
If yes, there any estimated release date for the 0.21.0 ?
Thank You.
On Thu, Mar 4, 2010 at 5:14 PM, Erik Holstad <er...@gmail.com> wrote:
> Hey Slava!
> There is work being done to be able to do this
>
> https://issues.apache.org/jira/browse/HBASE-1845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12832114#action_12832114
> I think that there is also another Jira that s related to this topic, but I
> don't know what that number is.
>
> --
> Regards Erik
>
Re: Multiple get
Posted by Erik Holstad <er...@gmail.com>.
Hey Slava!
There is work being done to be able to do this
https://issues.apache.org/jira/browse/HBASE-1845?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12832114#action_12832114
I think that there is also another Jira that s related to this topic, but I
don't know what that number is.
--
Regards Erik