Default to serverless for job deployment in scala job template#82
Merged
andrewnester merged 8 commits intoMay 9, 2025
Merged
Conversation
pietern
reviewed
May 9, 2025
| spec: | ||
| client: "3" | ||
| jar_dependencies: | ||
| - {{.artifacts_dest_path}}/${bundle.name}/${bundle.target}/${workspace.current_user.short_name} |
Contributor
There was a problem hiding this comment.
Why is this needed?
Contributor
Author
There was a problem hiding this comment.
this is the uber jar with the main program to execute. is this correctly formatted?
Contributor
There was a problem hiding this comment.
@garlandz-db since this jar is built as part of this bundle you can reference to the jar using a relative local path, so it can be something like
jar_dependencies:
- ../path/to/my/jar/*.jar
You as well can use a full remote path but then it should look like
jar_dependencies:
- ${workspace.artifact_path}/.internal/my_jar.jar
Contributor
Author
There was a problem hiding this comment.
ah i see. explains why i have the library URL which is a couple lines above this using a relative path!
| max_workers: 4 | ||
| data_security_mode: USER_ISOLATION | ||
| queue: | ||
| enabled: true |
Contributor
There was a problem hiding this comment.
You can omit this -- it is the default as of API version 2.2.
andrewnester
approved these changes
May 9, 2025
…es/{{.project_name}}.job.yml.tmpl
Co-authored-by: Andrew Nester <andrew.nester.dev@gmail.com>
…es/{{.project_name}}.job.yml.tmpl
Co-authored-by: Andrew Nester <andrew.nester.dev@gmail.com>
Contributor
Author
|
jenkins merge |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
as per title we will use serverless client image 3 environment as the default setup for job deployment with this dabs template
test: executed manually in azure dogfood
https://adb-7064161269814046.2.staging.azuredatabricks.net/jobs/1125439312175236/runs/900250358433962?o=7064161269814046