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/04/01 09:18:00 UTC
[jira] [Commented] (FLINK-7917) The return of
taskInformationOrBlobKey should be placed inside synchronized in
ExecutionJobVertex
[ https://issues.apache.org/jira/browse/FLINK-7917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16421611#comment-16421611 ]
ASF GitHub Bot commented on FLINK-7917:
---------------------------------------
GitHub user yanghua opened a pull request:
https://github.com/apache/flink/pull/5798
[FLINK-7917] The return of taskInformationOrBlobKey should be placed inside synchronized in ExecutionJobVertex
## What is the purpose of the change
*This pull request placed the taskInformationOrBlobKey inside synchronized in ExecutionJobVertex*
## Brief change log
- *Placed the taskInformationOrBlobKey inside synchronized in ExecutionJobVertex*
## 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): (yes / **no**)
- The public API, i.e., is any changed class annotated with `@Public(Evolving)`: (yes / **no**)
- The serializers: (yes / **no** / don't know)
- The runtime per-record code paths (performance sensitive): (yes / **no** / don't know)
- Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (yes / **no** / don't know)
- The S3 file system connector: (yes / **no** / don't know)
## Documentation
- Does this pull request introduce a new feature? (yes / **no**)
- If yes, how is the feature documented? (not applicable / docs / JavaDocs / **not documented**)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/yanghua/flink FLINK-7917
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/5798.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 #5798
----
commit 041d5cc36a502e23b3c01f4066566174b4d86598
Author: yanghua <ya...@...>
Date: 2018-04-01T09:14:50Z
[FLINK-7917] The return of taskInformationOrBlobKey should be placed inside synchronized in ExecutionJobVertex
----
> The return of taskInformationOrBlobKey should be placed inside synchronized in ExecutionJobVertex
> -------------------------------------------------------------------------------------------------
>
> Key: FLINK-7917
> URL: https://issues.apache.org/jira/browse/FLINK-7917
> Project: Flink
> Issue Type: Bug
> Components: Local Runtime
> Reporter: Ted Yu
> Assignee: vinoyang
> Priority: Minor
>
> Currently in ExecutionJobVertex#getTaskInformationOrBlobKey:
> {code}
> }
> return taskInformationOrBlobKey;
> {code}
> The return should be placed inside synchronized block.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)