hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Li Bo (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-7855) Separate class Packet from DFSOutputStream
Date Thu, 05 Mar 2015 02:26:38 GMT

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

Li Bo commented on HDFS-7855:
-----------------------------

Thanks for your carefully review. One question is that {{lastPacketInBlock}} is set to false
when creating a DFSPacket object. And it is modified to true when DFSOutputStream wants it
to be the last packet. I think we can keep it as not-final.

> Separate class Packet from DFSOutputStream
> ------------------------------------------
>
>                 Key: HDFS-7855
>                 URL: https://issues.apache.org/jira/browse/HDFS-7855
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Li Bo
>            Assignee: Li Bo
>         Attachments: HDFS-7855-001.patch, HDFS-7855-002.patch, HDFS-7855-003.patch, HDFS-7855-004.patch,
HDFS-7855-005.patch
>
>
> Class Packet is an inner class in DFSOutputStream and also used by DataStreamer. This
sub task separates Packet out of DFSOutputStream to aid the separation in HDFS-7854.



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

Mime
View raw message