-
Notifications
You must be signed in to change notification settings - Fork 14
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
Improve helper scripts to run custom JARs #1400
Comments
So people have pointed out that we have '--jar' option that does what is needed. Nevertheless, an environment variable that overrides the jar might still be useful since sometimes we don't have access to the command line. For instance, if the job is run from customized scripts. |
Release notes: |
…-custom-jar #1400 Helper scripts run custom JAR
Background
Currently, the JAR corresponding to Standardization and Conformance jobs is configured in
enceladus_env.sh
. For development and testing it would be very useful to override the location of the JAR so that SNAPSHOT versions be easier to test.Feature
Check an environment variable
SPARK_JOSB_JAR
(the name is deliberately very short) in helper scripts. If it is defined, use the specified JAR instead of ones defined inenceladus_env.sh
.The workflow of a dev will be like this:
export SPARK_JOBS_JAR=/path/to/jars/in/the/home/folder/spark-jobs.jar
run_standardization.sh
orrun_conformance.sh
as usual. The custom JAR will be used.The text was updated successfully, but these errors were encountered: