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 7D2E9E672 for ; Tue, 5 Feb 2013 07:12:13 +0000 (UTC) Received: (qmail 37265 invoked by uid 500); 5 Feb 2013 07:12:13 -0000 Delivered-To: apmail-hama-dev-archive@hama.apache.org Received: (qmail 37237 invoked by uid 500); 5 Feb 2013 07:12:13 -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 37210 invoked by uid 99); 5 Feb 2013 07:12:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Feb 2013 07:12:12 +0000 Date: Tue, 5 Feb 2013 07:12:12 +0000 (UTC) From: "Edward J. Yoon (JIRA)" To: dev@hama.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HAMA-730) Concurrent file access in PartitioningRunner 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-730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Edward J. Yoon resolved HAMA-730. --------------------------------- Resolution: Fixed I've committed my changes directly. > Concurrent file access in PartitioningRunner > -------------------------------------------- > > Key: HAMA-730 > URL: https://issues.apache.org/jira/browse/HAMA-730 > Project: Hama > Issue Type: Bug > Reporter: Edward J. Yoon > Assignee: Edward J. Yoon > Fix For: 0.6.1 > > > every tasks should get FileStatus[] before merge files. > {code} > peer.sync(); > FileStatus[] status = fs.listStatus(partitionDir); > // Call sync() one more time to avoid concurrent access > peer.sync(); > {code} -- 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