In hod-client, we have
sys.exit(opCode) makes sure that the client is truly cleaned up, killing unjoined threads etc. So, exceptions not caught by hodRunner.operation() or hodRunner.script(), will by-pass sys.exit method and thus can potentially hang hod-client.
For e.g., when hod allocate fails after allocation and before service-registry thread is cleaned up, hod client will hang.
|Field||Original Value||New Value|
|Component/s||contrib/hod [ 12312090 ]|
|Assignee||Vinod K V [ vinodkv ]|
|Status||Open [ 1 ]||Patch Available [ 10002 ]|
|Resolution||Fixed [ 1 ]|
|Fix Version/s||0.19.0 [ 12313211 ]|
|Status||Patch Available [ 10002 ]||Resolved [ 5 ]|
|Status||Resolved [ 5 ]||Closed [ 6 ]|
|Transition||Time In Source Status||Execution Times||Last Executer||Last Execution Date|
|1h 59m||1||Vinod Kumar Vavilapalli||11/Sep/08 11:32|
|8h 9m||1||Nigel Daley||11/Sep/08 19:41|
|6d 22h 13m||1||Nigel Daley||18/Sep/08 17:55|