Skip to content

Commit

Permalink
[AIRFLOW-XXX] Fix spark submit hook KeyError (#4578)
Browse files Browse the repository at this point in the history
Fix string format KeyError in spark_submit_hook.py
  • Loading branch information
zhongjiajie authored and ashb committed Jan 25, 2019
1 parent 78ed4d0 commit 66eeaf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airflow/contrib/hooks/spark_submit_hook.py
Expand Up @@ -137,7 +137,7 @@ def __init__(self,
self._is_kubernetes = 'k8s' in self._connection['master']
if self._is_kubernetes and kube_client is None:
raise RuntimeError(
"{master} specified by kubernetes dependencies are not installed!".format(
"{} specified by kubernetes dependencies are not installed!".format(
self._connection['master']))

self._should_track_driver_status = self._resolve_should_track_driver_status()
Expand Down

0 comments on commit 66eeaf7

Please sign in to comment.