accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-1933) Make unit on memory parameters case-insensitive
Date Mon, 06 Jan 2014 23:34:51 GMT

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

ASF subversion and git services commented on ACCUMULO-1933:
-----------------------------------------------------------

Commit 65d5fba87830191844d3812d0ce3ca0a415be6e2 in branch refs/heads/1.4.5-SNAPSHOT from [~ted.m]
[ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=65d5fba ]

ACCUMULO-1933 Make unit on memory parameters case-insensitive.

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.

 modified:   src/core/src/main/java/org/apache/accumulo/core/conf/AccumuloConfiguration.java

 new file:   src/core/src/test/java/org/apache/accumulo/core/conf/AccumuloConfigurationTest.java


> 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.4, 1.5.0
>            Reporter: Josh Elser
>            Assignee: Ted Malaska
>            Priority: Minor
>              Labels: newbie
>             Fix For: 1.4.5, 1.5.1, 1.6.0
>
>         Attachments: ACCUMULO-1933.1.patch, ACCUMULO-1933.2.patch, 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)

Mime
View raw message