You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Yongjun Zhang (JIRA)" <ji...@apache.org> on 2014/06/14 04:29:01 UTC

[jira] [Created] (HDFS-6531) Create a native api to delete file, like the renameTo method in NativeIO, for better error reporting

Yongjun Zhang created HDFS-6531:
-----------------------------------

             Summary: Create a native api to delete file, like the renameTo method in NativeIO, for better error reporting
                 Key: HDFS-6531
                 URL: https://issues.apache.org/jira/browse/HDFS-6531
             Project: Hadoop HDFS
          Issue Type: Bug
    Affects Versions: 2.4.0
            Reporter: Yongjun Zhang
            Assignee: Yongjun Zhang


File.delete() returns boolean to indicate success or failure. 

As a follow-up of HDFS-6499, filing this jira to provide a native API to delete file, like the renameTo method in NativeIO. So caller can tell better what's the reason of failure.

And fix FileJournalManager etc places for better error reporting.

Thanks [~atm] for reviewing the fix of HDFS-6499 and pointing out this issue.




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