You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Ted Malaska (JIRA)" <ji...@apache.org> on 2014/01/02 20:39:51 UTC

[jira] [Updated] (ACCUMULO-1933) Make unit on memory parameters case-insensitive

     [ https://issues.apache.org/jira/browse/ACCUMULO-1933?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Malaska updated ACCUMULO-1933:
----------------------------------

    Attachment: ACCUMULO-1933.patch

The following is in this patch:

1. Added support for both cases for G, M, K and B
2. Added warning message for lower case b and that the code will consider this bytes
3. Added meaningful error message for any number formatting issues
4. Added unit test that test 1 and 3 from above.

> 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.4.5
>            Reporter: Josh Elser
>            Priority: Minor
>              Labels: newbie
>         Attachments: ACCUMULO-1933.patch
>
>
> {{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)