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

Sanjay Radia commented on HDFS-3960:
------------------------------------

I assumed that it was an optional parameter. 
In append-2 we avoided the extra call to the NN to reduce NN load and reduce 
the latency (see the append-2 design doc). BTW in append-2 the new readers 
always see the hflushed data correctly - the new reader determine the length of 
a file being written by contacting the DN.
                
> Snapshot of Being Written Files
> -------------------------------
>
>                 Key: HDFS-3960
>                 URL: https://issues.apache.org/jira/browse/HDFS-3960
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Tsz Wo (Nicholas), SZE
>
> Here is a design question: Suppose there is a being written file when a 
> snapshot is being taken.  What should the length of the file be shown in the 
> snapshot?  In other words, how to determine the length of being written file 
> when a snapshot is being taken?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to