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

 ##########
 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:
   The patch looks good to me now..
   > I made a mistake in commit message, Should I need to change or it can be 
taken care during squash?
   
   You mean which mistake ?   I think I can fix it ( if necessary) during 
squash..

----------------------------------------------------------------
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