IndexCache failures due to missing synchronization
critical
java.lang.IllegalMonitorStateException
No.
Single computation node
0.23.2
1 NM
1. MR client submit a job (feature start)
NA
No (multi-thread, lock contention)
yes
1 (1 NM)
TestMRJobs.testSleepJob throws an IllegalMonitorStateException that the wait method does not hold the process lock.
As the code is not wrapped into a “synchronized” block, when the thread visit the code with wait() method in it without the process lock, it will throw the exception.
The threading calling “wait” method may not holding the lock to the object due to the loss of “synchronized” keyword.
concurrency
Warpping the code into a synchronized block.
No more exceptions