Skip to content

SAMZA-2514: Refactor codes to make runWithClassLoader method more generic#1349

Merged
cameronlee314 merged 2 commits into
apache:masterfrom
alnzng:SAMZA-2514
Apr 24, 2020
Merged

SAMZA-2514: Refactor codes to make runWithClassLoader method more generic#1349
cameronlee314 merged 2 commits into
apache:masterfrom
alnzng:SAMZA-2514

Conversation

@alnzng
Copy link
Copy Markdown
Contributor

@alnzng alnzng commented Apr 23, 2020

Issues

Currently, we define the runWithClassLoader method in ClusterBasedJobCoordinator to support split deployment. However, the job container needs a similar runWithClassLoader method to support split deployment. So we'd better make the runWithClassLoader method more generic, then LocalContainerRunner can just use it.

Changes

Add new util class SplitDeploymentUtil to define generic runWithClassLoader method.

Tests

  • All unit tests are passed

API Changes

None

Upgrade Instructions

None

Usage Instructions

None

Signed-off-by: Alan Zhang <shuai.xyz@gmail.com>
Comment thread samza-core/src/main/java/org/apache/samza/util/SplitDeploymentUtil.java Outdated
Signed-off-by: Alan Zhang <shuai.xyz@gmail.com>
@cameronlee314 cameronlee314 merged commit e86951f into apache:master Apr 24, 2020
@alnzng alnzng deleted the SAMZA-2514 branch April 24, 2020 16:54
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