Jagadish created SAMZA-760:
------------------------------

             Summary: Samza Container should catch Throwables instead of just 
catching Exceptions 
                 Key: SAMZA-760
                 URL: https://issues.apache.org/jira/browse/SAMZA-760
             Project: Samza
          Issue Type: Bug
            Reporter: Jagadish


Currently,  in the run method in SamzaContainer.scala, we catch only Exceptions 
and re-throw them. 

However, when there's an Error (like for example - a MethodNotFound Error owing 
to say - a backward incompatible change in one of the binaries used by the 
user-code) thrown from inside, it is not logged or caught. Consequently, 
there's no information or logs for that error and it goes mysteriously missing.

Fix:
We must add a catch for Throwables (to make it more general) and throw a 
SamzaException wrapping the Throwable as the cause.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to