Open danking opened 1 year ago
It seems to only occur when I use bp.read_input(..) to localize many files per job. Above a certain number of input files (many thousands), I started getting this error.
Clarifying for future devs: the Batch.read_input is probably just causing the script to grow large enough that we start using scripts which need to be uploaded separately from the job.
Attempting to replicate with
In [6]: import hailtop.batch as hb
...: b = hb.Batch(backend=hb.ServiceBackend())
...: for _ in range(300):
...: j = b.new_job()
...: j.command(f'echo {"a" * 11 * 1024}')
...: b.run()
triggers https://github.com/hail-is/hail/issues/14051. I'll try to fix both.
What happened?
https://hail.zulipchat.com/#narrow/stream/223457-Hail-Batch-support/topic/Too.20many.20open.20files.20exception
Version
0.2.124
Relevant log output