You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Yi Pan (Data Infrastructure) (JIRA)" <ji...@apache.org> on 2017/11/07 23:51:00 UTC

[jira] [Created] (SAMZA-1482) Restart or fail Samza jobs in YARN when input topic partition changes

Yi Pan (Data Infrastructure) created SAMZA-1482:
---------------------------------------------------

             Summary: Restart or fail Samza jobs in YARN when input topic partition changes
                 Key: SAMZA-1482
                 URL: https://issues.apache.org/jira/browse/SAMZA-1482
             Project: Samza
          Issue Type: Bug
            Reporter: Yi Pan (Data Infrastructure)


Currently, after a Samza job is started, it works only on a set of fixed input topic partitions at the start-up time. When input topic partitions are expanded, we often lose the messages sent in the new partitions, until we restart the job.

SAMZA-882 added a input stream partition count monitor inside the JobCoordinator. This ticket is targeted to use this monitor metrics and trigger the following actions in YARN:
# for stateless jobs, shutdown the JobCoordinator w/ UNDEFINED status code s.t. YARN will restart the whole job
# for stateful jobs, shutdown the JobCoordinator w/ FAILED status code s.t. YARN will stop the whole job



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)