Boris Shkolnik created SAMZA-1934:
-------------------------------------

             Summary: LocalApplicationRunner fails for LegacyTaskApplication 
app.class
                 Key: SAMZA-1934
                 URL: https://issues.apache.org/jira/browse/SAMZA-1934
             Project: Samza
          Issue Type: Bug
            Reporter: Boris Shkolnik


For legacy job we set app.class to LegacyTaskApplication.

It is being run by LocalApplicationRunner and it calls ApplicationUtils to 
instantiate the application. When it gets LegacyTaskApplication as the 
app.class, it tries to run newInstance on it, and as the result throws an 
exception (because there is no default constructor).

I think we should check app.class, and if it is LegacyTaskApplication - treat 
it the same way as a blank app.class - create an object of 
LegacyTaskApplication type.

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to