You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/06/14 15:02:00 UTC
[jira] [Commented] (FLINK-8573) Print JobID for failed jobs
[ https://issues.apache.org/jira/browse/FLINK-8573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16512581#comment-16512581 ]
ASF GitHub Bot commented on FLINK-8573:
---------------------------------------
GitHub user azagrebin opened a pull request:
https://github.com/apache/flink/pull/6169
[FLINK-8573] Extend ProgramInvocationException message with Job ID where applicable
## What is the purpose of the change
Print job id when program execution fails where it is possible.
## Brief change log
- add overloaded with JobId constructors to ProgramInvocationException
- add job id to thrown ProgramInvocationException's where applicable
## Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
## Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency): (no)
- The public API, i.e., is any changed class annotated with `@Public(Evolving)`: (no)
- The serializers: (no)
- The runtime per-record code paths (performance sensitive): (no)
- Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
- The S3 file system connector: (no)
## Documentation
- Does this pull request introduce a new feature? (no)
- If yes, how is the feature documented? (not applicable)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/azagrebin/flink FLINK-8573
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/6169.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #6169
----
commit 329486e73492745545395bfaa47c2ef0fcecd9a0
Author: Andrey Zagrebin <az...@...>
Date: 2018-06-14T14:56:08Z
[FLINK-8573] Extend ProgramInvocationException message with Job ID where applicable
----
> Print JobID for failed jobs
> ---------------------------
>
> Key: FLINK-8573
> URL: https://issues.apache.org/jira/browse/FLINK-8573
> Project: Flink
> Issue Type: Improvement
> Components: Client
> Affects Versions: 1.5.0
> Reporter: Chesnay Schepler
> Assignee: mingleizhang
> Priority: Major
>
> When a job is successfully run the client prints a something along the lines of "Job with <JobID> successfully run". If the job fails however we only print the exception but not the JobID.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)