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 C21B5187BD for ; Thu, 14 Jan 2016 12:23:40 +0000 (UTC) Received: (qmail 23707 invoked by uid 500); 14 Jan 2016 12:23:40 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 23622 invoked by uid 500); 14 Jan 2016 12:23:40 -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 23259 invoked by uid 99); 14 Jan 2016 12:23:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Jan 2016 12:23:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 0810A2C14F7 for ; Thu, 14 Jan 2016 12:23:40 +0000 (UTC) Date: Thu, 14 Jan 2016 12:23:40 +0000 (UTC) From: "Rob Vesse (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HDFS-5328) MiniDFSCluster times out at startup 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-5328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rob Vesse updated HDFS-5328: ---------------------------- Attachment: HDFS-5328.002.patch > MiniDFSCluster times out at startup > ----------------------------------- > > Key: HDFS-5328 > URL: https://issues.apache.org/jira/browse/HDFS-5328 > Project: Hadoop HDFS > Issue Type: Bug > Components: test > Affects Versions: 3.0.0, 2.1.1-beta, 2.7.1 > Reporter: Alejandro Abdelnur > Attachments: HDFS-5328.001.patch, HDFS-5328.002.patch > > > It seems MiniDFSCluster startup got slower lately and we are observing the following intermittent failure on startup in our jenkins boxes: > {code} > java.io.IOException: Timed out waiting for Mini HDFS Cluster to start > at org.apache.hadoop.hdfs.MiniDFSCluster.waitClusterUp(MiniDFSCluster.java:972) > at org.apache.hadoop.hdfs.MiniDFSCluster.initMiniDFSCluster(MiniDFSCluster.java:665) > at org.apache.hadoop.hdfs.MiniDFSCluster.(MiniDFSCluster.java:585) > at org.apache.hadoop.hdfs.MiniDFSCluster.(MiniDFSCluster.java:511) > {code} > By looking at the code the {{waitClusterUp()}} has a hardcoded 10secs timeout (10 1 sec waits). > There are two things we should look at it, make the timeout configurable, and more important, see what has changed to make the startup slower. -- This message was sent by Atlassian JIRA (v6.3.4#6332)