[jira] [Created] (FLINK-2070) Confusing methods print() that print on client vs on TaskManager

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-2070) Confusing methods print() that print on client vs on TaskManager

Shang Yuanchun (Jira)
Stephan Ewen created FLINK-2070:
-----------------------------------

             Summary: 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)