[
https://issues.apache.org/jira/browse/HDFS-8420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14547922#comment-14547922
]
Rakesh R commented on HDFS-8420:
--------------------------------
Attached patch to fix the issue. Please review the changes!
Note: Here, I've added new test class {{TestErasureCodingZones2}} because
existing {{TestErasureCodingZones}} doesn't have GROUP_SIZE = NUM_DATA_BLOCKS +
NUM_PARITY_BLOCKS number of datanodes in the cluster. I hope this new test
class would be useful.
> Erasure Coding: ECZoneManager#getECZoneInfo is not resolving the path
> properly if zone dir itself is the snapshottable dir
> --------------------------------------------------------------------------------------------------------------------------
>
> Key: HDFS-8420
> URL: https://issues.apache.org/jira/browse/HDFS-8420
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Reporter: Rakesh R
> Assignee: Rakesh R
> Attachments: HDFS-8320-HDFS-7285-00.patch
>
>
> Presently the resultant zone dir will come with {{.snapshot}} only when the
> zone dir itself is snapshottable dir. It will return the path including the
> snapshot name like, {{/zone/.snapshot/snap1}}. Instead could improve this by
> returning only path {{/zone}}.
> Thanks [~vinayrpet] for the helpful
> [discussion|https://issues.apache.org/jira/browse/HDFS-8266?focusedCommentId=14543821&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14543821]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)