karthikhw commented on a change in pull request #706: HBASE-23140 Remove 
unknown table error
URL: https://github.com/apache/hbase/pull/706#discussion_r332871366
 
 

 ##########
 File path: hbase-shell/src/main/ruby/shell/commands/describe_namespace.rb
 ##########
 @@ -33,14 +33,16 @@ def command(namespace)
 
         formatter.header(['DESCRIPTION'], [64])
         formatter.row([desc], true, [64])
-
-        puts
-        formatter.header(%w[QUOTAS])
         ns = namespace.to_s
-        count = quotas_admin.list_quotas(NAMESPACE => ns) do |_, quota|
-          formatter.row([quota])
+        if admin.exists?(::HBaseQuotasConstants::QUOTA_TABLE_NAME.to_s)
 
 Review comment:
   @openinx  This is my commit message "HBASE-23095 fixing ruby checkstyle" but 
it should be "HBASE-23140 fixing ruby checkstyle".  The mistake in the commit 
message for JIRA Id.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to