Ari Huttunen
06/16/2023, 8:16 AM2023-06-16 11:13:05,718 WARN org.apache.flink.runtime.state.filesystem.FsCheckpointStreamFactory [] - Could not close the state stream for <s3p://some-bucket/flink.internal.checkpoints/18c1d780196f5badf2a4a83d7452d300/chk-1/24f92907-26eb-409d-bb73-da00443b4602>.
java.io.IOException: No space left on device
The partition where Flink is installed does not have much space space, and neither does /tmp, but we've tried moving everything to a partition that has a lot more storage, like this:
io.tmp.dirs: {{ flink_tmp_dir }}
process.working-dir: {{ flink_tmp_dir }}
web.tmpdir: {{ flink_tmp_dir }}
historyserver.web.tmpdir: {{ flink_tmp_dir }}
jobmanager.archive.fs.dir: {{ flink_tmp_dir }}
jobmanager.web.tmpdir: {{ flink_tmp_dir }}
jobmanager.web.upload.dir: {{ flink_tmp_dir }}
web.upload.dir: {{ flink_tmp_dir }}
env.log.dir: {{ flink_log_dir }}
S3 is not full. Nothing gets full locally as far as I can see with df -h.
Any suggestions?
Edit: I also tried installing Flink to a partition that has lots of space, but it didn't help. That partition is meant for data, so I moved it back.Martijn Visser
06/16/2023, 11:09 AMAri Huttunen
06/16/2023, 11:16 AMMartijn Visser
06/16/2023, 11:27 AMAri Huttunen
06/16/2023, 12:00 PMAri Huttunen
06/16/2023, 12:01 PMAri Huttunen
06/16/2023, 12:07 PMMartijn Visser
06/16/2023, 12:34 PM```As far as I know when uploading a file to S3, the writer needs to first
create some temporary files on the local disks. I would suggest to double
check all of the partitions on the local machine and monitor available disk
space continuously while the job is running.```Could that be the case here as well?
Ari Huttunen
06/16/2023, 5:21 PMAri Huttunen
06/16/2023, 5:46 PM/tmp is small, you should try setting the s3.staging-directory:/somewhere/tmp option in flink-conf.yaml. It's not in the manual, I believe.