Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sources/Sinks can be launched using fat jars as well #3166

Merged
merged 10 commits into from Dec 13, 2018

Conversation

srkukarni
Copy link
Contributor

Motivation

Users should be able to just construct a fat jar for a Sources or a Sinks. While this capability existed in 2.2, subsequent cleanups removed the feature. This pr re-enables it.

Modifications

Describe the modifications you've done.

Result

After your change, what will change.

@srkukarni srkukarni self-assigned this Dec 11, 2018
@srkukarni srkukarni added this to the 2.3.0 milestone Dec 11, 2018
@srkukarni
Copy link
Contributor Author

run cpp tests

@@ -120,39 +120,35 @@ void start() throws Exception {
if (builtInSource != null) {
sourceConfig.setArchive(builtInSource);
}
NarClassLoader classLoader;
Copy link
Contributor

Choose a reason for hiding this comment

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

does this mean we cannot run a built-in source or sink locally?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Built-ins should be passed to the localrun with a proper file location, so they can be

@srkukarni srkukarni merged commit 4f2feb0 into apache:master Dec 13, 2018
@srkukarni srkukarni deleted the source_jar branch December 13, 2018 01:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants