Return-Path: X-Original-To: apmail-flink-issues-archive@minotaur.apache.org Delivered-To: apmail-flink-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 751C31824D for ; Fri, 22 May 2015 08:11:17 +0000 (UTC) Received: (qmail 88952 invoked by uid 500); 22 May 2015 08:11:17 -0000 Delivered-To: apmail-flink-issues-archive@flink.apache.org Received: (qmail 88913 invoked by uid 500); 22 May 2015 08:11:17 -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 88901 invoked by uid 99); 22 May 2015 08:11:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 May 2015 08:11:17 +0000 Date: Fri, 22 May 2015 08:11:17 +0000 (UTC) From: "Maximilian Michels (JIRA)" To: issues@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FLINK-2070) Confusing methods print() that print on client vs on TaskManager 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/FLINK-2070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14555816#comment-14555816 ] Maximilian Michels commented on FLINK-2070: ------------------------------------------- +1 for {{printOnTaskManager()}} I can see printing on the task manager {{out}} being useful for debugging purposes. I'm not sure if the method should be in {{DataSet}} but rather in some Util package with an explanation in the documentation. > Confusing methods print() that print on client vs on TaskManager > ---------------------------------------------------------------- > > Key: FLINK-2070 > URL: https://issues.apache.org/jira/browse/FLINK-2070 > Project: Flink > Issue Type: Bug > Components: Core > Affects Versions: 0.9 > Reporter: Stephan Ewen > Fix For: 0.9 > > > With the {{print()}} method printing on the client, the {{print(sourceIentified)}} method becomes confusing, as it has the same name, but prints on the taskManager (into its "out" files) and executes lazily. > We should clarify the confusion by picking a more descriptive name, like {{printOnTaskManager()}}. > I am not sure how common the use case to print into the TaskManager {{out}} files is. We could remove that method and point to the {{PrintingOutputFormat}} for that. -- This message was sent by Atlassian JIRA (v6.3.4#6332)