Return-Path: X-Original-To: apmail-hama-dev-archive@www.apache.org Delivered-To: apmail-hama-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 934F511AE8 for ; Sun, 12 May 2013 04:03:17 +0000 (UTC) Received: (qmail 51854 invoked by uid 500); 12 May 2013 04:03:17 -0000 Delivered-To: apmail-hama-dev-archive@hama.apache.org Received: (qmail 51822 invoked by uid 500); 12 May 2013 04:03:17 -0000 Mailing-List: contact dev-help@hama.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hama.apache.org Delivered-To: mailing list dev@hama.apache.org Received: (qmail 51803 invoked by uid 99); 12 May 2013 04:03:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 May 2013 04:03:17 +0000 Date: Sun, 12 May 2013 04:03:17 +0000 (UTC) From: "Edward J. Yoon (JIRA)" To: dev@hama.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HAMA-756) Timing issue and file merging algorithm in PartitioningRunner make job fail 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/HAMA-756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Edward J. Yoon updated HAMA-756: -------------------------------- Resolution: Fixed Status: Resolved (was: Patch Available) I've committed this with unit test. Thanks MaoYuan! > Timing issue and file merging algorithm in PartitioningRunner make job fail > --------------------------------------------------------------------------- > > Key: HAMA-756 > URL: https://issues.apache.org/jira/browse/HAMA-756 > Project: Hama > Issue Type: Bug > Reporter: MaoYuan Xian > Assignee: MaoYuan Xian > Priority: Blocker > Fix For: 0.6.2 > > Attachments: HAMA-756.patch > > > There are two major problems in bsp methor of PartitioningRunner may make the partitioning fail: > 1. The call to peer.getNumPeers() may trigger the timing issue. In the special situation when some tasks complete the bsp call but some others just enter the "for (FileStatus statu : status)" loop, these remaining task calling to peer.getNumPeers() will trigger the problem. > 2. The algorithm of merging the sequence files has the problem: e.g. when desiredNum is 8 and partitioning task number (peer.getNumPeers()) is 6, the part-7 directory can not find the handler to merging it as a file. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira