hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ramkrishna.s.vasudevan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-4332) Describing a disabled table displays the table as being ENABLED
Date Tue, 06 Sep 2011 13:01:10 GMT

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

ramkrishna.s.vasudevan commented on HBASE-4332:
-----------------------------------------------

{noformat}
hbase(main):001:0> create 't2','f2'
0 row(s) in 2.5720 seconds

hbase(main):002:0> describe 't2'
DESCRIPTION                                          ENABLED
 {NAME => 't2', FAMILIES => [{NAME => 'f2', BLOOMFIL true
 TER => 'NONE', REPLICATION_SCOPE => '0', COMPRESSIO
 N => 'NONE', VERSIONS => '3', TTL => '2147483647',
 BLOCKSIZE => '65536', IN_MEMORY => 'false', BLOCKCA
 CHE => 'true'}]}
1 row(s) in 0.0370 seconds

hbase(main):003:0> disable 't2'
0 row(s) in 11.1780 seconds

hbase(main):004:0> describe 't2'
DESCRIPTION                                          ENABLED
 {NAME => 't2', FAMILIES => [{NAME => 'f2', BLOOMFIL false
 TER => 'NONE', REPLICATION_SCOPE => '0', COMPRESSIO
 N => 'NONE', VERSIONS => '3', TTL => '2147483647',
 BLOCKSIZE => '65536', IN_MEMORY => 'false', BLOCKCA
 CHE => 'true'}]}
1 row(s) in 0.0420 seconds
{noformat}
true or false is getting displayed in the next line.  Correct me if am wrong.

> Describing a disabled table displays the table as being ENABLED
> ---------------------------------------------------------------
>
>                 Key: HBASE-4332
>                 URL: https://issues.apache.org/jira/browse/HBASE-4332
>             Project: HBase
>          Issue Type: Bug
>          Components: shell
>    Affects Versions: 0.90.3
>            Reporter: Ramya Sunil
>
> On hbase 0.90.3, describing a table which is disabled, on hbase shell shows the table
as being ENABLED i.e.
> {noformat}
> hbase> create 't1','c1'
> hbase> describe 't1'
>        DESCRIPTION ENABLED   
> hbase> drop 't1'
>        ERROR: Table t1 is enabled. Disable it first.'
> hbase> disable 't1'
> hbase> describe 't1'
>        DESCRIPTION ENABLED   
> hbase> drop 't1'
> Table dropped
> {noformat}
> The describe option can be useful to know if the table is disabled/enabled. I looked
through jiras to find if an issue already exists but could not find one. Please mark it as
duplicate if one already exists.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message