You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Alejandro Abdelnur (JIRA)" <ji...@apache.org> on 2012/06/07 01:33:22 UTC

[jira] [Resolved] (OOZIE-826) TestCoordKillXCommand's testCoordKillXCommandUniqueness testcase is failing after interrupt changes

     [ https://issues.apache.org/jira/browse/OOZIE-826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alejandro Abdelnur resolved OOZIE-826.
--------------------------------------

    Resolution: Fixed
      Assignee: Virag Kothari
    
> TestCoordKillXCommand's testCoordKillXCommandUniqueness testcase is failing after interrupt changes
> ---------------------------------------------------------------------------------------------------
>
>                 Key: OOZIE-826
>                 URL: https://issues.apache.org/jira/browse/OOZIE-826
>             Project: Oozie
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.2.0
>            Reporter: Alejandro Abdelnur
>            Assignee: Virag Kothari
>            Priority: Critical
>             Fix For: 3.2.0
>
>
> Some of the interrupt related changes are making callables to be executed after the services have been destroyed.
> {code}
> 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
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira