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

问题解决

相关推荐
星环科技TDH社区版3 分钟前
星环科技产品可存储的表格式功能介绍以及创建示例
大数据·数据库
百度Geek说22 分钟前
百度垂搜数据管理系统弹性调度优化实践
大数据·搜索引擎
白鲸开源3 小时前
DSIP-91提案解读:简化工作流调试和发布的方案,等你来探讨!
大数据
漫漫求5 小时前
Ubuntu 绑定Conda
chrome·ubuntu·conda
K·Herbert5 小时前
最新CentOS 7 yum源失效的解决方案(2025年6月)
linux·运维·centos
C++ 老炮儿的技术栈5 小时前
VSCode -配置为中文界面
大数据·c语言·c++·ide·vscode·算法·编辑器
别骂我h5 小时前
部署KVM虚拟化平台
linux·运维·服务器
繢鴻5 小时前
紧急救援!Ubuntu崩溃修复大赛
linux·服务器·ubuntu
白鲸开源5 小时前
SQL Server CDC 机制全解:如何用 SeaTunnel 构建高效实时数据同步方案
大数据
小巫程序Demo日记6 小时前
Spark简介脑图
大数据·笔记·spark