You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Ufuk Celebi (JIRA)" <ji...@apache.org> on 2015/12/17 16:51:46 UTC

[jira] [Created] (FLINK-3182) TaskManagersHandler can block web frontend

Ufuk Celebi created FLINK-3182:
----------------------------------

             Summary: TaskManagersHandler can block web frontend
                 Key: FLINK-3182
                 URL: https://issues.apache.org/jira/browse/FLINK-3182
             Project: Flink
          Issue Type: Bug
          Components: Webfrontend
    Affects Versions: 0.10.1
            Reporter: Ufuk Celebi


In {{TaskManagersHandler}}:

{code}
Future<Object> future = jobManager.ask(
    new JobManagerMessages.RequestTaskManagerInstance(instanceID),
    timeout);

TaskManagerInstance instance = (TaskManagerInstance) Await.result(
    future,
    timeout);
{code}

The default timeout is 10 seconds. Depending on the number of event loop threads and requests this can block the web server.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)