-
Notifications
You must be signed in to change notification settings - Fork 29
[HWORKS-2190][APPEND] Updating job configuration to include file, pyfiles, archives and jars #478
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
base: main
Are you sure you want to change the base?
Conversation
@@ -229,6 +229,10 @@ The following table describes the JSON payload returned by `jobs_api.get_configu | |||
| `spark.dynamicAllocation.maxExecutors` | number (int) | Maximum number of executors with dynamic allocation | `2` | | |||
| `spark.dynamicAllocation.initialExecutors` | number (int) | Initial number of executors with dynamic allocation | `1` | | |||
| `spark.blacklist.enabled` | boolean | Whether executor/node blacklisting is enabled | `false` | | |||
| `files` | string | Path to files to be provided to the Spark application. These will be added to the classpath. | `null` | |
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.
Do files also get added to the the classpath?
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.
Only jars
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.
Updated to remove "adding to class path"
for files and archives.
@@ -231,6 +231,10 @@ The following table describes the JSON payload returned by `jobs_api.get_configu | |||
| `spark.dynamicAllocation.maxExecutors` | number (int) | Maximum number of executors with dynamic allocation | `2` | | |||
| `spark.dynamicAllocation.initialExecutors` | number (int) | Initial number of executors with dynamic allocation | `1` | | |||
| `spark.blacklist.enabled` | boolean | Whether executor/node blacklisting is enabled | `false` | | |||
| `files` | string | Path to files to be provided to the Spark application. These will be added to the classpath. | `null` | |
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.
Also here is wrong I guess?
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.
Can you also update https://docs.hopsworks.ai/latest/user_guides/projects/jobs/python_job/#configuration and https://docs.hopsworks.ai/latest/user_guides/projects/jobs/notebook_job/?
It also has a "files" option.
…chives