[
https://issues.apache.org/jira/browse/ACCUMULO-1933?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13863645#comment-13863645
]
ASF subversion and git services commented on ACCUMULO-1933:
-----------------------------------------------------------
Commit f43ba3bb77f3cdcff365348252f9504be9dc3a60 in branch refs/heads/master
from [~ted.m]
[ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=f43ba3b ]
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)