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/02/07 21:47:08 UTC

[jira] Created: (HBASE-424) Should be able to enable/disable .META. table

Should be able to enable/disable .META. table
---------------------------------------------

                 Key: HBASE-424
                 URL: https://issues.apache.org/jira/browse/HBASE-424
             Project: Hadoop HBase
          Issue Type: Bug
            Reporter: stack




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


[jira] Resolved: (HBASE-424) Should be able to enable/disable .META. table

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

Jim Kellerman resolved HBASE-424.
---------------------------------

    Resolution: Fixed

Removed client side checks and fixed bug in master. Committed.

> Should be able to enable/disable .META. table
> ---------------------------------------------
>
>                 Key: HBASE-424
>                 URL: https://issues.apache.org/jira/browse/HBASE-424
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: stack
>            Assignee: Jim Kellerman
>             Fix For: 0.2.0
>
>


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


[jira] Assigned: (HBASE-424) Should be able to enable/disable .META. table

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

Jim Kellerman reassigned HBASE-424:
-----------------------------------

    Assignee: Jim Kellerman

> Should be able to enable/disable .META. table
> ---------------------------------------------
>
>                 Key: HBASE-424
>                 URL: https://issues.apache.org/jira/browse/HBASE-424
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: stack
>            Assignee: Jim Kellerman
>             Fix For: 0.2.0
>
>


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


[jira] Commented: (HBASE-424) Should be able to enable/disable .META. table

Posted by "Jim Kellerman (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12614193#action_12614193 ] 

Jim Kellerman commented on HBASE-424:
-------------------------------------

Only the -ROOT- table cannot be disabled. IMO, if the root table needs to be modified, it should be done off-line.
However, I see no restrictions on offlining the .META. table

> Should be able to enable/disable .META. table
> ---------------------------------------------
>
>                 Key: HBASE-424
>                 URL: https://issues.apache.org/jira/browse/HBASE-424
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: stack
>


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


[jira] Commented: (HBASE-424) Should be able to enable/disable .META. table

Posted by "Jim Kellerman (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12614182#action_12614182 ] 

Jim Kellerman commented on HBASE-424:
-------------------------------------

Why can't we do this? Is it a shell problem or a HBase region server problem or what?

> Should be able to enable/disable .META. table
> ---------------------------------------------
>
>                 Key: HBASE-424
>                 URL: https://issues.apache.org/jira/browse/HBASE-424
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: stack
>


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


[jira] Reopened: (HBASE-424) Should be able to enable/disable .META. table

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

stack reopened HBASE-424:
-------------------------


This doesn't work, at least on TRUNK.  Reopening.

Here is a clean install:

{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:00:35 UTC 2008
hbase(main):001:0> disable '.META.'
08/07/28 00:01:56 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:01:56 DEBUG client.HBaseAdmin: Sleep. Waiting for all regions to be disabled from .META.
08/07/28 00:02:06 DEBUG client.HBaseAdmin: Wake. Waiting for all regions to be disabled from .META.
08/07/28 00:02: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'}]}}
08/07/28 00:02:06 INFO client.HBaseAdmin: Disabled .META.
0 row(s) in 10.2660 seconds
hbase(main):002:0> 
hbase(main):003:0* enable '.META.'

NativeException: java.net.SocketTimeoutException: timed out waiting for rpc response
        from org/apache/hadoop/ipc/Client.java:559:in `call'
        from org/apache/hadoop/hbase/ipc/HbaseRPC.java:230:in `invoke'
        from $Proxy7:-1:in `enableTable'
{code}

> Should be able to enable/disable .META. table
> ---------------------------------------------
>
>                 Key: HBASE-424
>                 URL: https://issues.apache.org/jira/browse/HBASE-424
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: stack
>            Assignee: Jim Kellerman
>             Fix For: 0.2.0
>
>


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


[jira] Resolved: (HBASE-424) Should be able to enable/disable .META. table

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

Jim Kellerman resolved HBASE-424.
---------------------------------

    Resolution: Fixed

Enable table was waiting for the META region to come on-line. That doesn't work if you're trying to enable the META table.

Committed.

> Should be able to enable/disable .META. table
> ---------------------------------------------
>
>                 Key: HBASE-424
>                 URL: https://issues.apache.org/jira/browse/HBASE-424
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: stack
>            Assignee: Jim Kellerman
>             Fix For: 0.2.0
>
>


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


[jira] Commented: (HBASE-424) Should be able to enable/disable .META. table

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12614194#action_12614194 ] 

stack commented on HBASE-424:
-----------------------------

Try the shell.  Will throw an exception.  Will help figure where the problem if any is.  Run 'disable ".META."'.  Maybe its a non-issue now?

> Should be able to enable/disable .META. table
> ---------------------------------------------
>
>                 Key: HBASE-424
>                 URL: https://issues.apache.org/jira/browse/HBASE-424
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: stack
>


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


[jira] Commented: (HBASE-424) Should be able to enable/disable .META. table

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12614184#action_12614184 ] 

stack commented on HBASE-424:
-----------------------------

A rule on regionserver side IIRC

> Should be able to enable/disable .META. table
> ---------------------------------------------
>
>                 Key: HBASE-424
>                 URL: https://issues.apache.org/jira/browse/HBASE-424
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: stack
>


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


[jira] Updated: (HBASE-424) Should be able to enable/disable .META. table

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

Jim Kellerman updated HBASE-424:
--------------------------------

    Fix Version/s: 0.2.0

> Should be able to enable/disable .META. table
> ---------------------------------------------
>
>                 Key: HBASE-424
>                 URL: https://issues.apache.org/jira/browse/HBASE-424
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: stack
>            Assignee: Jim Kellerman
>             Fix For: 0.2.0
>
>


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