You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ps...@apache.org on 2022/03/28 19:36:28 UTC
[hbase] branch branch-2.4 updated: HBASE-26896 list_quota_snapshots fails with ‘ERROR NameError: uninitialized constant Shell::Commands::ListQuotaSnapshots::TABLE’ (#4284)
This is an automated email from the ASF dual-hosted git repository.
psomogyi pushed a commit to branch branch-2.4
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2.4 by this push:
new 543128d HBASE-26896 list_quota_snapshots fails with ‘ERROR NameError: uninitialized constant Shell::Commands::ListQuotaSnapshots::TABLE’ (#4284)
543128d is described below
commit 543128db4a091c6027dba3ca52f122779ca29241
Author: Istvan Toth <st...@stoty.hu>
AuthorDate: Mon Mar 28 20:46:16 2022 +0200
HBASE-26896 list_quota_snapshots fails with ‘ERROR NameError: uninitialized constant Shell::Commands::ListQuotaSnapshots::TABLE’ (#4284)
Signed-off-by: Wellington Chevreuil <wc...@apache.org>
Signed-off-by: Pankaj Kumar <pa...@apache.org>
---
hbase-shell/src/main/ruby/shell/commands/list_quota_snapshots.rb | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
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 5cb01a9..08a9667 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 @@ EOF
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|