[ https://issues.apache.org/jira/browse/HBASE-6668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Kyle Purtell closed HBASE-6668. -------------------------------------- Assignee: (was: Zhou wenjian) > disable in shell may make confused to user > ------------------------------------------- > > Key: HBASE-6668 > URL: https://issues.apache.org/jira/browse/HBASE-6668 > Project: HBase > Issue Type: Bug > Components: shell > Affects Versions: 0.94.1 > Reporter: Zhou wenjian > Priority: Major > > hbase(main):002:0> disable 'logTable' > 0 row(s) in 2.0910 seconds > hbase(main):003:0> disable 'logTable' > 0 row(s) in 0.0260 seconds > and we can found table are disabled in log when disable first appears > but when i disable it again the client just return seemed to be sucessful and > I can not find any log described it in the log. > look into the admin.rb, find below > > #---------------------------------------------------------------------------------------------- > # Disables a table > def disable(table_name) > tableExists(table_name) > return if disabled?(table_name) > @admin.disableTable(table_name) > end > that would confuse us when we found it disabled already but returns nothing -- This message was sent by Atlassian Jira (v8.20.7#820007)