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

Konstantin Shvachko commented on HDFS-562:
------------------------------------------

+1. One thing though. It is better not to reuse NameNode.LOG for logging in the 
test. The test should have its own log.

> Add a test for NameNode.getBlockLocations(..) to check read from un-closed 
> file.
> --------------------------------------------------------------------------------
>
>                 Key: HDFS-562
>                 URL: https://issues.apache.org/jira/browse/HDFS-562
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: Append Branch
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Tsz Wo (Nicholas), SZE
>            Priority: Minor
>             Fix For: Append Branch
>
>         Attachments: h562_20090821.patch, h562_20090821b.patch
>
>
> NameNode.getBlockLocations(..) should return BlockInfoUnderConstruction, 
> which was introduced by HDFS-517.

-- 
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