-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HBASE-25300 'Unknown table hbase:quota' happens when desc table in sh… #2673
Conversation
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shall we print Quota is disabled
when quota table don't exist (same way describe_namespace).
@@ -44,7 +44,8 @@ def command(table) | |||
puts | |||
end | |||
formatter.footer | |||
if table.to_s != 'hbase:meta' | |||
if admin.exists?(::HBaseQuotasConstants::QUOTA_TABLE_NAME.to_s) \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shall we print Quota is disabled
when quota table don't exist (same way describe_namespace).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, let me fix it as you said.
…ell if quota disabled
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
…ell if quota disabled (#2673) Signed-off-by: Guanghao Zhang <zghao@apache.org> Signed-off-by: Pankaj Kumar<pankajkumar@apache.org>
…ell if quota disabled (#2673) Signed-off-by: Guanghao Zhang <zghao@apache.org> Signed-off-by: Pankaj Kumar<pankajkumar@apache.org>
…ell if quota disabled (#2673) Signed-off-by: Guanghao Zhang <zghao@apache.org> Signed-off-by: Pankaj Kumar<pankajkumar@apache.org>
…ell if quota disabled (apache#2673) Signed-off-by: Guanghao Zhang <zghao@apache.org> Signed-off-by: Pankaj Kumar<pankajkumar@apache.org>
…ell if quota disabled (apache#2673) Signed-off-by: Guanghao Zhang <zghao@apache.org> Signed-off-by: Pankaj Kumar<pankajkumar@apache.org> (cherry picked from commit 3516cc3) Change-Id: I198938292c343dc6de3d1bc073928934f3afaade
…ell if quota disabled