Skip to content

[CLOSED] SAMZA-2334: SSPGrouperProxy should check if job is stateful, not if host-affinity is enabled.#1178

Closed
dnishimura wants to merge 2 commits into
apache:masterfrom
dnishimura:samza-2334-check-stateful-for-proxygrouper-selection
Closed

[CLOSED] SAMZA-2334: SSPGrouperProxy should check if job is stateful, not if host-affinity is enabled.#1178
dnishimura wants to merge 2 commits into
apache:masterfrom
dnishimura:samza-2334-check-stateful-for-proxygrouper-selection

Conversation

@dnishimura
Copy link
Copy Markdown
Contributor

The current SSPGrouperProxy provides the capability for input partition counts to expand or contract by a multiple of the previous count. This is only need by stateful jobs. Currently the check for stateful jobs is to see if host-affinity is enabled. However, that is the wrong check because host-affinity does not imply a job is stateful.

The fix here is to check to see if the job has any local state stores rather than checking if host-affinity is enabled. The other part of the fix is to allow disabling the SSPGrouperProxy in the situation where the job cannot expand or contract the input partitions by an appropriate factor.

@prateekm @shanthoosh @dxichen

…ost-affinity is enabled. Also need to add a configuration to disable SSPGrouperProxy to unblock jobs from running.
@dnishimura dnishimura closed this Oct 4, 2019
@dnishimura
Copy link
Copy Markdown
Contributor Author

Closed to figure out the failing test.

@dnishimura dnishimura changed the title SAMZA-2334: SSPGrouperProxy should check if job is stateful, not if host-affinity is enabled. [CLOSED] SAMZA-2334: SSPGrouperProxy should check if job is stateful, not if host-affinity is enabled. Oct 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant