bored-gold-11634
11/04/2024, 9:38 AMpyflyte run --remote pyspark_pi.py my_spark
(from the Flytesnacks examples).
While Spark seems to execute, I keep getting the following error:
Traceback (most recent call last):
...
ValueError: ZIP does not support timestamps before 1980
I’m a bit stuck, as I can't seem to find what's causing the issue. Has anyone encountered this error before or have any insights into what might be happening?
Thanks so much for any help you can provide! 🙏freezing-airport-6809
bored-gold-11634
11/05/2024, 4:08 PMTraceback (most recent call last):
File "/opt/micromamba/envs/runtime/lib/python3.9/site-packages/flytekit/bin/entrypoint.py", line 126, in _dispatch_execute
outputs = task_def.dispatch_execute(ctx, idl_input_literals)
File "/opt/micromamba/envs/runtime/lib/python3.9/site-packages/flytekit/core/base_task.py", line 719, in dispatch_execute
new_user_params = self.pre_execute(ctx.user_space_params)
File "/opt/micromamba/envs/runtime/lib/python3.9/site-packages/flytekitplugins/spark/task.py", line 207, in pre_execute
shutil.make_archive(file_name, file_format, os.getcwd())
File "/opt/micromamba/envs/runtime/lib/python3.9/shutil.py", line 1093, in make_archive
filename = func(base_name, base_dir, **kwargs)
File "/opt/micromamba/envs/runtime/lib/python3.9/shutil.py", line 990, in _make_zipfile
zf.write(path, path)
File "/opt/micromamba/envs/runtime/lib/python3.9/zipfile.py", line 1748, in write
zinfo = ZipInfo.from_file(filename, arcname,
File "/opt/micromamba/envs/runtime/lib/python3.9/zipfile.py", line 519, in from_file
zinfo = cls(arcname, date_time)
File "/opt/micromamba/envs/runtime/lib/python3.9/zipfile.py", line 362, in __init__
raise ValueError('ZIP does not support timestamps before 1980')
Message:
ValueError: ZIP does not support timestamps before 1980