diff --git a/hbase-shell/src/main/ruby/shell/commands/list_quota_snapshots.rb b/hbase-shell/src/main/ruby/shell/commands/list_quota_snapshots.rb index 5cb01a92a4fb..08a96673b7b6 100644 --- a/hbase-shell/src/main/ruby/shell/commands/list_quota_snapshots.rb +++ b/hbase-shell/src/main/ruby/shell/commands/list_quota_snapshots.rb @@ -45,9 +45,9 @@ def help def command(args = {}) # All arguments may be nil - desired_table = args[TABLE] - desired_namespace = args[NAMESPACE] - desired_regionserver = args[REGIONSERVER] + desired_table = args[::HBaseConstants::TABLE] + desired_namespace = args[::HBaseConstants::NAMESPACE] + desired_regionserver = args[::HBaseConstants::REGIONSERVER] formatter.header(%w[TABLE USAGE LIMIT IN_VIOLATION POLICY]) count = 0 quotas_admin.get_quota_snapshots(desired_regionserver).each do |table_name, snapshot|