hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Hsieh (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HDFS-1062) Improve error messages for failed completeFile
Date Wed, 11 May 2011 19:03:47 GMT

     [ 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

Mime
View raw message