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

dhruba borthakur commented on HADOOP-3241:
------------------------------------------

If my memory serves me right, the "append" design says that if a Reader 
retrieves a list of blocks from the namenode and the inode is marked 
"underConstruction", then the Reader can do something more intelligent then 
returning failure when the application tries to read from beyond the last known 
file size. This is more of an optimization and is not really required.


> DFSFileInfo should also have field to say if the file is underconstrction
> -------------------------------------------------------------------------
>
>                 Key: HADOOP-3241
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3241
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs
>    Affects Versions: 0.18.0
>            Reporter: lohit vijayarenu
>         Attachments: HADOOP-3241-1.patch, HADOOP-3241-2.patch
>
>
> It would be good to have a flag which says if the DFSFileInfo object 
> corresponds to a file under construction or not.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to