Skip to content

Commit

Permalink
fix(airflow): fix spark_history_ui_link by removing -driver suffix (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
hussein-awala authored May 13, 2024
1 parent 376b083 commit 03bc979
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spark_on_k8s/airflow/operators.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def _persist_spark_history_ui_link(self, context: Context):
context,
self,
spark_on_k8s_service_url=self.spark_on_k8s_service_url,
spark_app_id=self._driver_pod_name,
spark_app_id=self._driver_pod_name[: -len("-driver")],
)

def _try_to_adopt_job(self, context: Context, spark_app_manager: SparkAppManager) -> bool:
Expand Down

0 comments on commit 03bc979

Please sign in to comment.