Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 2E5A2200BBB for ; Thu, 10 Nov 2016 20:03:02 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 2D5B1160AF7; Thu, 10 Nov 2016 19:03:02 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 7EFFB160B01 for ; Thu, 10 Nov 2016 20:03:01 +0100 (CET) Received: (qmail 98277 invoked by uid 500); 10 Nov 2016 19:03:00 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 98081 invoked by uid 99); 10 Nov 2016 19:03:00 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Nov 2016 19:03:00 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 1C2E32C4C73 for ; Thu, 10 Nov 2016 19:03:00 +0000 (UTC) Date: Thu, 10 Nov 2016 19:03:00 +0000 (UTC) From: "Mingliang Liu (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-11122) TestDFSAdmin.testReportCommand fails due to timed out MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 10 Nov 2016 19:03:02 -0000 [ https://issues.apache.org/jira/browse/HDFS-11122?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1565= 4836#comment-15654836 ]=20 Mingliang Liu commented on HDFS-11122: -------------------------------------- Triggering block report should help here obviously. +1 {code} 540=09 } catch (IOException ie) { 541=09 assertTrue(ie instanceof ChecksumException); 542=09 } {code} I'd prefer catch the ChecksumException directly and name it ignored. This i= s minor coding style preference difference though. The waitFor is now using 3000 interval, which is too long? 3000 (3 seconds)= seems unnecessary if we can return fast. How about 500/1000? > TestDFSAdmin.testReportCommand fails due to timed out > ----------------------------------------------------- > > Key: HDFS-11122 > URL: https://issues.apache.org/jira/browse/HDFS-11122 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: test > Reporter: Yiqun Lin > Assignee: Yiqun Lin > Priority: Minor > Attachments: HDFS-11122.001.patch, HDFS-11122.002.patch, HDFS-111= 22.003.patch > > > After HDFS-11083, the test {{TestDFSAdmi}} fails sometimes dueto timed ou= t. The stack infos(https://builds.apache.org/job/PreCommit-HDFS-Build/17484= /testReport/)=EF=BC=9A > {code} > java.lang.Exception: test timed out after 30000 milliseconds > =09at java.lang.Thread.sleep(Native Method) > =09at org.apache.hadoop.test.GenericTestUtils.waitFor(GenericTestUtils.ja= va:268) > =09at org.apache.hadoop.hdfs.tools.TestDFSAdmin.testReportCommand(TestDFS= Admin.java:540) > {code} > The timed out is happened in {{GenericTestUtils.waitFor}}. We can make a = improvement in the logic of waiting the corrupt blocks. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org