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-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-dev-h...@hadoop.apache.org

Reply via email to