[
https://issues.apache.org/jira/browse/HDFS-14484?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
xudongcao updated HDFS-14484:
-----------------------------
Summary: Ozone: Freon: Support big files larger than 2GB and introduce
"--bufferSize" and "--validateWrites" options. (was: Ozone: Freon: Support big
files larger than 2GB and introduce a "--bufferSize" parameter.)
> Ozone: Freon: Support big files larger than 2GB and introduce "--bufferSize"
> and "--validateWrites" options.
> ------------------------------------------------------------------------------------------------------------
>
> Key: HDFS-14484
> URL: https://issues.apache.org/jira/browse/HDFS-14484
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: benchmarks
> Reporter: xudongcao
> Assignee: xudongcao
> Priority: Major
>
> *Current problems:*
> 1. Freon does not support big files larger than 2GB because it use an int
> type "keySize" parameter and also "keyValue" buffer size.
> 2. Freon allocates a entire buffer for each key at once, so if the key size
> is large and the concurrency is high, freon will report OOM exception
> frequently.
> *Some solutions:*
> 1. Use a long type "keySize" parameter, make sure freon can support big
> files larger than 2GB.
> 2. Use a small buffer repeatedly than allocating the entire key-size buffer
> at once, the default buffer size is 4K and can be configured by "–bufferSize"
> parameter.
> 3. Remove the process of appending an uuid to each key, which is of little
> significance and complicates the code, especially when writting with a small
> buffer repeatedly.
>
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]