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

Hudson commented on HDFS-6499:
------------------------------

SUCCESS: Integrated in Hadoop-Yarn-trunk #583 (See 
[https://builds.apache.org/job/Hadoop-Yarn-trunk/583/])
HDFS-6499. Use NativeIO#renameTo instead of File#renameTo in 
FileJournalManager. Contributed by Yongjun Zhang. (atm: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1602542)
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FileJournalManager.java


> Use NativeIO#renameTo instead of File#renameTo in FileJournalManager
> --------------------------------------------------------------------
>
>                 Key: HDFS-6499
>                 URL: https://issues.apache.org/jira/browse/HDFS-6499
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: namenode
>    Affects Versions: 2.4.0
>            Reporter: Yongjun Zhang
>            Assignee: Yongjun Zhang
>             Fix For: 2.5.0
>
>         Attachments: HDFS-6499.001.patch, HDFS-6499.002.patch
>
>
> java.io.File's method renameTo()  returns boolean (true for success and false 
> for failure). If any call to this method failed, the caller can't tell why it 
> failed.
> Filing this jira to address this issue in FileJournalManager by using hadoop 
> nativeio alternative.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to