[
https://issues.apache.org/jira/browse/FLINK-9276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16465690#comment-16465690
]
ASF GitHub Bot commented on FLINK-9276:
---------------------------------------
Github user StephanEwen commented on a diff in the pull request:
https://github.com/apache/flink/pull/5954#discussion_r186375693
--- Diff:
flink-runtime/src/main/java/org/apache/flink/runtime/jobmaster/slotpool/SlotPool.java
---
@@ -212,7 +212,7 @@ public void start(JobMasterId jobMasterId, String
newJobManagerAddress) throws E
// release all registered slots by releasing the corresponding
TaskExecutors
for (ResourceID taskManagerResourceId : registeredTaskManagers)
{
- releaseTaskManagerInternal(taskManagerResourceId);
+ releaseTaskManagerInternal(taskManagerResourceId, null);
--- End diff --
I would try to avoid null here. It is still helpful to have a message that
says "SlotPool is shutting down".
> Improve error message when TaskManager fails
> --------------------------------------------
>
> Key: FLINK-9276
> URL: https://issues.apache.org/jira/browse/FLINK-9276
> Project: Flink
> Issue Type: Improvement
> Components: Distributed Coordination
> Affects Versions: 1.5.0
> Reporter: Stephan Ewen
> Assignee: vinoyang
> Priority: Critical
>
> When a TaskManager fails, we frequently get a message
> {code}
> org.apache.flink.util.FlinkException: Releasing TaskManager
> container_1524853016208_0001_01_000102
> {code}
> This message is misleading in that it sounds like an intended operation, when
> it really is a failure of a container that the {{ResourceManager}} reports to
> the {{JobManager}}.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)