You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Zhe Zhang (JIRA)" <ji...@apache.org> on 2015/04/17 01:21:00 UTC

[jira] [Commented] (HDFS-8166) DFSStripedOutputStream should not create empty blocks

    [ https://issues.apache.org/jira/browse/HDFS-8166?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14498952#comment-14498952 ] 

Zhe Zhang commented on HDFS-8166:
---------------------------------

Thanks Nicholas for catching this. Looks like a dup to HDFS-8145

> DFSStripedOutputStream should not create empty blocks
> -----------------------------------------------------
>
>                 Key: HDFS-8166
>                 URL: https://issues.apache.org/jira/browse/HDFS-8166
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Tsz Wo Nicholas Sze
>            Assignee: Tsz Wo Nicholas Sze
>
> After running TestDFSStripedOutputStream#TestFileEmpty, blocks with zero byte are created.
> {code}
> 2015-04-16 14:49:06,926 INFO  DataNode.clienttrace (BlockReceiver.java:finalizeBlock(1313)) - src: /127.0.0.1:54408, dest: /127.0.0.1:54391, bytes: 0, op: HDFS_WRITE, cliID: DFSClient_NONMAPREDUCE_-2099612148_1, offset: 0, srvID: e3ad3c46-3d74-4597-a0c9-136611ede616, blockid: BP-937503061-10.11.6.219-1429220944603:blk_-9223372036854775800_1001, duration: 256000
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)