Return-Path: X-Original-To: apmail-tez-issues-archive@minotaur.apache.org Delivered-To: apmail-tez-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 6CDE210C85 for ; Fri, 30 Aug 2013 00:07:15 +0000 (UTC) Received: (qmail 74211 invoked by uid 500); 30 Aug 2013 00:07:15 -0000 Delivered-To: apmail-tez-issues-archive@tez.apache.org Received: (qmail 74185 invoked by uid 500); 30 Aug 2013 00:07:15 -0000 Mailing-List: contact issues-help@tez.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tez.incubator.apache.org Delivered-To: mailing list issues@tez.incubator.apache.org Received: (qmail 74178 invoked by uid 99); 30 Aug 2013 00:07:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Aug 2013 00:07:15 +0000 X-ASF-Spam-Status: No, hits=-2002.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 30 Aug 2013 00:07:14 +0000 Received: (qmail 67141 invoked by uid 99); 30 Aug 2013 00:06:53 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Aug 2013 00:06:53 +0000 Date: Fri, 30 Aug 2013 00:06:53 +0000 (UTC) From: "Hitesh Shah (JIRA)" To: issues@tez.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (TEZ-410) Refactor Edge Connection Pattern to be more clear MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/TEZ-410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13754237#comment-13754237 ] Hitesh Shah commented on TEZ-410: --------------------------------- Forgot one point - are there test cases add to testdagverify to verify that concurrent, et al throw exceptions if set on an edge? > Refactor Edge Connection Pattern to be more clear > ------------------------------------------------- > > Key: TEZ-410 > URL: https://issues.apache.org/jira/browse/TEZ-410 > Project: Apache Tez > Issue Type: Improvement > Reporter: Bikas Saha > Assignee: Bikas Saha > Attachments: TEZ-410.1.patch, TEZ-410.2.patch, TEZ-410.3.patch, TEZ-410.4.patch > > > During discussion with users there was feedback that edge properties need to be named better to make them more clear. There was a suggestion to look at MPI for inspiration. Based on that feedback, the proposal is to renamed ConnectionPattern to DataMovement as that is essentially what the property is defining. A Bipartite connection pattern can be constructed from both broadcast and scatter-gather data movement types. There will be 3 kinds of data movements initially. > ONE_TO_ONE - Defines an output produced by the ith upstream task is available the the ith downstream task. > BROADCAST - Defines an output produced by any upstream task is available to all downstream tasks. > SCATTER_GATHER - Defines that the ith output produced by all upstream tasks is available to the same downstream task. Upstream tasks scatter there outputs and they are gathered by designated downstream tasks. > To be clear, output being available to the a task does not imply that the entire output is transferred/read by it. The task can choose to read any amount of the total data. > Current users: In the EdgeProperty object > Please change EdgeConnectionPattern.BIPARTITE -> DataMovementType.SCATTER_GATHER > Please change SourceType.STABLE -> DataSourceType.PERSISTED > Please add SchedulingType.SEQUENTIAL to EdgeProperty objects. > The getter methods have similar name changes. -- 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