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

问题解决

相关推荐
莫白媛1 小时前
Linux在限制敏感命令下的修改用户密码小白版
linux·运维·服务器
数新网络1 小时前
告别“数据沼泽”,拥抱“活水湖”:数新智能基于CyberEngine与Apache Paimon的新一代数据湖仓架构
大数据
Rcnhtin2 小时前
RocketMQ
java·linux·rocketmq
实习僧企业版2 小时前
如何为中小企业点亮校招吸引力的灯塔
大数据·春招·雇主品牌·招聘技巧·口碑
想唱rap3 小时前
UDP套接字编程
服务器·网络·c++·网络协议·ubuntu·udp
塔能物联运维3 小时前
高密度机柜满载怎么办?热管理的“最后一厘米”:两相液冷
大数据
AC赳赳老秦3 小时前
OpenClaw多平台部署:Windows+Linux跨系统协同,实现全场景覆盖
linux·服务器·前端·网络·windows·deepseek·openclaw
念恒123063 小时前
进程--程序地址空间下篇(进程地址空间)
linux·c语言
___波子 Pro Max.3 小时前
Linux 外挂 SSD 根目录下的 `.Trash-1000` 到底是什么
linux
hhb_6184 小时前
Linux底层运维自动化挂载与磁盘分区实战指南
linux·运维·自动化