云主机测试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 小时前
侦查实战中心大数据应用
大数据·人工智能·计算机视觉·数据挖掘·音视频
oMcLin1 小时前
Linux服务器出现“Out of Memory”错误,如何通过调整swap、hugepages等配置来缓解内存压力
linux·服务器·jenkins
徐同保1 小时前
Git Commit message规范(Git提交信息规范)
大数据·git·elasticsearch
Jet_582 小时前
Linux 下安装与运行 checkra1n 全流程指南(含依赖修复与系统检测)
linux·ubuntu·ios逆向·checkra1n·ios越狱·libncurses5·系统依赖修复
码农很忙2 小时前
解锁数据库迁移新姿势:让AI真正“可用、可信、可落地”
大数据·人工智能
珠海西格电力2 小时前
零碳园区如何吸引企业入驻?
大数据·物联网·产品运营·能源
liulilittle2 小时前
CLANG 交叉编译
linux·服务器·开发语言·前端·c++
justwaityou13142 小时前
010银发经济需求与产品矩阵:商业与社会责任的双模实践
大数据·银发经济·养老
Chlittle_rabbit3 小时前
50系显卡在Ubuntu22.04环境下安装nvidia驱动+CUDA+cuDNN,anaconda下配置pytorch环境一站式解决方案(2025年7月版本)已完结!!!
linux·人工智能·pytorch·深度学习·ubuntu
一步一个脚印一个坑3 小时前
如何建立精细化运营体系
大数据