[
https://issues.apache.org/jira/browse/HDFS-2919?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13205042#comment-13205042
]
Tsz Wo (Nicholas), SZE commented on HDFS-2919:
----------------------------------------------
Below the dependencies:
- DirectoryScanner requires
-* FSDatasetInterface.getVolumes();
-* FSDatasetInterface.getFinalizedBlocks(String bpid);
-* FSDatasetInterface.getBlockPoolList();
-* FSDatasetInterface.checkAndUpdate(..);
-* FSVolumeInterface.getBlockPoolList()
-* FSVolumeInterface.getFinalizedDir(String bpid)
- DataBlockScanner requires
-* FSDatasetInterface.getVolumes();
-* FSDatasetInterface.getFinalizedBlocks(String bpid);
-* FSDatasetInterface.contains(ExtendedBlock block);
-* FSVolumeInterface.getDirectory(String bpid)
> Add method(s) to FSDatasetInterface for checking if the scanners are supported
> ------------------------------------------------------------------------------
>
> Key: HDFS-2919
> URL: https://issues.apache.org/jira/browse/HDFS-2919
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: data-node
> Reporter: Tsz Wo (Nicholas), SZE
> Assignee: Tsz Wo (Nicholas), SZE
>
> DataNode currently checks the class of DataNode.data to determine whether it
> supports DirectoryScanner and/or DataBlockScanner. It is better to have some
> method(s) in FSDatasetInterface to reveal this information.
--
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