云主机测试Flink磁盘满问题解决

问题描述:

使用云主机测试Flink时,根目录满了。 经排查发现运行Flink任务后根目录空间一直在减少,最后定位持续增加的目录是/tmp目录

解决方法:

修改Flink配置使用一个相对较大的磁盘目录做为Flink运行时目录

Override the directories for temporary files. If not specified, the

system-specific Java temporary directory (java.io.tmpdir property) is taken.

For framework setups on Yarn, Flink will automatically pick up the

containers' temp directories without any need for configuration.

Add a delimited list for multiple directories, using the system directory

delimiter (colon ':' on unix) or a comma, e.g.:

/data1/tmp:/data2/tmp:/data3/tmp

Note: Each directory entry is read from and written to by a different I/O

thread. You can include the same directory multiple times in order to create

multiple I/O threads against that directory. This is for example relevant for

high-throughput RAIDs.

io.tmp.dirs: /dev/shm/tmp

问题解决

相关推荐
BestOrNothing_20156 小时前
(2)联想拯救者安装 Ubuntu 双系统前的 BIOS 设置全过程
linux·bios·拯救者·ubuntu22.04·联想lenovo
23.6 小时前
【Linux】grep命令终极指南
linux
巨斧空间掌门6 小时前
JDK17 下载 windows Linux
linux·运维·服务器
AI+程序员在路上7 小时前
CANopen 协议:介绍、调试命令与应用
linux·c语言·开发语言·网络
learndiary7 小时前
2026.03.12~2026.03.19制作的共7个视频及简介
linux·视频·学习日记小店
一段佳话^cyx7 小时前
详解逻辑回归(Logistic Regression):原理、推导、实现与实战
大数据·算法·机器学习·逻辑回归
JiMoKuangXiangQu7 小时前
Linux:ARM64 中断处理简析
linux·arm64 中断
zhou lily8 小时前
SaaS模式下的企业服务创新与数字化转型:战略重构与价值落地
大数据
小生不才yz8 小时前
【Makefile 专家之路 | 函数篇】11. 终极奥义:eval 函数——动态生成规则的“核武器”
linux
皮卡蛋炒饭.8 小时前
进程得控制
linux·运维·服务器