[
https://issues.apache.org/jira/browse/HDFS-6499?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aaron T. Myers updated HDFS-6499:
---------------------------------
Resolution: Fixed
Fix Version/s: 2.5.0
Hadoop Flags: Reviewed
Status: Resolved (was: Patch Available)
I've just committed this to trunk and branch-2.
Thanks a lot for the contribution, Yongjun.
> 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)