[
https://issues.apache.org/jira/browse/SAMZA-1934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16646893#comment-16646893
]
ASF GitHub Bot commented on SAMZA-1934:
---------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/samza/pull/705
> 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
> Assignee: Boris Shkolnik
> Priority: Major
>
> 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)