You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Demai Ni <ni...@gmail.com> on 2013/12/17 22:17:28 UTC
[96.x] replacement for HConnectionManager:deleteConnection() and deleteAllConnection()
hi, folks,
we are currently using both calls. They are being deprecated. Wondering
what APIs should be used to replacement them? many thanks
Demai
Re: [96.x] replacement for HConnectionManager:deleteConnection() and deleteAllConnection()
Posted by Ted Yu <yu...@gmail.com>.
For your first question, HConnectionManager was moved to hbase-client
module.
The deprecation seems to happen before that move.
I am trying to find out the JIRA that deprecated deleteConnection().
Cheers
On Tue, Dec 17, 2013 at 5:55 PM, Demai Ni <ni...@gmail.com> wrote:
> Ted,
>
> thanks. these two patches marked "deleteConnection(Configuration conf,
> boolean stopProxy)" as deprecated, and left
> "deleteConnection(Configuration conf)" as the API for 94 . However,
> deleteConnection(Configuration conf) is marked as deprecated on 96.0 now.
>
> Is there a way to search which patch marked "deleteConnection(Configuration
> conf)" deprecated on 96? so next time I can search it myself? thanks
>
> Although "deleteConnection(Configuration conf)" is deprecated on 96, other
> code are still using it. I assume it is ok for client code to use it too?
>
> Demai
>
>
> On Tue, Dec 17, 2013 at 2:49 PM, Ted Yu <yu...@gmail.com> wrote:
>
> > See:
> > HBASE-7626 Backport client connection cleanup from HBASE-7460
> >
> > Cheers
> >
> >
> > On Tue, Dec 17, 2013 at 1:17 PM, Demai Ni <ni...@gmail.com> wrote:
> >
> > > hi, folks,
> > >
> > > we are currently using both calls. They are being deprecated. Wondering
> > > what APIs should be used to replacement them? many thanks
> > >
> > > Demai
> > >
> >
>
Re: [96.x] replacement for HConnectionManager:deleteConnection() and deleteAllConnection()
Posted by Demai Ni <ni...@gmail.com>.
Ted,
thanks. these two patches marked "deleteConnection(Configuration conf,
boolean stopProxy)" as deprecated, and left
"deleteConnection(Configuration conf)" as the API for 94 . However,
deleteConnection(Configuration conf) is marked as deprecated on 96.0 now.
Is there a way to search which patch marked "deleteConnection(Configuration
conf)" deprecated on 96? so next time I can search it myself? thanks
Although "deleteConnection(Configuration conf)" is deprecated on 96, other
code are still using it. I assume it is ok for client code to use it too?
Demai
On Tue, Dec 17, 2013 at 2:49 PM, Ted Yu <yu...@gmail.com> wrote:
> See:
> HBASE-7626 Backport client connection cleanup from HBASE-7460
>
> Cheers
>
>
> On Tue, Dec 17, 2013 at 1:17 PM, Demai Ni <ni...@gmail.com> wrote:
>
> > hi, folks,
> >
> > we are currently using both calls. They are being deprecated. Wondering
> > what APIs should be used to replacement them? many thanks
> >
> > Demai
> >
>
Re: [96.x] replacement for HConnectionManager:deleteConnection() and deleteAllConnection()
Posted by Ted Yu <yu...@gmail.com>.
See:
HBASE-7626 Backport client connection cleanup from HBASE-7460
Cheers
On Tue, Dec 17, 2013 at 1:17 PM, Demai Ni <ni...@gmail.com> wrote:
> hi, folks,
>
> we are currently using both calls. They are being deprecated. Wondering
> what APIs should be used to replacement them? many thanks
>
> Demai
>