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

ASF subversion and git services commented on ASTERIXDB-1569:
------------------------------------------------------------

Commit bddc811068f42795c3b07c20cf027270bdd83762 in asterixdb's branch 
refs/heads/master from [~wangsaeu]
[ https://git-wip-us.apache.org/repos/asf?p=asterixdb.git;h=bddc811 ]

ASTERIXDB-1569: the config file now supports unit, comma, and decimal.

 - This patch fixes an issue that the config file only supports byte
   value for the byte required parameters. Now, we can use unit (KB, MB, GB 
...),
   comma, and decimal.

Change-Id: I763d1b06e93f75775c0294da0d609c2bf3e102c9
Reviewed-on: https://asterix-gerrit.ics.uci.edu/1064
Reviewed-by: Yingyi Bu <buyin...@gmail.com>
Reviewed-by: Till Westmann <ti...@apache.org>
Tested-by: Jenkins <jenk...@fulliautomatix.ics.uci.edu>
Integration-Tests: Jenkins <jenk...@fulliautomatix.ics.uci.edu>


> The configuration file should support byte units (KB, MB, GB ...).
> ------------------------------------------------------------------
>
>                 Key: ASTERIXDB-1569
>                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1569
>             Project: Apache AsterixDB
>          Issue Type: Improvement
>            Reporter: Taewoo Kim
>            Assignee: Taewoo Kim
>
> In the asterix-configuration.xml file, we set bytes for some settings (e.g., 
> compiler.sortmemory). It would be more convenient if a user can specify byte 
> units in the number like the following:
> compiler.sortmemory = 5242880
> compiler.sortmemory = 5,242,880
> compiler.sortmemory = 5120kb
> compiler.sortmemory = 5120KB
> compiler.sortmemory = 5,120KB
> compiler.sortmemory = 5MB
> compiler.sortmemory = 5mb
> compiler.sortmemory = 0.5GB



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to