You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by he...@apache.org on 2024/07/21 15:50:09 UTC
(hbase) branch branch-2 updated: HBASE-28734 Improve HBase shell snapshot command Doc with TTL option (#6107)
This is an automated email from the ASF dual-hosted git repository.
heliangjun pushed a commit to branch branch-2
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2 by this push:
new 90d323e993f HBASE-28734 Improve HBase shell snapshot command Doc with TTL option (#6107)
90d323e993f is described below
commit 90d323e993f7d272e5f887ff25acddbe944f281c
Author: Liangjun He <he...@apache.org>
AuthorDate: Sun Jul 21 23:20:13 2024 +0800
HBASE-28734 Improve HBase shell snapshot command Doc with TTL option (#6107)
Signed-off-by: Duo Zhang <zh...@apache.org>
---
hbase-shell/src/main/ruby/shell/commands/snapshot.rb | 1 +
1 file changed, 1 insertion(+)
diff --git a/hbase-shell/src/main/ruby/shell/commands/snapshot.rb b/hbase-shell/src/main/ruby/shell/commands/snapshot.rb
index 99844947081..0869571e2ea 100644
--- a/hbase-shell/src/main/ruby/shell/commands/snapshot.rb
+++ b/hbase-shell/src/main/ruby/shell/commands/snapshot.rb
@@ -24,6 +24,7 @@ module Shell
Take a snapshot of specified table. Examples:
hbase> snapshot 'sourceTable', 'snapshotName'
+ hbase> snapshot 'sourceTable', 'snapshotName', {TTL => 86400}
hbase> snapshot 'namespace:sourceTable', 'snapshotName', {SKIP_FLUSH => true, MAX_FILESIZE => 21474836480}
EOF
end