[ 
https://issues.apache.org/jira/browse/FLINK-21786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17302350#comment-17302350
 ] 

Matthias commented on FLINK-21786:
----------------------------------

It looks like you're jumping between problems here:
 # The initial issue was about not being able to write to the output file.
 # The [second 
issue|https://issues.apache.org/jira/browse/FLINK-21786?focusedCommentId=17301753&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17301753]
 was about failing to read from the input file (which didn't seem to be an 
issue in the first setup as I would expect the error to pop up before 
complaining about writing to the output file).
 # The [third 
issue|https://issues.apache.org/jira/browse/FLINK-21786?focusedCommentId=17302343&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17302343]
 now seems to be unrelated to the first two (did you fix the first two issues 
by copying the input file to all pods?)

Am I right or am I missing something?

For the third issue: It's always handy to provide the taskmanager and 
jobmanager logs (not only the client logs you provided) to get a better picture 
of what's going on.

> sample Job execution failed
> ---------------------------
>
>                 Key: FLINK-21786
>                 URL: https://issues.apache.org/jira/browse/FLINK-21786
>             Project: Flink
>          Issue Type: Bug
>          Components: Deployment / Kubernetes
>    Affects Versions: 1.12.0
>         Environment: kubernetes debian container 
>            Reporter: Bhagi
>            Priority: Minor
>             Fix For: 1.12.0
>
>         Attachments: image-2021-03-15-10-40-49-263.png, 
> image-2021-03-15-10-42-00-269.png, job logs.txt, job logs.txt
>
>
> Hi Team,
> i am trying to test sample word count job , but job execution is failing. 
> unable to understand what exactly the issue is. Attached job execution info.. 
> !image-2021-03-15-10-40-49-263.png!  !image-2021-03-15-10-42-00-269.png! 
> ./bin/flink run ./examples/streaming/WordCount.jar --input 
> file:///persistent/flinkData/test.txt --output 
> file:///persistent/flinkData/wordcount_out



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to