You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by Lars George <la...@gmail.com> on 2011/07/02 16:06:04 UTC
Table Name toString is wrong
Hi,
hbase(main):006:0> scan '.META.', { COLUMNS => ['info:regioninfo']}
ROW COLUMN+CELL
testtable,,1309614509037.612d1e0112 column=info:regioninfo, timestamp=1309614509086, value=REGION => {NAME => 'testtable,,1309614509037.612d
406e6c2bb482eeaec57322. 1e0112406e6c2bb482eeaec57322. TableName => [B@c4be179', STARTKEY => '', ENDKEY => 'row-10', ENCODED => 6
12d1e0112406e6c2bb482eeaec57322,}
See the TableName, it does not use toStringBinary() by the looks. Is this borked? This is trunk, Revision: 1139502.
Lars
Re: Table Name toString is wrong
Posted by Lars George <la...@gmail.com>.
I agree, I also noticed it is printed twice.
On Wed, Jul 6, 2011 at 2:31 PM, Stack <st...@duboce.net> wrote:
> I noticed this too and had a local patch. I was thinking table name
> should not be mentioned at all in the descirptor... its in the region
> name?
> St.Ack
>
> On Sat, Jul 2, 2011 at 8:34 AM, Ted Yu <yu...@gmail.com> wrote:
> > Thanks for spotting this.
> >
> > Fixed in TRUNK.
> >
> > On Sat, Jul 2, 2011 at 7:06 AM, Lars George <la...@gmail.com>
> wrote:
> >
> >> Hi,
> >>
> >> hbase(main):006:0> scan '.META.', { COLUMNS => ['info:regioninfo']}
> >> ROW COLUMN+CELL
> >> testtable,,1309614509037.612d1e0112 column=info:regioninfo,
> >> timestamp=1309614509086, value=REGION => {NAME =>
> >> 'testtable,,1309614509037.612d
> >> 406e6c2bb482eeaec57322. 1e0112406e6c2bb482eeaec57322.
> >> TableName => [B@c4be179', STARTKEY => '', ENDKEY => 'row-10', ENCODED
> => 6
> >> 12d1e0112406e6c2bb482eeaec57322,}
> >>
> >> See the TableName, it does not use toStringBinary() by the looks. Is
> this
> >> borked? This is trunk, Revision: 1139502.
> >>
> >> Lars
> >
>
Re: Table Name toString is wrong
Posted by Stack <st...@duboce.net>.
I noticed this too and had a local patch. I was thinking table name
should not be mentioned at all in the descirptor... its in the region
name?
St.Ack
On Sat, Jul 2, 2011 at 8:34 AM, Ted Yu <yu...@gmail.com> wrote:
> Thanks for spotting this.
>
> Fixed in TRUNK.
>
> On Sat, Jul 2, 2011 at 7:06 AM, Lars George <la...@gmail.com> wrote:
>
>> Hi,
>>
>> hbase(main):006:0> scan '.META.', { COLUMNS => ['info:regioninfo']}
>> ROW COLUMN+CELL
>> testtable,,1309614509037.612d1e0112 column=info:regioninfo,
>> timestamp=1309614509086, value=REGION => {NAME =>
>> 'testtable,,1309614509037.612d
>> 406e6c2bb482eeaec57322. 1e0112406e6c2bb482eeaec57322.
>> TableName => [B@c4be179', STARTKEY => '', ENDKEY => 'row-10', ENCODED => 6
>> 12d1e0112406e6c2bb482eeaec57322,}
>>
>> See the TableName, it does not use toStringBinary() by the looks. Is this
>> borked? This is trunk, Revision: 1139502.
>>
>> Lars
>
Re: Table Name toString is wrong
Posted by Ted Yu <yu...@gmail.com>.
Thanks for spotting this.
Fixed in TRUNK.
On Sat, Jul 2, 2011 at 7:06 AM, Lars George <la...@gmail.com> wrote:
> Hi,
>
> hbase(main):006:0> scan '.META.', { COLUMNS => ['info:regioninfo']}
> ROW COLUMN+CELL
> testtable,,1309614509037.612d1e0112 column=info:regioninfo,
> timestamp=1309614509086, value=REGION => {NAME =>
> 'testtable,,1309614509037.612d
> 406e6c2bb482eeaec57322. 1e0112406e6c2bb482eeaec57322.
> TableName => [B@c4be179', STARTKEY => '', ENDKEY => 'row-10', ENCODED => 6
> 12d1e0112406e6c2bb482eeaec57322,}
>
> See the TableName, it does not use toStringBinary() by the looks. Is this
> borked? This is trunk, Revision: 1139502.
>
> Lars