HBASE-21072 Block out HBCK1 in hbase2
commit86b35b26870be3a04304a4483c08fcf7c50d55f5
authorMichael Stack <stack@apache.org>
Thu, 23 Aug 2018 05:44:00 +0000 (22 22:44 -0700)
committerMichael Stack <stack@apache.org>
Fri, 24 Aug 2018 16:26:43 +0000 (24 09:26 -0700)
tree85df1f8d9b4cac78e09b258a51970a27fa1b093c
parenta452487a9b82bfd33bc10683c3f8b8ae74d58883
HBASE-21072 Block out HBCK1 in hbase2
Write the hbase-1.x hbck1 lock file to block out hbck1 instances writing
state to an hbase-2.x cluster (could do damage).
Set hbase.write.hbck1.lock.file to false to disable this writing.
hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
hbase-server/src/main/java/org/apache/hadoop/hbase/util/HBaseFsck.java
hbase-server/src/test/java/org/apache/hadoop/hbase/master/TestMaster.java