云主机测试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

问题解决

相关推荐
LT>_<几秒前
flink遇到的问题
大数据·python·flink
阿拉伯柠檬6 分钟前
MySQL基本查询
linux·数据库·mysql·面试
Ha_To7 分钟前
2025.12.24 Cisco防火墙ASA与动态PAT配置
linux·服务器·网络
一人の梅雨7 分钟前
京东店铺全商品接口深度解析:从层级穿透到数据资产化重构
大数据·信息可视化
艾莉丝努力练剑13 分钟前
Al Ping免费上新:GLM-4.7 && MiniMaxM2.1重磅上线,附独家使用教程
java·大数据·linux·运维·人工智能·python
semantist@语校16 分钟前
第五十七篇|东京银星日本语学校的数据建模:高密度城市中的学习节律、制度边界与 Prompt 接口设计
大数据·数据库·人工智能·学习·百度·prompt·知识图谱
代码游侠16 分钟前
学习笔记——TCP 传输控制协议
linux·网络·笔记·网络协议·学习·tcp/ip
无代码专家18 分钟前
无代码技术:企业全场景数字化的降本增效新范式
大数据·人工智能·低代码·云计算
zhendianluli19 分钟前
为什么fclose处理的是file而不是fd
linux·服务器·网络
牙牙70520 分钟前
部署SFTP服务
linux·服务器·网络