Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 25476200B29 for ; Thu, 30 Jun 2016 18:44:12 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 23B81160A06; Thu, 30 Jun 2016 16:44:12 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 57919160A52 for ; Thu, 30 Jun 2016 18:44:11 +0200 (CEST) Received: (qmail 94405 invoked by uid 500); 30 Jun 2016 16:44:10 -0000 Mailing-List: contact issues-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list issues@flink.apache.org Received: (qmail 94360 invoked by uid 99); 30 Jun 2016 16:44:10 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Jun 2016 16:44:10 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 5908D2C02A2 for ; Thu, 30 Jun 2016 16:44:10 +0000 (UTC) Date: Thu, 30 Jun 2016 16:44:10 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FLINK-3618) Rename abstract UDF classes in Scatter-Gather implementation MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 30 Jun 2016 16:44:12 -0000 [ https://issues.apache.org/jira/browse/FLINK-3618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15357436#comment-15357436 ] ASF GitHub Bot commented on FLINK-3618: --------------------------------------- Github user vasia commented on the issue: https://github.com/apache/flink/pull/2184 Thanks for the update @greghogan! +1 to merge. > Rename abstract UDF classes in Scatter-Gather implementation > ------------------------------------------------------------ > > Key: FLINK-3618 > URL: https://issues.apache.org/jira/browse/FLINK-3618 > Project: Flink > Issue Type: Improvement > Components: Gelly > Affects Versions: 1.1.0, 1.0.1 > Reporter: Martin Junghanns > Assignee: Greg Hogan > Priority: Minor > Fix For: 1.1.0 > > > We now offer three Vertex-centric computing abstractions: > * Pregel > * Gather-Sum-Apply > * Scatter-Gather > Each of these abstractions provides abstract classes that need to be implemented by the user: > * Pregel: {{ComputeFunction}} > * GSA: {{GatherFunction}}, {{SumFunction}}, {{ApplyFunction}} > * Scatter-Gather: {{MessagingFunction}}, {{VertexUpdateFunction}} > In Pregel and GSA, the names of those functions follow the name of the abstraction or the name suggested in the corresponding papers. For consistency of the API, I propose to rename {{MessageFunction}} to {{ScatterFunction}} and {{VertexUpdateFunction}} to {{GatherFunction}}. > Also for consistency, I would like to change the parameter order in {{Graph.runScatterGatherIteration(VertexUpdateFunction f1, MessagingFunction f2}} to {{Graph.runScatterGatherIteration(ScatterFunction f1, GatherFunction f2}} (like in {{Graph.runGatherSumApplyFunction(...)}}) -- This message was sent by Atlassian JIRA (v6.3.4#6332)