[
https://issues.apache.org/jira/browse/MAPREDUCE-6774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15486603#comment-15486603
]
Kai Zheng commented on MAPREDUCE-6774:
--------------------------------------
So given above, the following can then be:
{code}
+ if (storagePolicy != null) {
+ if (!isStoragePolicyValid(storagePolicy, fs)) {
+ return -1;
+ }
{code}
=>
{code}
+ if (storagePolicy != null) {
+ checkStoragePolicy(storagePolicy, fs);
+ }
{code}
> Add support for HDFS erasure code policy to TestDFSIO
> -----------------------------------------------------
>
> Key: MAPREDUCE-6774
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-6774
> Project: Hadoop Map/Reduce
> Issue Type: New Feature
> Reporter: SammiChen
> Assignee: SammiChen
> Attachments: MAPREDUCE-6774-v1.patch, MAPREDUCE-6774-v2.patch,
> MAPREDUCE-6774-v3.patch
>
>
> HDFS erasure code policy allows user to store directory and file to
> predefined erasure code policies. Currently only 3x replication is supported
> in TestDFSIO implementation. This is going to add an new option to enable
> tests of files with erasure code policy enabled.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]