flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maximilian Michels (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-2070) Confusing methods print() that print on client vs on TaskManager
Date Fri, 22 May 2015 08:11:17 GMT

    [ 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

View raw message