spark_on_k8s.utils.run¶
See the reference overview for supported entry points and task guides. A module may also contain helpers outside the documented public API.
RunHandle
dataclass
¶
Stable identity of a submitted run, without credentials or live client state.
Source code in spark_on_k8s/utils/run.py
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | |
to_dict()
¶
Return JSON-serializable identity fields.
Source code in spark_on_k8s/utils/run.py
29 30 31 32 33 34 | |
WaitDeadline
¶
A monotonic timeout shared by polling, requests, and log streaming.
Source code in spark_on_k8s/utils/run.py
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | |
validate_max_runtime(value, name='max_runtime')
¶
Validate an optional driver lifetime in whole seconds; None means no limit.
Source code in spark_on_k8s/utils/run.py
11 12 13 14 15 16 17 | |