[
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()) {
//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
> Affects Versions: 3.0.0
> Reporter: mster
> Priority: Major
> Labels: INodesInPath
>
> 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
> }
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]