Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BECB6D2F2 for ; Wed, 13 Mar 2013 05:18:14 +0000 (UTC) Received: (qmail 48065 invoked by uid 500); 13 Mar 2013 05:18:14 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 47977 invoked by uid 500); 13 Mar 2013 05:18:13 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 47940 invoked by uid 99); 13 Mar 2013 05:18:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Mar 2013 05:18:13 +0000 Date: Wed, 13 Mar 2013 05:18:13 +0000 (UTC) From: "Suresh Srinivas (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-4595) When short circuit read is disallowed, DFSClient does disable short circuit and fall back to regular reads MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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