[HOD] Uncaught exceptions can potentially hang hod-client.
----------------------------------------------------------
Key: HADOOP-4161
URL: https://issues.apache.org/jira/browse/HADOOP-4161
Project: Hadoop Core
Issue Type: Bug
Reporter: Vinod K V
Fix For: 0.18.1, 0.19.0
In hod-client, we have
{code}
sys.exit(hod.operation())
sys.exit(hod.script())
{code}
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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.