You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description :
I am deploying my ScheduledSparkApplication and SparkApplication using a custom Helm chart. When I upgrade my Helm chart and change spec.schedule (the execution time or date) of my ScheduledSparkApplication, the new time is correctly reflected in Rancher. However, the ScheduledSparkApplication does not execute when the specified time arrives.
To resolve this issue, I have to manually delete the existing ScheduledSparkApplication, and then perform the Helm upgrade again to recreate them. After this manual process, the applications execute as expected at the new scheduled time.
Deploy a ScheduledSparkApplication using a custom Helm chart.
Upgrade the Helm chart and change the spec.schedule (the execution time or date).
Check that the new time is correctly reflected in Rancher (UI shows the updated schedule).
Wait for the scheduled execution time to arrive.
Observe that the Spark scheduled application does not execute at the scheduled time.
Expected Behavior
The Spark scheduled application should execute at the new time after upgrading the Helm chart and modifying the schedule, without the need to manually delete and recreate the scheduled Spark application.
Actual Behavior
The Spark scheduled application does not execute at the updated time unless the existing scheduled application is deleted and recreated through a Helm upgrade.
Possible Cause
It seems that the Helm upgrade correctly updates the schedule metadata in the UI (Rancher), but the actual Spark scheduled application does not receive the trigger or update needed to execute the job at the newly set time.
Workaround
The current workaround is to manually delete the existing scheduled Spark applications and perform the Helm upgrade again. This recreates the scheduled applications with the correct execution time, allowing them to run as expected.
The text was updated successfully, but these errors were encountered:
Maybe it has something to do with this issue? #2285
since you have to remove the resources and upgrade the helm chart to push back the resources? (whatever the status)
TheDevilDan
changed the title
[BUG] Report: Spark Scheduled Application Fails to Execute After Helm Chart Upgrade
[BUG] Report: ScheduledSparkApplication Fails to Execute After Helm Chart Upgrade
Oct 30, 2024
Hi, are there any updates on this? I am also facing this issue where a change to spec.schedule does not cause the app to start at the expected time. When changing the schedule it will be logged in the controller with Reconciling ScheduledSparkApplication {"name": ...
Description :
I am deploying my ScheduledSparkApplication and SparkApplication using a custom Helm chart. When I upgrade my Helm chart and change spec.schedule (the execution time or date) of my ScheduledSparkApplication, the new time is correctly reflected in Rancher. However, the ScheduledSparkApplication does not execute when the specified time arrives.
To resolve this issue, I have to manually delete the existing ScheduledSparkApplication, and then perform the Helm upgrade again to recreate them. After this manual process, the applications execute as expected at the new scheduled time.
Steps to Reproduce
Expected Behavior
The Spark scheduled application should execute at the new time after upgrading the Helm chart and modifying the schedule, without the need to manually delete and recreate the scheduled Spark application.
Actual Behavior
The Spark scheduled application does not execute at the updated time unless the existing scheduled application is deleted and recreated through a Helm upgrade.
Environment Details
Kubernetes version: 1.28
Spark-operator version: 2.0.2
Helm chart version: spark-operator-2.0.2
Rancher version: 2.9.2
Possible Cause
It seems that the Helm upgrade correctly updates the schedule metadata in the UI (Rancher), but the actual Spark scheduled application does not receive the trigger or update needed to execute the job at the newly set time.
Workaround
The current workaround is to manually delete the existing scheduled Spark applications and perform the Helm upgrade again. This recreates the scheduled applications with the correct execution time, allowing them to run as expected.
The text was updated successfully, but these errors were encountered: