Review Board 1.7.22


java.lang.IllegalStateException: CoordChangeXCommand already used is thrown while executing interrupt commands java.lang.IllegalStateException: CoordChangeXCommand already used.

Review Request #4035 - Created Feb. 24, 2012 and submitted

Mohamed Battisha
OOZIE-684
Reviewers
oozie
oozie
While executing an interrupt driven commands it may be executed from the map on one thread and executed from the queue at a different thread 
This will cause the following exception to be thrown: 
java.lang.IllegalStateException: CoordChangeXCommand already used. 

- Avoiding throwing exception in case of interrupts and synchronizing the changes in [used] 
- Avoiding executing interrupt in case of commands that doesn't need locks
- Changing the debug message for execute interrupt to explicitly mentioning it is an interrupt command

 
Review request changed
Updated (March 7, 2012, 3:51 a.m.)
Updated based on the reviewer comments