Skip to content

Conversation

@cameronlee314
Copy link
Contributor

@cameronlee314 cameronlee314 commented Sep 27, 2019

This change uses cytodynamics to load Samza framework code from a different package than the Samza application. This allows dependencies to be isolated between framework code and application code. This flow is only enabled by setting the config samza.cluster.based.job.coordinator.dependency.isolation.enabled.

Made the following changes to samza-hello-samza to test this:

  1. Exclude log4j, depend on log4j2 (and add log4j2.xml)
  2. Explicitly specify YARN resource path to locally built artifact for Samza framework code
  3. Add custom log4j2 appender which writes logs to stdout with a prefix

@prateekm
Copy link
Contributor

@shanthoosh FYI

Copy link
Contributor

@prateekm prateekm left a comment

Choose a reason for hiding this comment

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

Looks good, thanks. Minor feedback, feel free to accept/ignore and merge.

Copy link
Contributor

@prateekm prateekm left a comment

Choose a reason for hiding this comment

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

LGTM, thanks.

@cameronlee314 cameronlee314 merged commit 3832bf8 into apache:master Nov 26, 2019
rmatharu-zz pushed a commit to rmatharu-zz/samza that referenced this pull request Jan 21, 2020
cameronlee314 added a commit that referenced this pull request Apr 28, 2021
Issues: Some code was added for SEP-24 some time ago (#1172, #1173), but we are not moving forward with SEP-24 because it does not cleanly handle certain use cases. Since we don't need this code, it should get removed.

Changes:
1. Removed unused flows related to job coordinator dependency isolation.
2. Removed unused classloader separation utils.

API changes and usage/upgrade instructions:
Removed some configs and environment variables related to split deployment, but the feature wasn't complete, so those shouldn't be used by Samza jobs anyways.
@cameronlee314 cameronlee314 deleted the cyto_integration branch November 17, 2021 23:26
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.

3 participants