Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 74124 invoked from network); 30 Nov 2008 05:38:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Nov 2008 05:38:36 -0000 Received: (qmail 7765 invoked by uid 500); 30 Nov 2008 05:38:46 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 7730 invoked by uid 500); 30 Nov 2008 05:38:46 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 7717 invoked by uid 99); 30 Nov 2008 05:38:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Nov 2008 21:38:46 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Nov 2008 05:37:27 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 42ADB234C2A2 for ; Sat, 29 Nov 2008 21:37:44 -0800 (PST) Message-ID: <1843517726.1228023464271.JavaMail.jira@brutus> Date: Sat, 29 Nov 2008 21:37:44 -0800 (PST) From: "Chris Douglas (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-4732) connectionTimeout and readTimeout are passed in wrong order in ReduceTask.java In-Reply-To: <624968479.1227697964252.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-4732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Douglas updated HADOOP-4732: ---------------------------------- Resolution: Fixed Hadoop Flags: [Reviewed] Status: Resolved (was: Patch Available) +1 Good catch. I just committed this. Thanks, Amareshwari > connectionTimeout and readTimeout are passed in wrong order in ReduceTask.java > ------------------------------------------------------------------------------- > > Key: HADOOP-4732 > URL: https://issues.apache.org/jira/browse/HADOOP-4732 > Project: Hadoop Core > Issue Type: Bug > Components: mapred > Reporter: Amareshwari Sriramadasu > Assignee: Amareshwari Sriramadasu > Priority: Minor > Fix For: 0.20.0 > > Attachments: patch-4732.txt > > > In ReduceTask.java, The parameters for method calls for getInputStream(URLConnection connection, int connectionTimeout, int readTimeout) should be in that order. Now it is > {code} > InputStream input = getInputStream(connection, DEFAULT_READ_TIMEOUT, > STALLED_COPY_TIMEOUT); > {code} > It works now because both DEFAULT_READ_TIMEOUT and STALLED_COPY_TIMEOUT have the same value. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.