[ https://issues.apache.org/jira/browse/HDFS-8266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14547630#comment-14547630 ]
Vinayakumar B commented on HDFS-8266: ------------------------------------- I see in your tests you are trying to get the zone info for the snapshot path, NOT the original path. {{snap1Zone}} below will result as {{/zone/.snapshot/snap1}}. {code} final Path snap1Zone = new Path(snap1, zone.getName()); assertEquals("Got unexpected erasure zone path", zone.toString(), fs .getErasureCodingZoneInfo(snap1Zone).getDir().toString());{code} It would be wrong to return original path zone information for the snapshot path. Agree? > Erasure Coding: Test of snapshot/.trash with EC files > ----------------------------------------------------- > > Key: HDFS-8266 > URL: https://issues.apache.org/jira/browse/HDFS-8266 > Project: Hadoop HDFS > Issue Type: Test > Affects Versions: HDFS-7285 > Reporter: GAO Rui > Attachments: HDFS-8266-HDFS-7285-00.patch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)