[jira] [Resolved] (HDFS-13216) HDFS

2018-03-01 Thread mster (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-13216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

mster resolved HDFS-13216.
--
Resolution: Fixed

> HDFS
> 
>
> Key: HDFS-13216
> URL: https://issues.apache.org/jira/browse/HDFS-13216
> Project: Hadoop HDFS
>  Issue Type: Task
>Reporter: mster
>Priority: Trivial
>  Labels: INodesInPath
>




--
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



[jira] [Updated] (HDFS-13216) HDFS

2018-03-01 Thread mster (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-13216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

mster updated HDFS-13216:
-
  Priority: Trivial  (was: Major)
Issue Type: Task  (was: Bug)

> HDFS
> 
>
> Key: HDFS-13216
> URL: https://issues.apache.org/jira/browse/HDFS-13216
> Project: Hadoop HDFS
>  Issue Type: Task
>Reporter: mster
>Priority: Trivial
>  Labels: INodesInPath
>




--
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



[jira] [Updated] (HDFS-13216) HDFS

2018-03-01 Thread mster (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-13216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

mster updated HDFS-13216:
-
Affects Version/s: (was: 3.0.0)
  Description: (was: 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

 })
  Component/s: (was: snapshots)
   (was: hdfs)

> HDFS
> 
>
> Key: HDFS-13216
> URL: https://issues.apache.org/jira/browse/HDFS-13216
> Project: Hadoop HDFS
>  Issue Type: Bug
>Reporter: mster
>Priority: Major
>  Labels: INodesInPath
>




--
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



[jira] [Updated] (HDFS-13216) HDFS

2018-03-01 Thread mster (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-13216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

mster updated HDFS-13216:
-
Component/s: snapshots

> 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



[jira] [Updated] (HDFS-13216) HDFS

2018-03-01 Thread mster (JIRA)

 [ 
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



[jira] [Updated] (HDFS-13216) HDFS

2018-03-01 Thread mster (JIRA)

 [ 
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: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org



[jira] [Updated] (HDFS-13216) HDFS

2018-03-01 Thread mster (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-13216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

mster updated HDFS-13216:
-
Labels: INodesInPath  (was: )

> 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
>




--
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



[jira] [Updated] (HDFS-13216) HDFS

2018-03-01 Thread mster (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-13216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

mster updated HDFS-13216:
-
Affects Version/s: 3.0.0

> 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
>




--
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



[jira] [Updated] (HDFS-13216) HDFS

2018-03-01 Thread mster (JIRA)

 [ 
https://issues.apache.org/jira/browse/HDFS-13216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

mster updated HDFS-13216:
-
Component/s: hdfs

> 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
>




--
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



[jira] [Created] (HDFS-13216) HDFS

2018-03-01 Thread mster (JIRA)
mster created HDFS-13216:


 Summary: HDFS
 Key: HDFS-13216
 URL: https://issues.apache.org/jira/browse/HDFS-13216
 Project: Hadoop HDFS
  Issue Type: Bug
Reporter: mster






--
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