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