[ 
https://issues.apache.org/jira/browse/HDFS-4538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Colin Patrick McCabe updated HDFS-4538:
---------------------------------------

    Attachment: HDFS-4538.003.patch

* Enable both regular and legacy short-circuit local reads, and verify that 
legacy takes priority.  We do this by removing the socket path, which would 
cause the regular SCR path to fail (when combined with 
{{DFSInputStream.tcpReadsDisabledForTesting}}).

* DomainSocketFactory: don't create domain sockets for SCR if the legacy block 
reader is enabled.

* BlockReaderFactory: don't create a new-style BlockReaderLocal when 
BlockReaderLocalLegacy is enabled.

* don't log warnings about SCR being disabled due to a bad socket path, if it 
is in fact enabled due to the legacy SCR being turned on.
                
> allow use of legacy blockreader
> -------------------------------
>
>                 Key: HDFS-4538
>                 URL: https://issues.apache.org/jira/browse/HDFS-4538
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: datanode, hdfs-client, performance
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>         Attachments: HDFS-4538.001.patch, HDFS-4538.002.patch, 
> HDFS-4538.003.patch
>
>
> Some users might want to use the legacy block reader, because it is available 
> on Windows, whereas the secure solution has not yet been implemented there.  
> As described in the mailing list discussion, let's enable this.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to