Skip to content

[BEAM-5605] Ensure that split calls are routed to the active bundle processor for the bundle id.#10489

Merged
lukecwik merged 3 commits intoapache:masterfrom
lukecwik:splittabledofn2
Jan 3, 2020
Merged

[BEAM-5605] Ensure that split calls are routed to the active bundle processor for the bundle id.#10489
lukecwik merged 3 commits intoapache:masterfrom
lukecwik:splittabledofn2

Conversation

@lukecwik
Copy link
Member

@lukecwik lukecwik commented Jan 2, 2020

Maintain a mapping from bundle id to active bundle processor.


Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

  • Choose reviewer(s) and mention them in a comment (R: @username).
  • Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

Post-Commit Tests Status (on master branch)

Lang SDK Apex Dataflow Flink Gearpump Samza Spark
Go Build Status --- --- Build Status --- --- Build Status
Java Build Status Build Status Build Status Build Status
Build Status
Build Status
Build Status Build Status Build Status
Build Status
Build Status
Python Build Status
Build Status
Build Status
Build Status
--- Build Status
Build Status
Build Status
Build Status
--- --- Build Status
XLang --- --- --- Build Status --- --- ---

Pre-Commit Tests Status (on master branch)

--- Java Python Go Website
Non-portable Build Status Build Status
Build Status
Build Status Build Status
Portable --- Build Status --- ---

See .test-infra/jenkins/README for trigger phrase, status and link of all Jenkins jobs.

…rocessor for the bundle id.

Maintain a mapping from bundle id to active bundle processor.
@lukecwik
Copy link
Member Author

lukecwik commented Jan 2, 2020

R: @boyuanzz @sunjincheng121

Copy link
Contributor

@boyuanzz boyuanzz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the changes! Just one minor comment left.

return BeamFnApi.InstructionResponse.newBuilder().setProcessBundle(response);
}

/** Splits an active bundle. */
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please also update the comments of ProcessBundleHandler, given that the handler is no longer processing bundle only.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@lukecwik
Copy link
Member Author

lukecwik commented Jan 3, 2020

Run Java PreCommit

@lukecwik lukecwik merged commit 0851849 into apache:master Jan 3, 2020
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.

2 participants