[ https://issues.apache.org/jira/browse/HDFS-13216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
mster updated HDFS-13216: ------------------------- Description: if (!isRef && isDir && dir.isWithSnapshot()) { } else if (isRef && isDir && !lastComp) { // we should get the snapshotID of INodeReference in path but we cant enter this branch } was: if (!isRef && isDir && dir.isWithSnapshot()) { //if the path is a non-snapshot path, update the latest snapshot. if (!isSnapshot && shouldUpdateLatestId( dir.getDirectoryWithSnapshotFeature().getLastSnapshotId(), snapshotId)) { snapshotId = dir.getDirectoryWithSnapshotFeature().getLastSnapshotId(); } } else if (isRef && isDir && !lastComp) { // we cant resove INodeReference in path } > HDFS > ---- > > Key: HDFS-13216 > URL: https://issues.apache.org/jira/browse/HDFS-13216 > Project: Hadoop HDFS > Issue Type: Bug > Components: hdfs, snapshots > Affects Versions: 3.0.0 > Reporter: mster > Priority: Major > Labels: INodesInPath > > if (!isRef && isDir && dir.isWithSnapshot()) { > } else if (isRef && isDir && !lastComp) { > // we should get the snapshotID of INodeReference in path but we cant enter > this branch > } -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org