[ 
https://issues.apache.org/jira/browse/HDFS-8305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14530875#comment-14530875
 ] 

Hudson commented on HDFS-8305:
------------------------------

FAILURE: Integrated in Hadoop-Mapreduce-trunk #2135 (See 
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2135/])
HDFS-8305: HDFS INotify: the destination field of RenameOp should always end 
with the file name (cmccabe) (cmccabe: rev 
fcd4cb751665adb241081e42b3403c3856b6c6fe)
* 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSDirRenameOp.java
* 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSEditLog.java
* hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* 
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDFSInotifyEventInputStream.java


> HDFS INotify: the destination field of RenameOp should always end with the 
> file name
> ------------------------------------------------------------------------------------
>
>                 Key: HDFS-8305
>                 URL: https://issues.apache.org/jira/browse/HDFS-8305
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 2.6.0
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>             Fix For: 2.7.1
>
>         Attachments: HDFS-8305.001.patch, HDFS-8305.002.patch
>
>
> HDFS INotify: the destination field of RenameOp should always end with the 
> file name rather than sometimes being a directory name.  Previously, in some 
> cases when using the old rename, this was not the case.  The format of 
> OP_EDIT_LOG_RENAME_OLD allows moving /f to /d/f to be represented as 
> RENAME(src=/f, dst=/d) or RENAME(src=/f, dst=/d/f). This change makes HDFS 
> always use the latter form. This, in turn, ensures that inotify will always 
> be able to consider the dst field as the full destination file name. This is 
> a compatible change since we aren't removing the ability to handle the first 
> form during edit log replay... we just no longer generate it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to