hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (JIRA)" <j...@apache.org>
Subject [jira] Created: (HDFS-1062) Improve error messages for failed completeFile
Date Tue, 23 Mar 2010 06:28:27 GMT
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

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.
You can reply to this email to add a comment to the issue online.

View raw message