[ https://issues.apache.org/jira/browse/HBASE-20256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16411636#comment-16411636 ]
Peter Somogyi commented on HBASE-20256: --------------------------------------- Enable/disable table replication do not work h2. Disable The message shows that replication is disabled but the new row is still replicated to the peer. {noformat} hbase(main):014:0> disable_table_replication 'repl' 0 row(s) in 0.0630 seconds The replication swith of table 'repl' successfully disabled hbase(main):015:0> put 'repl', 'row5', 'cf1:b', 'val5' 0 row(s) in 0.0040 seconds hbase(main):016:0> scan 'repl' ROW COLUMN+CELL row1 column=cf1:a, timestamp=1521724048284, value=val1 row2 column=cf2:a, timestamp=1521724396207, value=val2 row3 column=cf1:a, timestamp=1521724409749, value=val3 row4 column=cf1:b, timestamp=1521725088018, value=val4 row5 column=cf1:b, timestamp=1521725124770, value=val5 5 row(s) in 0.0120 seconds{noformat} *On replicated cluster:* {noformat} hbase(main):016:0> scan 'repl' ROW COLUMN+CELL row1 column=cf1:a, timestamp=1521724048284, value=val1 row3 column=cf1:a, timestamp=1521724409749, value=val3 row4 column=cf1:b, timestamp=1521725088018, value=val4 row5 column=cf1:b, timestamp=1521725124770, value=val5 4 row(s) Took 0.0058 seconds {noformat} h2. Enable The table descriptors are identical and from 2.0 client the operation succeeds. {noformat} hbase(main):020:0> enable_table_replication 'repl' ERROR: Table repl exists in peer cluster 1, but the table descriptors are not same when comapred with source cluster. Thus can not enable the table's replication switch. Here is some help for this command: Enable a table's replication switch. Examples: hbase> enable_table_replication 'table_name'{noformat} > Document commands that do not work with 1.2 shell > ------------------------------------------------- > > Key: HBASE-20256 > URL: https://issues.apache.org/jira/browse/HBASE-20256 > Project: HBase > Issue Type: Sub-task > Components: documentation, shell > Affects Versions: 2.0.0 > Reporter: Peter Somogyi > Assignee: Peter Somogyi > Priority: Major > > Some commands do not work from 1.2 shell when running against 2.0 server. Add > a section to the reference guide mentioning the incompatibilities. > Some of these are collected in this document: > https://docs.google.com/document/d/1l2ad5G_GUk0WQ02xKeKO6mTbpdyZjU1NGuPPI42Wbf4/edit -- This message was sent by Atlassian JIRA (v7.6.3#76005)