hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Biju N <bijuatapa...@gmail.com>
Subject Re: HTableDescriptor
Date Tue, 20 Jun 2017 03:55:33 GMT
   1. HBASE-18241 <https://issues.apache.org/jira/browse/HBASE-18241>
    created.


On Mon, Jun 19, 2017 at 11:47 PM, Ted Yu <yuzhihong@gmail.com> wrote:

> By 'should be' I meant the desired formation.
>
> Do you mind logging a JIRA which changes the return type for master branch
> ?
>
> Cheers
>
> On Mon, Jun 19, 2017 at 8:44 PM, Biju N <bijuatapache@gmail.com> wrote:
>
> > Thanks Ted for the quick response. Looked at the code in "master" branch
> > and seems to have the return type as HTableDescriptor. Probably I am
> > looking at the wrong branch?
> >
> > https://github.com/apache/hbase/blob/master/hbase-
> > client/src/main/java/org/apache/hadoop/hbase/client/Admin.java#L200
> >
> > https://github.com/apache/hbase/blob/master/hbase-
> > client/src/main/java/org/apache/hadoop/hbase/client/Table.java#L69
> >
> > On Mon, Jun 19, 2017 at 11:33 PM, Ted Yu <yuzhihong@gmail.com> wrote:
> >
> > > I guess in branch-2, this is to keep backward compatibility.
> > >
> > > In master branch, TableDescriptor should be returned from these two
> > > methods.
> > >
> > > On Mon, Jun 19, 2017 at 8:27 PM, Biju N <bijuatapache@gmail.com>
> wrote:
> > >
> > > > Hi There,
> > > >    From the docs. HTableDescriptor is deprecated and will be removed
> > from
> > > > 3.0. But both client.Table#getTableDescriptor and
> > > > client.Admin#getTableDescriptor returns HTableDescriptor object. Is
> > > there
> > > > a
> > > > reason why these methods return the deprecated type? Looking to
> change
> > > code
> > > > from prior versions to not use the deprecated classes.
> > > >
> > > > Thanks,
> > > > Biju
> > > >
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message