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)

Reply via email to