[
https://issues.apache.org/jira/browse/HDFS-3394?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tsz Wo (Nicholas), SZE updated HDFS-3394:
-----------------------------------------
Resolution: Fixed
Fix Version/s: 2.0.1
Hadoop Flags: Reviewed
Status: Resolved (was: Patch Available)
Thanks Uma for the review.
I have committed this.
> Do not use generic in INodeFile.getLastBlock()
> ----------------------------------------------
>
> Key: HDFS-3394
> URL: https://issues.apache.org/jira/browse/HDFS-3394
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: name-node
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
> Priority: Minor
> Fix For: 2.0.1
>
> Attachments: h3394_20120510.patch
>
>
> As shown in HDFS-3385, the ClassCastException check in
> INodeFile.getLastBlock() is useless since generic type information is only
> available in compile-time but not run-time.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira