Bharath Kumarasubramanian created SAMZA-2721:
------------------------------------------------
Summary: Container should exit with non-zero status code in case
of errors during launch
Key: SAMZA-2721
URL: https://issues.apache.org/jira/browse/SAMZA-2721
Project: Samza
Issue Type: Bug
Reporter: Bharath Kumarasubramanian
{*}Problem{*}:
ContainerLaunchUtil during its launch sequence swallows exception and proceeds
to shutdown with 0 status code. This causes AM to not restart the container.
{*}Description{*}:
With the run method, as part of launch sequence we have various initialization
steps before kicking off the container. In case of exceptions during this step,
the run method catches all erros but only logs them and proceeds to shutdown as
usual.
Due to normal exit, AM treats the container completed successfully and hence
doesn't restart causing the failed container to remain failed.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)