Quick start guide

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Quick start guide

Michael Fong
Hi,

I was following the quick start guide on official documents , and I came cross a line that caused a bit confusion. 
$ tail -f log/flink-*-jobmanager-*.out

It is said the wordcount program would print output to that output file. However, when I run the code locally (mater branch, on IDE). I found the output in taskmanager-*.out instead. 

==> log/flink-<username>-taskmanager-0-<hostname>out <==
ddd : 1
ccc : 1
bbb : 2
abc : 2
aba : 1
aab : 1
ddd : 1
aaa : 1
abca : 1
abac : 6


Is it an intended behavior in logic, or a typo in the document? Thanks in advance. 

Regards,

Reply | Threaded
Open this post in threaded view
|

Re: Quick start guide

Aljoscha Krettek
Hi,

Yes, I think this is wrong in the doc and should refer to the TaskManager logs.

Best,
Aljoscha

> On 4. Sep 2017, at 03:56, Michael Fong <[hidden email]> wrote:
>
> Hi,
>
> I was following the quick start guide on official documents
> <https://ci.apache.org/projects/flink/flink-docs-release-1.4/quickstart/setup_quickstart.html>
> ,
> and I came cross a line that caused a bit confusion.
> $ tail -f log/flink-*-jobmanager-*.out
>
> It is said the wordcount program would print output to that output file.
> However, when I run the code locally (mater branch, on IDE). I found the
> output in taskmanager-*.out instead.
>
> ==> log/flink-<username>-*taskmanager*-0-<hostname>out <==
> ddd : 1
> ccc : 1
> bbb : 2
> abc : 2
> aba : 1
> aab : 1
> ddd : 1
> aaa : 1
> abca : 1
> abac : 6
>
>
> Is it an intended behavior in logic, or a typo in the document? Thanks in
> advance.
>
> Regards,