HBASE-26286: Add support for specifying store file tracker when restoring or cloning...
commit771e552cf4a6436176de06eb033c6de6ee545c71
authorBukrosSzabolcs <bukros.szabolcs@gmail.com>
Thu, 16 Dec 2021 01:09:03 +0000 (15 20:09 -0500)
committerJosh Elser <elserj@apache.org>
Wed, 22 Dec 2021 20:05:59 +0000 (22 15:05 -0500)
tree6d74cbd5a4d1edbc78779e915e49e748d9425699
parentd00b5faade4e40f2127fe2b18bf97dae69ce33f6
HBASE-26286: Add support for specifying store file tracker when restoring or cloning snapshot

Closes #3851

Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Josh Elser <elserj@apache.org>
24 files changed:
hbase-client/src/main/java/org/apache/hadoop/hbase/client/Admin.java
hbase-client/src/main/java/org/apache/hadoop/hbase/client/AdminOverAsyncAdmin.java
hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncAdmin.java
hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncHBaseAdmin.java
hbase-client/src/main/java/org/apache/hadoop/hbase/client/ColumnFamilyDescriptor.java
hbase-client/src/main/java/org/apache/hadoop/hbase/client/ColumnFamilyDescriptorBuilder.java
hbase-client/src/main/java/org/apache/hadoop/hbase/client/RawAsyncHBaseAdmin.java
hbase-protocol-shaded/src/main/protobuf/server/master/Master.proto
hbase-protocol-shaded/src/main/protobuf/server/master/MasterProcedure.proto
hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
hbase-server/src/main/java/org/apache/hadoop/hbase/master/MasterRpcServices.java
hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/CloneSnapshotProcedure.java
hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/RestoreSnapshotProcedure.java
hbase-server/src/main/java/org/apache/hadoop/hbase/master/snapshot/SnapshotManager.java
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/storefiletracker/StoreFileTrackerFactory.java
hbase-server/src/main/java/org/apache/hadoop/hbase/snapshot/RestoreSnapshotHelper.java
hbase-server/src/test/java/org/apache/hadoop/hbase/client/TestCloneSnapshotFromClientCustomSFT.java [new file with mode: 0644]
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/storefiletracker/TestStoreFileTracker.java
hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/storefiletracker/TestStoreFileTrackerFactory.java
hbase-server/src/test/java/org/apache/hadoop/hbase/rsgroup/VerifyingRSGroupAdmin.java
hbase-shell/src/main/ruby/hbase/admin.rb
hbase-shell/src/main/ruby/hbase_constants.rb
hbase-shell/src/main/ruby/shell/commands/clone_snapshot.rb
hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/client/ThriftAdmin.java