[
https://issues.apache.org/jira/browse/HDFS-3021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13220243#comment-13220243
]
Suresh Srinivas commented on HDFS-3021:
---------------------------------------
Comments (some unrelated to the changes made by the patch):
# Can you please remove FSDatasetInterface.java BlockWriteStreams#close()
throwing unnecessary IOException
# Remove TimeoutException thrown from
TestDatanodeVolumeFailureToleration#testVolumeConfig
# FSDataset.java - Remove unnecessary cast
(BlockVolumeChoosingPolicy<FSVolume>)ReflectionUtils
# DatanodeTestUtils - use dn.getFSDataset() instead of directly using dn.data
> Use generic type to declare FSDatasetInterface
> ----------------------------------------------
>
> Key: HDFS-3021
> URL: https://issues.apache.org/jira/browse/HDFS-3021
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: data-node
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
> Attachments: h3021_20120227.patch, h3021_20120228.patch
>
>
> Currently we have to cast FSVolumeInterface to FSVolume in FSDataset. Using
> generic type could avoid it.
--
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