[ https://issues.apache.org/jira/browse/HDFS-10779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15531185#comment-15531185 ]
Hudson commented on HDFS-10779: ------------------------------- SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #10509 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/10509/]) HDFS-10779. Rename does not need to re-solve destination. Contributed by (kihwal: rev 5f34402adae191232fe78e62990396ca07f314bb) * (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java * (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSDirRenameOp.java * (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSDirectory.java > Rename does not need to re-solve destination > -------------------------------------------- > > Key: HDFS-10779 > URL: https://issues.apache.org/jira/browse/HDFS-10779 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: hdfs > Reporter: Daryn Sharp > Assignee: Daryn Sharp > Fix For: 2.8.0, 3.0.0-alpha2 > > Attachments: HDFS-10779.patch > > > Rename uses {{FSDirectory.isDir(String)}} to determine if the destination is > a directory. This dissect the path, creates an IIP, checks if the last inode > is a directory. The rename operations already have the IIP and can check it > directly. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org