HBASE-26896 list_quota_snapshots fails with ‘ERROR NameError: uninitialized constant Shell::Commands::ListQuotaSnapshots::TABLE’ (#4284)
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org> Signed-off-by: Pankaj Kumar <pankajkumar@apache.org>
This commit is contained in:
parent
a4db023bc5
commit
19da537a7b
|
@ -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|
|
||||
|
|
Loading…
Reference in New Issue