[
https://issues.apache.org/jira/browse/HBASE-21768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16773754#comment-16773754
]
xuqinya edited comment on HBASE-21768 at 2/21/19 7:22 AM:
----------------------------------------------------------
Nihal Jain, yes, I will add a test. But the rubocop check is too strick. I can
not solve it . Can you help out
{code:java}
Style/ConditionalAssignment: Use the return of the conditional for variable
assignment and comparison.
{code}
was (Author: xu qinya):
Nihal Jain , yes, I will add a test. But the rubocop check is too strick. I can
not solve it . Can you help out
{code:java}
Style/ConditionalAssignment: Use the return of the conditional for variable
assignment and comparison.
{code}
> list_quota_table_sizes/list_quota_snapshots should print human readable
> values for size
> ---------------------------------------------------------------------------------------
>
> Key: HBASE-21768
> URL: https://issues.apache.org/jira/browse/HBASE-21768
> Project: HBase
> Issue Type: Improvement
> Components: shell
> Reporter: xuqinya
> Assignee: xuqinya
> Priority: Minor
> Attachments: HBASE-21768.master.0001.patch,
> HBASE-21768.master.0002.patch, HBASE-21768.master.0003.patch,
> HBASE-21768.master.0004.patch
>
>
> +underlined text+Using space quota,
> list_quota_table_sizes/list_quota_snapshots should print human readable
> values for size.Keep the old implementation by default, add *HUMANREADABLE*
> constant.
> {code:java}
> hbase(main):001:0> list_quota_table_sizes
> TABLE SIZE
> TestTable 110399
> t1 5211
> hbase(main):002:0> list_quota_snapshots
> TABLE USAGE LIMIT IN_VIOLATION POLICY
> t1 5211 1073741824 false None
> {code}
> Using HUMANREADABLE :
> {code:java}
> hbase(main):001:0> list_quota_snapshots({HUMANREADABLE=>'true'})
> TABLE USAGE LIMIT IN_VIOLATION POLICY
> TestTable 20G 2T false None
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)