hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harsh J (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-7478) 0-byte files retained in the dfs while the FSshell -put is unsuccessful
Date Mon, 02 Jan 2012 06:23:30 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-7478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13178298#comment-13178298

Harsh J commented on HADOOP-7478:

Exec'ing {{fs -put}} should return back a proper code in trunk, I think, given Daryn's work
on the whole revamp.

I'd argue that this behavior is OK, since it indicates that the file's inode was successfully
created, but none of the writing of bytes passed.
> 0-byte files retained in the dfs while the FSshell -put is unsuccessful
> -----------------------------------------------------------------------
>                 Key: HADOOP-7478
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7478
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 0.23.0
>            Reporter: XieXianshan
>            Assignee: XieXianshan
>            Priority: Trivial
>         Attachments: HADOOP-7478.patch
> The process of putting file into dfs is approximately as follows:
> 1) create a file in the dfs
> 2) copy from one stream to the file
> But the problem is that the file is still retained in the dfs when the process 2) is
terminated abnormally with unexpected exceptions,such as there is no DataNode alive.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message