1) Launch an application with two components. master and worker. Here, worker is dependent on master. ( Worker should be launched only after master is launched )
2) Set restart_policy = NEVER for both master and worker.
When restart policy is selected to NEVER, AM never launches Worker component. It get stuck with below message.
'NEVER' restart policy expects master component to be finished before starting workers. Master component can not finish the job without workers. Thus, it create a deadlock.
The logic for 'NEVER' restart policy should be fixed to allow worker components to be launched as soon as master component is in READY state.