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

Yongjun Zhang commented on HDFS-6499:
-------------------------------------

Many thanks ATM! I just filed HDFS-6531 as a follow-up,


> 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