Skip to content

Commit

Permalink
HBASE-28734 Improve HBase shell snapshot command Doc with TTL option (#…
Browse files Browse the repository at this point in the history
…6107)

Signed-off-by: Duo Zhang <[email protected]>
  • Loading branch information
2005hithlj committed Jul 21, 2024
1 parent 10e7105 commit a630e06
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hbase-shell/src/main/ruby/shell/commands/snapshot.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ def help
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
Expand Down

0 comments on commit a630e06

Please sign in to comment.