Uploaded image for project: 'Oozie'
  1. Oozie
  2. OOZIE-826

TestCoordKillXCommand's testCoordKillXCommandUniqueness testcase is failing after interrupt changes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 3.2.0
    • 3.2.0
    • core
    • None

    Description

      Some of the interrupt related changes are making callables to be executed after the services have been destroyed.

      14:27:29,129 ERROR TestCoordKillXCommand$MyCoordKillXCommand:536 - USER[test] GROUP[testg] TOKEN[] APP[COORD-TEST] JOB[0000000-120501142722768-oozie-tucu-C] ACTION[-] Exception, 
      java.lang.IllegalMonitorStateException
      	at java.util.concurrent.locks.ReentrantReadWriteLock$Sync.tryRelease(ReentrantReadWriteLock.java:317)
      	at java.util.concurrent.locks.AbstractQueuedSynchronizer.release(AbstractQueuedSynchronizer.java:1239)
      	at java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock.unlock(ReentrantReadWriteLock.java:992)
      	at org.apache.oozie.util.MemoryLocks$LockToken.release(MemoryLocks.java:59)
      	at org.apache.oozie.command.XCommand.releaseLock(XCommand.java:223)
      	at org.apache.oozie.command.XCommand.call(XCommand.java:296)
      	at org.apache.oozie.service.CallableQueueService$CallableWrapper.run(CallableQueueService.java:175)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      	at java.lang.Thread.run(Thread.java:680)
      14:27:29,135  WARN CallableQueueService$CallableWrapper:542 - USER[-] GROUP[-] TOKEN[-] APP[-] JOB[-] ACTION[-] exception callable [coord_kill], E0607: Other error in operation [java.lang.IllegalMonitorStateException], {1}
      org.apache.oozie.command.CommandException: E0607: Other error in operation [java.lang.IllegalMonitorStateException], {1}
      	at org.apache.oozie.command.XCommand.call(XCommand.java:318)
      	at org.apache.oozie.service.CallableQueueService$CallableWrapper.run(CallableQueueService.java:175)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      	at java.lang.Thread.run(Thread.java:680)
      Caused by: java.lang.IllegalMonitorStateException
      	at java.util.concurrent.locks.ReentrantReadWriteLock$Sync.tryRelease(ReentrantReadWriteLock.java:317)
      	at java.util.concurrent.locks.AbstractQueuedSynchronizer.release(AbstractQueuedSynchronizer.java:1239)
      	at java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock.unlock(ReentrantReadWriteLock.java:992)
      	at org.apache.oozie.util.MemoryLocks$LockToken.release(MemoryLocks.java:59)
      	at org.apache.oozie.command.XCommand.releaseLock(XCommand.java:223)
      	at org.apache.oozie.command.XCommand.call(XCommand.java:296)
      	... 4 more
      14:27:30,603  INFO TestCoordKillXCommand:539 - Waiting up to [2,979] msec
      

      Attachments

        Activity

          People

            virag Virag Kothari
            tucu00 Alejandro Abdelnur
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: