[
https://issues.apache.org/jira/browse/HDFS-4839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13663159#comment-13663159
]
Chris Nauroth commented on HDFS-4839:
-------------------------------------
Recent patches for native integration (i.e. Colin's native rename in HDFS-4428
and Ivan's file permission work in HADOOP-9413) have done a great job of
encapsulating the JNI call, and fallback when native library is not loaded,
behind a single Java method. Doing this sets us up for a very easy transition
to the new Java 7 file APIs whenever we migrate. At that point, we can delete
our own native code paths. Hopefully, this will bring the maintenance concerns
under control in the long run.
> add NativeIO#mkdirs, that provides an error message on failure
> --------------------------------------------------------------
>
> Key: HDFS-4839
> URL: https://issues.apache.org/jira/browse/HDFS-4839
> Project: Hadoop HDFS
> Issue Type: Improvement
> Affects Versions: 2.0.5-beta
> Reporter: Colin Patrick McCabe
> Priority: Minor
>
> It would be nice to have a variant of mkdirs that provided an error message
> explaining why it failed. This would make it easier to debug certain failing
> unit tests that rely on mkdir / mkdirs-- the ChecksumFilesystem tests, for
> example.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira