|
|
-
Table Name toString is wrong
Lars George 2011-07-02, 14:06
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
Ted Yu 2011-07-02, 15:34
Thanks for spotting this.
Fixed in TRUNK.
On Sat, Jul 2, 2011 at 7:06 AM, Lars George <[EMAIL PROTECTED]> 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
Stack 2011-07-06, 21:31
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 <[EMAIL PROTECTED]> wrote: > Thanks for spotting this. > > Fixed in TRUNK. > > On Sat, Jul 2, 2011 at 7:06 AM, Lars George <[EMAIL PROTECTED]> 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
Lars George 2011-07-07, 18:52
I agree, I also noticed it is printed twice.
On Wed, Jul 6, 2011 at 2:31 PM, Stack <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> wrote: > > Thanks for spotting this. > > > > Fixed in TRUNK. > > > > On Sat, Jul 2, 2011 at 7:06 AM, Lars George <[EMAIL PROTECTED]> > 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 > > >
|
|