-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Add support for spark-submit packages and repositories #1040
Add support for spark-submit packages and repositories #1040
Conversation
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here with What to do if you already signed the CLAIndividual signers
Corporate signers
ℹ️ Googlers: Go here for more info. |
- added support for packages, exclude-packages, and repositories spark-submit parameters - added these new parameters to the user guide documentation
@googlebot I signed it! |
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here with What to do if you already signed the CLAIndividual signers
Corporate signers
ℹ️ Googlers: Go here for more info. |
// +optional | ||
ExcludePackages []string `json:"excludePackages,omitempty"` | ||
// Repositories is a list of additional remote repositories to search for the maven coordinate | ||
// given with the "packages" option |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: missing period at the end.
} | ||
if len(app.Spec.Deps.ExcludePackages) > 0 { | ||
depsConfOptions = append(depsConfOptions, | ||
"--exclude-packages", strings.Join(app.Spec.Deps.ExcludePackages, ",")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: there's no need to start a new line here and below.
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here with What to do if you already signed the CLAIndividual signers
Corporate signers
ℹ️ Googlers: Go here for more info. |
42ab867
to
eb4038d
Compare
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
Addressed comments, thanks for the super fast review! :-) |
// Packages is a list of maven coordinates of jars to include on the driver and executor | ||
// classpaths. This will search the local maven repo, then maven central and any additional | ||
// remote repositories given by the "repositories" option. | ||
// Each papckage should be of the form "groupId:artifactId:version" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: missing period at the end.
// Each papckage should be of the form "groupId:artifactId:version" | ||
// +optional | ||
Packages []string `json:"packages,omitempty"` | ||
// ExcludePackages is a list of groupId:artifactId, to exclude while resolving the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Double quotes around groupId:artifactId
.
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
* Add support for spark-submit packages and repositories - added support for packages, exclude-packages, and repositories spark-submit parameters - added these new parameters to the user guide documentation * address review comments * address review comments
spark-submit parameters