[
https://issues.apache.org/jira/browse/HDFS-9527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15049249#comment-15049249
]
Jing Zhao commented on HDFS-9527:
---------------------------------
Looks like the failure of TestClientProtocolForPipelineRecovery is caused by
the exception message change in {{checkUCBlock}}. Other than this the patch
looks pretty good to me. +1 after fixing the unit test.
> The return type of FSNamesystem.getBlockCollection should be changed to
> INodeFile
> ---------------------------------------------------------------------------------
>
> Key: HDFS-9527
> URL: https://issues.apache.org/jira/browse/HDFS-9527
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: namenode
> Reporter: Tsz Wo Nicholas Sze
> Assignee: Tsz Wo Nicholas Sze
> Priority: Minor
> Attachments: h9527_20151208.patch
>
>
> FSNamesystem.getBlockCollection always returns INodeFile. It avoids
> unnecessary conversion from BlockCollection to INode/INodeFile after the
> change.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)