[ https://issues.apache.org/jira/browse/HDFS-8924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14704147#comment-14704147 ]
Lei (Eddy) Xu commented on HDFS-8924: ------------------------------------- This patch is mostly proposing an interface, it looks good to me. Only a few minor comments: * Could you remove the change in {{ClientContext.java}}? * Would {{ReplicaAccessor}}, {{ReplicaAccessorBuilder}} to be {{interface}}? +1 after these being addressed. > Add pluggable interface for reading replicas in DFSClient > --------------------------------------------------------- > > Key: HDFS-8924 > URL: https://issues.apache.org/jira/browse/HDFS-8924 > Project: Hadoop HDFS > Issue Type: Improvement > Components: hdfs-client > Affects Versions: 2.8.0 > Reporter: Colin Patrick McCabe > Assignee: Colin Patrick McCabe > Attachments: HDFS-8924.001.patch > > > We should add a pluggable interface for reading replicas in the DFSClient. > This could be used to implement short-circuit reads on systems without file > descriptors, or for other optimizations. -- This message was sent by Atlassian JIRA (v6.3.4#6332)