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

问题解决

相关推荐
青木9601 分钟前
前后端开发调试运行技巧
linux·服务器·前端·后端·npm·uv
生活观察站1 分钟前
淄博抖音推广公司实测评测2026年更新:效果与性价比双维度对比
大数据·人工智能
c++之路3 分钟前
C++ 模板
linux·开发语言·c++
我是发哥哈17 分钟前
三款主流AI视频生成模型商用能力对比与选型分析
大数据·人工智能·学习·ai·chatgpt·aigc·音视频
为美好的生活献上中指19 分钟前
本地虚拟机部署redis集群
前端·redis·ubuntu·bootstrap·html·redis集群
云动课堂19 分钟前
【运维实战】MySQL 8.0 数据库 · 一键自动化部署方案 (适配银河麒麟 V10 / 龙蜥 8 / Rocky Linux 8 / CentOS 8)
linux·运维·数据库
cui_ruicheng20 分钟前
Linux进程间通信(一):管道与IPC基础
linux·运维·服务器
万岳科技程序员小金21 分钟前
AI互联网医院系统源码开发详解:智能在线问诊、预约挂号、电子处方一站式搭建
大数据·人工智能
Lumos_77727 分钟前
Linux -- 互斥锁
linux
treesforest41 分钟前
IP查询接口调用完全指南:从入门到企业级实战
大数据·网络·安全·网络安全·ip