You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2008/07/28 02:07:31 UTC

[jira] Created: (HBASE-780) Can't scan '.META.' from new shell

Can't scan '.META.' from new shell
----------------------------------

                 Key: HBASE-780
                 URL: https://issues.apache.org/jira/browse/HBASE-780
             Project: Hadoop HBase
          Issue Type: Bug
            Reporter: stack
            Priority: Blocker
             Fix For: 0.2.0


Need scan of .META. debugging.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HBASE-780) Can't scan '.META.' from new shell

Posted by "stack (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack updated HBASE-780:
------------------------

    Attachment: scan.patch

Here is before the patch:
{code}
[stack@aa0-000-12 trunk]$ ./bin/hbase shell
HBase Shell; enter 'help<RETURN>' for list of supported commands.
Version: 0.2.0, r678898, Mon Jul 28 00:20:25 UTC 2008
hbase(main):001:0> scan '.META.'
08/07/28 00:21:00 DEBUG client.HConnectionManager$TableServers: Found ROOT REGION => {NAME => '-ROOT-,,0', STARTKEY => '', ENDKEY => '', ENCODED => 70236052, TABLE => {{NAME => '-ROOT-', IS_ROOT => 'true', IS_META => 'true', FAMILIES => [{NAME => 'info', BLOOMFILTER => 'false', COMPRESSION => 'NONE', VERSIONS => '1', LENGTH => '2147483647', TTL => '-1', IN_MEMORY => 'false', BLOCKCACHE => 'false'}]}}
08/07/28 00:21:00 DEBUG client.HConnectionManager$TableServers: Found ROOT REGION => {NAME => '-ROOT-,,0', STARTKEY => '', ENDKEY => '', ENCODED => 70236052, TABLE => {{NAME => '-ROOT-', IS_ROOT => 'true', IS_META => 'true', FAMILIES => [{NAME => 'info', BLOOMFILTER => 'false', COMPRESSION => 'NONE', VERSIONS => '1', LENGTH => '2147483647', TTL => '-1', IN_MEMORY => 'false', BLOCKCACHE => 'false'}]}}
NativeException: java.lang.IllegalArgumentException: Illegal character <46>. User-space table names can only contain 'word characters':i.e. [a-zA-Z_0-9]: .META.
        from org/apache/hadoop/hbase/HTableDescriptor.java:220:in `isLegalTableName'
        from org/apache/hadoop/hbase/HTableDescriptor.java:130:in `<init>'
...
{code}

... and after

{code}
[stack@aa0-000-12 trunk]$ ./bin/hbase shell
HBase Shell; enter 'help<RETURN>' for list of supported commands.
Version: 0.2.0, r678898, Mon Jul 28 00:03:51 UTC 2008
hbase(main):001:0> scan '.META.'
08/07/28 00:05:59 DEBUG client.HConnectionManager$TableServers: Found ROOT REGION => {NAME => '-ROOT-,,0', STARTKEY => '', ENDKEY => '', ENCODED => 70236052, TABLE => {{NAME => '-ROOT-', IS_ROOT => 'true', IS_META => 'true', FAMILIES => [{NAME => 'info', BLOOMFILTER => 'false', COMPRESSION => 'NONE', VERSIONS => '1', LENGTH => '2147483647', TTL => '-1', IN_MEMORY => 'false', BLOCKCACHE => 'false'}]}}
08/07/28 00:05:59 DEBUG client.HConnectionManager$TableServers: Found ROOT REGION => {NAME => '-ROOT-,,0', STARTKEY => '', ENDKEY => '', ENCODED => 70236052, TABLE => {{NAME => '-ROOT-', IS_ROOT => 'true', IS_META => 'true', FAMILIES => [{NAME => 'info', BLOOMFILTER => 'false', COMPRESSION => 'NONE', VERSIONS => '1', LENGTH => '2147483647', TTL => '-1', IN_MEMORY => 'false', BLOCKCACHE => 'false'}]}}
08/07/28 00:05:59 DEBUG client.HTable$ClientScanner: Creating scanner over .META. starting at key ''
08/07/28 00:05:59 DEBUG client.HTable$ClientScanner: Advancing internal scanner to startKey at ''
08/07/28 00:05:59 DEBUG client.HConnectionManager$TableServers: Cache hit in table locations for row <> and tableName .META.: location server 208.76.44.140:60020, location region name .META.,,1
ROW                          COLUMN+CELL                                                                      
08/07/28 00:05:59 DEBUG client.HTable$ClientScanner: Advancing forward from region REGION => {NAME => '.META.,,1', STARTKEY => '', ENDKEY => '', ENCODED => 1028785192, TABLE => {{NAME => '.META.', IS_ROOT => 'false', IS_META => 'true', FAMILIES => [{NAME => 'info', BLOOMFILTER => 'false', VERSIONS => '1', COMPRESSION => 'NONE', LENGTH => '2147483647', TTL => '-1', IN_MEMORY => 'false', BLOCKCACHE => 'false'}, {NAME => 'historian', BLOOMFILTER => 'false', VERSIONS => '2147483647', COMPRESSION => 'NONE', LENGTH => '2147483647', TTL => '-1', IN_MEMORY => 'false', BLOCKCACHE => 'false'}]}}
0 row(s) in 0.1450 seconds
hbase(main):002:0> create 'x', 'x'
08/07/28 00:06:06 DEBUG client.HConnectionManager$TableServers: reloading table servers because: No server address listed in .META. for region x,,1217203566838
08/07/28 00:06:06 DEBUG client.HConnectionManager$TableServers: Removed .META.,,1 from cache because of x,,99999999999999
08/07/28 00:06:06 DEBUG client.HConnectionManager$TableServers: Found ROOT REGION => {NAME => '-ROOT-,,0', STARTKEY => '', ENDKEY => '', ENCODED => 70236052, TABLE => {{NAME => '-ROOT-', IS_ROOT => 'true', IS_META => 'true', FAMILIES => [{NAME => 'info', BLOOMFILTER => 'false', COMPRESSION => 'NONE', VERSIONS => '1', LENGTH => '2147483647', TTL => '-1', IN_MEMORY => 'false', BLOCKCACHE => 'false'}]}}
0 row(s) in 10.1800 seconds
hbase(main):003:0> scan '.META.'  
08/07/28 00:06:20 DEBUG client.HConnectionManager$TableServers: Cache hit in table locations for row <> and tableName .META.: location server 208.76.44.140:60020, location region name .META.,,1
08/07/28 00:06:20 DEBUG client.HConnectionManager$TableServers: Found ROOT REGION => {NAME => '-ROOT-,,0', STARTKEY => '', ENDKEY => '', ENCODED => 70236052, TABLE => {{NAME => '-ROOT-', IS_ROOT => 'true', IS_META => 'true', FAMILIES => [{NAME => 'info', BLOOMFILTER => 'false', COMPRESSION => 'NONE', VERSIONS => '1', LENGTH => '2147483647', TTL => '-1', IN_MEMORY => 'false', BLOCKCACHE => 'false'}]}}
08/07/28 00:06:20 DEBUG client.HTable$ClientScanner: Creating scanner over .META. starting at key ''
08/07/28 00:06:20 DEBUG client.HTable$ClientScanner: Advancing internal scanner to startKey at ''
08/07/28 00:06:20 DEBUG client.HConnectionManager$TableServers: Cache hit in table locations for row <> and tableName .META.: location server 208.76.44.140:60020, location region name .META.,,1
ROW                          COLUMN+CELL                                                                      
 x,,1217203566838            column=historian:assignment, timestamp=1217203567983, value=Region assigned to se
                             rver 208.76.44.140:60020                                                         
 x,,1217203566838            column=historian:compaction, timestamp=1217203568154, value=Region compaction com
                             pleted in 0sec                                                                   
 x,,1217203566838            column=historian:creation, timestamp=1217203566901, value=Region creation        
 x,,1217203566838            column=historian:open, timestamp=1217203570994, value=Region opened on server : a
                             a0-000-13.u.powerset.com                                                         
 x,,1217203566838            column=info:regioninfo, timestamp=1217203566926, value=REGION => {NAME => 'x,,121
                             7203566838', STARTKEY => '', ENDKEY => '', ENCODED => 934887646, TABLE => {{NAME 
                             => 'x', IS_ROOT => 'false', IS_META => 'false', FAMILIES => [{NAME => 'x', BLOOMF
                             ILTER => 'false', COMPRESSION => 'NONE', VERSIONS => '3', LENGTH => '2147483647',
                              TTL => '-1', IN_MEMORY => 'false', BLOCKCACHE => 'false'}]}}                    
 x,,1217203566838            column=info:server, timestamp=1217203570992, value=208.76.44.140:60020           
 x,,1217203566838            column=info:serverstartcode, timestamp=1217203570992, value=1217203521386        
08/07/28 00:06:20 DEBUG client.HTable$ClientScanner: Advancing forward from region REGION => {NAME => '.META.,,1', STARTKEY => '', ENDKEY => '', ENCODED => 1028785192, TABLE => {{NAME => '.META.', IS_ROOT => 'false', IS_META => 'true', FAMILIES => [{NAME => 'info', BLOOMFILTER => 'false', VERSIONS => '1', COMPRESSION => 'NONE', LENGTH => '2147483647', TTL => '-1', IN_MEMORY => 'false', BLOCKCACHE => 'false'}, {NAME => 'historian', BLOOMFILTER => 'false', VERSIONS => '2147483647', COMPRESSION => 'NONE', LENGTH => '2147483647', TTL => '-1', IN_MEMORY => 'false', BLOCKCACHE => 'false'}]}}
7 row(s) in 0.0520 seconds
{code}

> Can't scan '.META.' from new shell
> ----------------------------------
>
>                 Key: HBASE-780
>                 URL: https://issues.apache.org/jira/browse/HBASE-780
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: stack
>            Priority: Blocker
>             Fix For: 0.2.0
>
>         Attachments: scan.patch
>
>
> Need scan of .META. debugging.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (HBASE-780) Can't scan '.META.' from new shell

Posted by "stack (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack resolved HBASE-780.
-------------------------

    Resolution: Fixed

Committed.

> Can't scan '.META.' from new shell
> ----------------------------------
>
>                 Key: HBASE-780
>                 URL: https://issues.apache.org/jira/browse/HBASE-780
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: stack
>            Priority: Blocker
>             Fix For: 0.2.0
>
>         Attachments: scan.patch
>
>
> Need scan of .META. debugging.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (HBASE-780) Can't scan '.META.' from new shell

Posted by "stack (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack reassigned HBASE-780:
---------------------------

    Assignee: stack

> Can't scan '.META.' from new shell
> ----------------------------------
>
>                 Key: HBASE-780
>                 URL: https://issues.apache.org/jira/browse/HBASE-780
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: stack
>            Assignee: stack
>            Priority: Blocker
>             Fix For: 0.2.0
>
>         Attachments: scan.patch
>
>
> Need scan of .META. debugging.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.