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

java.lang.IllegalMonitorStateException causing a fatal error on the TaskManager side

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Blocker
    • Resolution: Unresolved
    • 2.0-preview
    • None
    • Runtime / Coordination
    • None

    Description

      HiveDynamicPartitionPruningITCase failed due to the TM timeout. Checking the logs though revealed a fatal error on the taskmanager's side:
      https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=62173&view=logs&j=5cae8624-c7eb-5c51-92d3-4d2dacedd221&t=5acec1b4-945b-59ca-34f8-168928ce5199&l=24046

      03:18:32,209 [taskmanager_72-main-scheduler-thread-1] ERROR org.apache.flink.util.FatalExitExceptionHandler              [] - FATAL: Thread 'taskmanager_72-main-scheduler-thread-1' produced an uncaught exception. Stopping the process...
      java.lang.IllegalMonitorStateException: null
              at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.signal(AbstractQueuedSynchronizer.java:1939) ~[?:1.8.0_292]
              at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1103) ~[?:1.8.0_292]
              at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809) ~[?:1.8.0_292]
              at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074) ~[?:1.8.0_292]
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134) ~[?:1.8.0_292]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[?:1.8.0_292]
              at java.lang.Thread.run(Thread.java:748) [?:1.8.0_292]
      

      But there's also a OutOfMemoryError reported just a line below:

      03:19:01,060 [Source Data Fetcher for Source: part[62] (2/2)#0] ERROR org.apache.flink.connector.base.source.reader.fetcher.SplitFetcherManager [] - Received uncaught exception.
      java.lang.OutOfMemoryError: Java heap space
      

      So that might be related to FLINK-36290

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mapohl Matthias Pohl
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: