accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Busbey (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-1933) Make unit on memory parameters case-insensitive
Date Thu, 02 Jan 2014 18:18:16 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-1933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13860488#comment-13860488
] 

Sean Busbey commented on ACCUMULO-1933:
---------------------------------------

I think memory is something that's dealt with in a non-SI way on a sufficient number of other
systems that we should match the behavior of the other configurable components.

Nothing else I know of includes a unit marker for bytes themselves, so I'm less concerned
about matching. However, it is going to be confusing to many users for "b" to give them 1/8
the number they include, esp. if all the other units are insensitive. I don't think there's
a sufficient use case for specifying memory amounts in bits, so I'd prefer to just treat both
b and B as bytes.

> Make unit on memory parameters case-insensitive
> -----------------------------------------------
>
>                 Key: ACCUMULO-1933
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1933
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: shell
>    Affects Versions: 1.5.0
>            Reporter: Josh Elser
>            Priority: Minor
>              Labels: newbie
>
> {{config -t my_table -s table.split.threshold=2g}} fails with a non-intuitive error.
> {{config -t my_table -s table.split.threshold=2G}} succeeds
> It would be nice for both to work.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message