[ 
https://issues.apache.org/jira/browse/HDFS-1062?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jonathan Hsieh resolved HDFS-1062.
----------------------------------

    Resolution: Duplicate

According to Todd, this is already completed by HDFS-1141

> Improve error messages for failed completeFile
> ----------------------------------------------
>
>                 Key: HDFS-1062
>                 URL: https://issues.apache.org/jira/browse/HDFS-1062
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: hdfs client, name-node
>            Reporter: Todd Lipcon
>            Assignee: Jonathan Hsieh
>              Labels: newbie
>
> In practice I often see users confused by the cryptic error message "failed 
> to complete PATH because dir.getFileBlocks() is null and pendingFile is null" 
> (I wonder why!) The most common cause of this seems to be that another user 
> deleted the file (or its containing directory) while the writer was in 
> progress.
> We should at least improve the error message on the NN side. Even better 
> would be to expose the error message through the IOException passed over the 
> RPC boundary to the client.
> Including a message like "(another client may have removed the file or its 
> containing directory)" should do the trick.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to