Details
-
Sub-task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.0.0-alpha1
-
None
-
None
Description
As described in HDFS-5194, the current support for short circuit reading is tightly coupled to the default Dataset implementation. Since alternative implementations of the FsDatasetSpi may use a different short circuit pathway, there needs to be a way for the client to acquire the right kind of BlockReader.
Reviewing some considerations:
Today, there is only one dataset per datanode (with multiple volumes). Is that likely to change?
Can there be multiple datanodes local to a client? (definition of "local" might depend on dataset implementation)
Is it okay to assume that the client and datanode share configuration? More broadly, how should the client discover the appropriate short-circuit implementation?
Attachments
Issue Links
- duplicates
-
HDFS-8924 Add pluggable interface for reading replicas in DFSClient
- Resolved