[
https://issues.apache.org/jira/browse/HDFS-4595?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13600835#comment-13600835
]
Suresh Srinivas commented on HDFS-4595:
---------------------------------------
javac warnings are related to deprecation:
{noformat}
438a439,442
> [WARNING]
> /home/jenkins/jenkins-slave/workspace/PreCommit-HDFS-Build/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestShortCircuitLocalRead.java:[103,17]
> [deprecation] getClient() in org.apache.hadoop.hdfs.DistributedFileSystem
> has been deprecated
> [WARNING]
> /home/jenkins/jenkins-slave/workspace/PreCommit-HDFS-Build/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestShortCircuitLocalRead.java:[132,20]
> [deprecation] getClient() in org.apache.hadoop.hdfs.DistributedFileSystem
> has been deprecated
> [WARNING]
> /home/jenkins/jenkins-slave/workspace/PreCommit-HDFS-Build/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestShortCircuitLocalRead.java:[152,17]
> [deprecation] getClient() in org.apache.hadoop.hdfs.DistributedFileSystem
> has been deprecated
> [WARNING]
> /home/jenkins/jenkins-slave/workspace/PreCommit-HDFS-Build/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestShortCircuitLocalRead.java:[185,20]
> [deprecation] getClient() in org.apache.hadoop.hdfs.DistributedFileSystem
> has been deprecated
{noformat}
I am going to remove deprecation and mark it as @VisibleForTesting
> When short circuit read is disallowed, DFSClient does disable short circuit
> and fall back to regular reads
> ----------------------------------------------------------------------------------------------------------
>
> Key: HDFS-4595
> URL: https://issues.apache.org/jira/browse/HDFS-4595
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs-client
> Affects Versions: 2.0.0-alpha
> Reporter: Suresh Srinivas
> Assignee: Suresh Srinivas
> Attachments: HDFS-4595.patch, HDFS-4595.patch, HDFS-4595.patch
>
>
> In 1.0, when short circuit is disallowed for a user, the DFSClient disables
> short circuit and falls back to the regular socket based reads over
> DataTransferProtocol. In release 2.0, this fallback functionality is not
> working.
--
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