high-umbrella-19848
04/26/2024, 1:22 PMTraceback (most recent call last):
File "/usr/local/bin/pyflyte", line 5, in <module>
from flytekit.clis.sdk_in_container.pyflyte import main
File "/usr/local/lib/python3.11/site-packages/flytekit/__init__.py", line 305, in <module>
load_implicit_plugins()
File "/usr/local/lib/python3.11/site-packages/flytekit/__init__.py", line 301, in load_implicit_plugins
p.load()
File "/usr/local/lib/python3.11/importlib/metadata/__init__.py", line 202, in load
module = import_module(match.group('module'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/flytekitplugins/spark/__init__.py", line 20, in <module>
from .agent import DatabricksAgent
File "/usr/local/lib/python3.11/site-packages/flytekitplugins/spark/agent.py", line 12, in <module>
from flytekit.extend.backend.base_agent import AgentBase, AgentRegistry, convert_to_flyte_state, get_agent_secret
ImportError: cannot import name 'convert_to_flyte_state' from 'flytekit.extend.backend.base_agent' (/usr/local/lib/python3.11/site-packages/flytekit/extend/backend/base_agent.py)
In looking at the underlying code, it looks like those imports are missing. Im using the following versions in my project:
flytekit = "1.10.7"
flytekitplugins-async-fsspec = "1.10.7"
flytekitplugins-duckdb = "1.10.7"
flytekitplugins-deck-standard = "1.10.7"
flytekitplugins-polars = "1.10.7"
flytekitplugins-spark = "1.10.7"
flytekitplugins-pod = "1.10.7"
Is there something im missing?glamorous-carpet-83516
04/26/2024, 1:26 PMhigh-umbrella-19848
04/26/2024, 1:27 PMglamorous-carpet-83516
04/26/2024, 1:35 PMFile "/usr/local/lib/python3.11/site-packages/flytekitplugins/spark/agent.py", line 12, in <module>
from flytekit.extend.backend.base_agent import AgentBase, AgentRegistry, convert_to_flyte_state, get_agent_secret
hmm, but we already remove convert_to_flyte_state
from spark agent since flytekit==1.11.0
https://github.com/flyteorg/flytekit/pull/2123high-umbrella-19848
04/26/2024, 1:42 PMfreezing-airport-6809
high-umbrella-19848
04/26/2024, 3:38 PM[1/1] currentAttempt done. Last Error: USER::The node was low on resource: ephemeral-storage. Threshold quantity: 2146223340, available: 1752248Ki.
[flytesnacks-dev] terminated with ExitCode 0.
[primary] terminated with exit code (1). Reason [Error]. Message:
I mean, i get what it staying, but im not sure what ephemeral-storage means in the context of the plugin or flyte. any thoughts?high-umbrella-19848
04/26/2024, 3:39 PMglamorous-carpet-83516
04/26/2024, 3:41 PMglamorous-carpet-83516
04/26/2024, 3:41 PMhigh-umbrella-19848
04/26/2024, 3:42 PMglamorous-carpet-83516
04/26/2024, 3:45 PMglamorous-carpet-83516
04/26/2024, 3:46 PMglamorous-carpet-83516
04/26/2024, 3:46 PMhigh-umbrella-19848
04/26/2024, 3:47 PMspark_conf={
"spark.driver.memory": "5000M",
"spark.executor.memory": "5000M",
"spark.executor.cores": "2",
"spark.executor.instances": "2",
"spark.driver.cores": "2",
"ephemeralStorage":"1000Mi"
#"spark.jars": "<https://storage.googleapis.com/hadoop-lib/gcs/gcs-connector-hadoop3-latest.jar>",
}
glamorous-carpet-83516
04/26/2024, 3:47 PMhigh-umbrella-19848
04/26/2024, 3:47 PMlimits=Resources(mem="2000M"),
high-umbrella-19848
04/26/2024, 3:47 PMhigh-umbrella-19848
04/26/2024, 3:47 PMhigh-umbrella-19848
04/26/2024, 8:22 PM[1/1] currentAttempt done. Last Error: USER::Pod failed. No message received from kubernetes.
[flytesnacks-dev] terminated with ExitCode 0.
[primary] terminated with exit code (1). Reason [Error]. Message:
.
any thoughts on this?glamorous-carpet-83516
04/27/2024, 8:43 AM