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 CA28911A49 for ; Tue, 8 Jul 2014 03:46:34 +0000 (UTC) Received: (qmail 43987 invoked by uid 500); 8 Jul 2014 03:46:34 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 43923 invoked by uid 500); 8 Jul 2014 03:46:34 -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 43905 invoked by uid 99); 8 Jul 2014 03:46:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jul 2014 03:46:34 +0000 Date: Tue, 8 Jul 2014 03:46:34 +0000 (UTC) From: "Liang Xie (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-6614) shorten TestPread run time with a smaller retry timeout setting 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-6614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14054487#comment-14054487 ] Liang Xie commented on HDFS-6614: --------------------------------- [~cnauroth] you are right, i remade an addendum patch, removed the unnecessary DFSClient stuff. the reordering of Mockito just avoid the risk that closing stream failure, it's not very related with current jira though...:) > shorten TestPread run time with a smaller retry timeout setting > --------------------------------------------------------------- > > Key: HDFS-6614 > URL: https://issues.apache.org/jira/browse/HDFS-6614 > Project: Hadoop HDFS > Issue Type: Test > Components: test > Affects Versions: 3.0.0, 2.5.0 > Reporter: Liang Xie > Assignee: Liang Xie > Priority: Minor > Fix For: 3.0.0, 2.5.0 > > Attachments: HDFS-6614-addmium.txt, HDFS-6614.txt > > > Just notice logs like this from TestPread: > DFS chooseDataNode: got # 3 IOException, will wait for 9909.622860072854 msec > so i tried to set a smaller retry window value. > Before patch: > T E S T S > ------------------------------------------------------- > Running org.apache.hadoop.hdfs.TestPread > Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 154.812 sec - in org.apache.hadoop.hdfs.TestPread > After the change: > T E S T S > ------------------------------------------------------- > Running org.apache.hadoop.hdfs.TestPread > Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 131.724 sec - in org.apache.hadoop.hdfs.TestPread -- This message was sent by Atlassian JIRA (v6.2#6252)