You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "rajeshbabu (JIRA)" <ji...@apache.org> on 2013/09/24 08:13:09 UTC

[jira] [Commented] (HBASE-9643) HBase Table is in 'disabled' state, but the corresponding 'enable' is throwing 'TableNotDisabledException' exception

    [ https://issues.apache.org/jira/browse/HBASE-9643?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13776026#comment-13776026 ] 

rajeshbabu commented on HBASE-9643:
-----------------------------------

Can you check whether is table is disable by is_disabled 't'

                
> HBase Table is in 'disabled' state, but the corresponding 'enable' is throwing 'TableNotDisabledException' exception 
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-9643
>                 URL: https://issues.apache.org/jira/browse/HBASE-9643
>             Project: HBase
>          Issue Type: Bug
>          Components: master, regionserver
>    Affects Versions: 0.94.11
>         Environment: SuSE11
>            Reporter: shankarlingayya
>
> {noformat}
> HBase Table is in 'disabled' state, but the corresponding 'enable' is throwing 'TableNotDisabledException' exception
> hbase(main):025:0> list
> TABLE                                                                                                                           
> t1                                                                                                                              
> t2                                                                                                                              
> 2 row(s) in 0.0220 seconds
> hbase(main):026:0> describe 't1'
> DESCRIPTION                                                                        ENABLED                                      
>  't1', {NAME => 'cf1', DATA_BLOCK_ENCODING => 'NONE', BLOOMFILTER => 'NONE', REPLI false                                        
>  CATION_SCOPE => '0', VERSIONS => '3', COMPRESSION => 'NONE', MIN_VERSIONS => '0',                                              
>   TTL => '2147483647', KEEP_DELETED_CELLS => 'false', BLOCKSIZE => '65536', IN_MEM                                              
>  ORY => 'false', ENCODE_ON_DISK => 'true', BLOCKCACHE => 'true'}                                                                
> 1 row(s) in 0.0430 seconds
> hbase(main):027:0> enable 't1'
> ERROR: org.apache.hadoop.hbase.TableNotDisabledException: org.apache.hadoop.hbase.TableNotDisabledException: t1
>         at org.apache.hadoop.hbase.master.handler.EnableTableHandler.<init>(EnableTableHandler.java:95)
>         at org.apache.hadoop.hbase.master.HMaster.enableTable(HMaster.java:1471)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at org.apache.hadoop.hbase.ipc.WritableRpcEngine$Server.call(WritableRpcEngine.java:320)
>         at org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:1434)
> Here is some help for this command:
> Start enable of named table: e.g. "hbase> enable 't1'"
> hbase(main):028:0> 
> HMaster Log:
> 2013-09-24 11:36:20,630 DEBUG org.apache.hadoop.hbase.client.MetaScanner: Scanning .META. starting at row= for max=2147483647 rows using org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation@215200be
> 2013-09-24 11:36:20,649 DEBUG org.apache.hadoop.hbase.master.CatalogJanitor: Scanned 348 catalog row(s) and gc'd 0 unreferenced parent region(s)
> 2013-09-24 11:37:59,428 INFO org.apache.hadoop.hbase.master.LoadBalancer: Skipping load balancing because balanced cluster; servers=2 regions=347 average=173.5 mostloaded=174 leastloaded=173
> 2013-09-24 11:37:59,428 INFO org.apache.hadoop.hbase.master.LoadBalancer: Skipping load balancing because balanced cluster; servers=2 regions=1 average=0.5 mostloaded=1 leastloaded=0
> 2013-09-24 11:41:11,339 DEBUG org.apache.hadoop.hbase.client.ClientScanner: Creating scanner over .META. starting at key 't1,,'
> 2013-09-24 11:41:11,339 DEBUG org.apache.hadoop.hbase.client.ClientScanner: Advancing internal scanner to startKey at 't1,,'
> 2013-09-24 11:41:11,342 INFO org.apache.hadoop.hbase.master.handler.EnableTableHandler: Table t1 isn't disabled; skipping enable
> 2013-09-24 11:41:20,630 DEBUG org.apache.hadoop.hbase.client.MetaScanner: Scanning .META. starting at row= for max=2147483647 rows using org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation@215200be
> 2013-09-24 11:41:20,652 DEBUG org.apache.hadoop.hbase.master.CatalogJanitor: Scanned 348 catalog row(s) and gc'd 0 unreferenced parent region(s)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira