Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-9056

Job submission fails with AskTimeoutException if not enough slots are available

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 1.5.0
    • Fix Version/s: None
    • Component/s: Job-Submission
    • Labels:
      None
    • Environment:
      • FLIP-6 enabled
      • Local Flink instance with fixed number of TMs
      • Job parallelism exceeds available slots

      Description

      The error message if a job submission fails due to lack of available slots is not helpful:

      Caused by: akka.pattern.AskTimeoutException: Ask timed out on [Actor[akka://flink/user/8f0fabba-4021-45b6-a1f7-b8afd6627640#-574617182|#-574617182]] after [300000 ms]. Sender[null] sent message of type "org.apache.flink.runtime.rpc.messages.LocalRpcInvocation".
           at akka.pattern.PromiseActorRef$$anonfun$1.apply$mcV$sp(AskSupport.scala:604)
           at akka.actor.Scheduler$$anon$4.run(Scheduler.scala:126)
           at scala.concurrent.Future$InternalCallbackExecutor$.unbatchedExecute(Future.scala:601)
           at scala.concurrent.BatchingExecutor$class.execute(BatchingExecutor.scala:109)
           at scala.concurrent.Future$InternalCallbackExecutor$.execute(Future.scala:599)
           at akka.actor.LightArrayRevolverScheduler$TaskHolder.executeTask(LightArrayRevolverScheduler.scala:329)
           at akka.actor.LightArrayRevolverScheduler$$anon$4.executeBucket$1(LightArrayRevolverScheduler.scala:280)
           at akka.actor.LightArrayRevolverScheduler$$anon$4.nextTick(LightArrayRevolverScheduler.scala:284)
           at akka.actor.LightArrayRevolverScheduler$$anon$4.run(LightArrayRevolverScheduler.scala:236)
           at java.lang.Thread.run(Thread.java:748)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                yuqi yuqi
                Reporter:
                fhueske Fabian Hueske
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: