Return-Path: X-Original-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-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 6691D7EA7 for ; Fri, 19 Aug 2011 17:28:50 +0000 (UTC) Received: (qmail 70153 invoked by uid 500); 19 Aug 2011 17:28:50 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 70100 invoked by uid 500); 19 Aug 2011 17:28:49 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 70090 invoked by uid 99); 19 Aug 2011 17:28:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Aug 2011 17:28:49 +0000 X-ASF-Spam-Status: No, hits=-2001.1 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Aug 2011 17:28:48 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 0DF8DC4D8C for ; Fri, 19 Aug 2011 17:28:28 +0000 (UTC) Date: Fri, 19 Aug 2011 17:28:28 +0000 (UTC) From: "Kazuki Ohta (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <1577799799.53458.1313774908053.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <896422957.53363.1313772987484.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (MAPREDUCE-2862) Infinite loop in CombineFileInputFormat#getMoreSplits(), with missing blocks 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/MAPREDUCE-2862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13087814#comment-13087814 ] Kazuki Ohta commented on MAPREDUCE-2862: ---------------------------------------- Would be some options... * cause an error * add option to ignore these errors (log missing blocks in Warning level) > Infinite loop in CombineFileInputFormat#getMoreSplits(), with missing blocks > ---------------------------------------------------------------------------- > > Key: MAPREDUCE-2862 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-2862 > Project: Hadoop Map/Reduce > Issue Type: Bug > Reporter: Kazuki Ohta > > Hi, we met the infinite loop on CombineFileInputFormat#getMoreSplits(). > At first, we lost some blocks by mis-operation :-(. Then, one job tried to use these missing blocks. At that time getMoreSplits() goes into the infinite loop. > From our investigation, this List could be an empty array. > > https://github.com/apache/hadoop-mapreduce/blob/trunk/src/java/org/apache/hadoop/mapreduce/lib/input/CombineFileInputFormat.java#L363 > Then 'for' loop just after that line does nothing, and entry is not removed from 'blockToNodes'. > Finally this line goes into the infinite loop. > > https://github.com/apache/hadoop-mapreduce/blob/trunk/src/java/org/apache/hadoop/mapreduce/lib/input/CombineFileInputFormat.java#L348 > We're now creating the patch against this problem... -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira