[ https://issues.apache.org/jira/browse/HBASE-6988?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Shelukhin resolved HBASE-6988. ------------------------------------- Resolution: Cannot Reproduce no repro > single-node HBASE (or at least shell) went into inconsistent state > ------------------------------------------------------------------ > > Key: HBASE-6988 > URL: https://issues.apache.org/jira/browse/HBASE-6988 > Project: HBase > Issue Type: Bug > Affects Versions: 0.96.0 > Reporter: Sergey Shelukhin > Priority: Minor > > Thru the cycle of restarting HBase and shell, I was somehow able to get into > this state (on trunk): > {noformat} > hbase(main):020:0> describe 'test' > DESCRIPTION > ENABLED > 'test', {METHOD => 'table_att', CONFIG => {'Key' => 'Value2', 'Key2' => > 'Value2'}}, {NAME true > => 'cf', DATA_BLOCK_ENCODING => 'NONE', BLOOMFILTER => 'NONE', > REPLICATION_SCOPE => '0', > COMPRESSION => 'NONE', VERSIONS => '3', TTL => '2147483647', MIN_VERSIONS > => '0', KEEP_D > ELETED_CELLS => 'false', BLOCKSIZE => '65536', ENCODE_ON_DISK => 'true', > IN_MEMORY => 'fa > lse', BLOCKCACHE => 'true'} > > 1 row(s) in 0.0420 seconds > hbase(main):021:0> disable 'test' > ERROR: Table test does not exist.' > Here is some help for this command: > Start disable of named table: e.g. "hbase> disable 't1'" > hbase(main):022:0> create 'test', 'cf2' > 0 row(s) in 1.0900 seconds > => Hbase::Table - test > hbase(main):023:0> describe 'test' > DESCRIPTION > ENABLED > 'test', {METHOD => 'table_att', CONFIG => {'Key' => 'Value2', 'Key2' => > 'Value2'}}, {NAME true > => 'cf', DATA_BLOCK_ENCODING => 'NONE', BLOOMFILTER => 'NONE', > REPLICATION_SCOPE => '0', > COMPRESSION => 'NONE', VERSIONS => '3', TTL => '2147483647', MIN_VERSIONS > => '0', KEEP_D > ELETED_CELLS => 'false', BLOCKSIZE => '65536', ENCODE_ON_DISK => 'true', > IN_MEMORY => 'fa > lse', BLOCKCACHE => 'true'} > > 1 row(s) in 0.0440 seconds > hbase(main):024:0> disable 'test' > 0 row(s) in 7.0590 seconds > hbase(main):026:0> alter 'test', METHOD => 'table_att', CONFIG => { 'Key' => > 'Value3' }, MAX_FILESIZE => 1234567 > Updating all regions with the new schema... > 1/1 regions updated. > Done. > 0 row(s) in 1.1210 seconds > hbase(main):027:0> describe 'test' > DESCRIPTION > ENABLED > 'test', {METHOD => 'table_att', MAX_FILESIZE => '1234567', CONFIG => {'Key' > => 'Value3', false > 'Key2' => 'Value2'}}, {NAME => 'cf', DATA_BLOCK_ENCODING => 'NONE', > BLOOMFILTER => 'NONE' > , REPLICATION_SCOPE => '0', COMPRESSION => 'NONE', VERSIONS => '3', TTL => > '2147483647', > MIN_VERSIONS => '0', KEEP_DELETED_CELLS => 'false', BLOCKSIZE => '65536', > ENCODE_ON_DISK > => 'true', IN_MEMORY => 'false', BLOCKCACHE => 'true'} > > 1 row(s) in 0.0400 seconds > hbase(main):029:0> enable 'test' > 0 row(s) in 7.0710 seconds > hbase(main):030:0> put 'test', 'row1', 'cf:foo', 'bar' > 0 row(s) in 0.0240 seconds > hbase(main):031:0> put 'test', 'row1', 'cf2:foo', 'bar' > ERROR: org.apache.hadoop.hbase.client.RetriesExhaustedWithDetailsException: > Failed 1 action: > org.apache.hadoop.hbase.regionserver.NoSuchColumnFamilyException: Column > family cf2 does not exist in region > test,,1350063293064.7867533297035efe96611b5bcc54f332. in table 'test', > {METHOD => 'table_att', MAX_FILESIZE => '1234567', CONFIG => {'Key' => > 'Value3', 'Key2' => 'Value2'}}, {NAME => 'cf', DATA_BLOCK_ENCODING => 'NONE', > BLOOMFILTER => 'NONE', REPLICATION_SCOPE => '0', COMPRESSION => 'NONE', > VERSIONS => '3', TTL => '2147483647', MIN_VERSIONS => '0', KEEP_DELETED_CELLS > => 'false', BLOCKSIZE => '65536', ENCODE_ON_DISK => 'true', IN_MEMORY => > 'false', BLOCKCACHE => 'true'} > {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