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

问题解决

相关推荐
captain_AIouo6 分钟前
Captain AI打造OZON全员协同智能工具
大数据·人工智能·经验分享·aigc
Maguyusi10 分钟前
Ubuntu26.04 编译 abseil-cpp protobuf v33.6
linux·protobuf·abseil
念恒1230610 分钟前
基础IO(文件缓冲区)
linux·c语言·c++
杰建云16711 分钟前
商家小程序有什么用
大数据·apache
吃着火锅x唱着歌13 分钟前
LeetCode 726.原子的数量
linux·算法·leetcode
剑神一笑16 分钟前
Linux tree 命令深度解析:从目录遍历到树形可视化的完整实现
linux·运维·elasticsearch
财经资讯数据_灵砚智能37 分钟前
基于全球经济类多源新闻的NLP情感分析与数据可视化(夜间-次晨)2026年5月11日
大数据·人工智能·python·信息可视化·自然语言处理
夏日听雨眠1 小时前
Linux(printf函数输出问题,exit ,主函数参数,fork函数,文件系统调用)
linux·运维·服务器
2501_934440231 小时前
只做中外合作办学,并且把它做深、做精
大数据·人工智能
阿火~1 小时前
linux部署nacos【无脑简单版】【支持ARM版本和X86版本】
linux·运维·服务器