Uploaded image for project: 'JBeret'
  1. JBeret
  2. JBERET-180 Execution of concurrent batch jobs containg partitioned steps causes deadlock
  3. JBERET-183

Add a test app to produce the deadlock caused by many job starts and partition executions

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • None
    • 1.2.0.Alpha2
    • tests
    • None

      The batch client calls jobOperator.start(...) to start say 20 jobs, one after another. These jobs all have a chunk-type step with 10 partitions. The batch runtime is configured to have a fixed thread pool of size 10.

      So if the job submission is not throttled, the 20 submitted jobs will use up all threads quickly (there may be a few jobs will run to complete early enough to release partition execution threads).

      After the main issue is fixed, the batch runtime should be able to handle this case without deadlock.

            cfang@redhat.com Cheng Fang
            cfang@redhat.com Cheng Fang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: