You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2016/10/18 11:23:59 UTC

[jira] [Created] (HADOOP-13729) switch to Configuration.getLongBytes for byte options

Steve Loughran created HADOOP-13729:
---------------------------------------

             Summary: switch to Configuration.getLongBytes for byte options
                 Key: HADOOP-13729
                 URL: https://issues.apache.org/jira/browse/HADOOP-13729
             Project: Hadoop Common
          Issue Type: Sub-task
          Components: fs/s3
    Affects Versions: 2.8.0
            Reporter: Steve Loughran
            Assignee: Steve Loughran


It's fiddly working out how many bytes to use for 128MB readahead, equally hard to work out what a value actually means.

If we switch to {{Configuration.getLongBytes()}} for reading in readahead, partition and threshold values, all existing configs will work, but new configs can use K, M, G suffices.

Easy to code; should add a new test/adapt existing ones.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org