boozallen / aissemble

Booz Allen's lean manufacturing approach for holistically designing, developing and fielding AI solutions across the engineering lifecycle from data processing to model building, tuning, and training to secure operational deployment
Other
33 stars 8 forks source link

TASK: Overwrite the ivy user directory in the spark-application chart #400

Open csun-cpointe opened 19 hours ago

csun-cpointe commented 19 hours ago

Description

For java 17 upgrade, we have upgraded the aissemble-spark base image, which has a different home directory than the /opt/spark/ directory so to make sure Ivy cache can find the right directory (Ivy cache is default to the environment's home directory. e.g.: ~/.ivy2), we will need to override the ivy user directory by specifying the spark.jars.ivy directory in the chart.

Currently, to fix the build issue, we have moved the spark.jars.ivy from the spark application chart to the dev values file to avoid the local test issue. However, since our local test is not using the docker container but only copy over the spark configuration from the yaml file to configure the spark session in the local environment, we should not copy spark.jars.ivy directory for the spark tester setup but leave it as default so that it can still use the default home directory and when we deploying the spark application to different environment, we don't need to set spark.jars.ivy path in the values file.

DOD

Acceptance criteria required to complete the work

Test Strategy/Script

How will this item be verified?

References/Additional Context

As needed

ewilkins-csi commented 19 hours ago

DoD/OTS looks good ✅