云主机测试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 分钟前
(198页PPT)罗兰贝格绿都地产集团战略咨询规划项目建议书(附下载方式)
大数据·人工智能
idolao2 分钟前
PE启动盘制作与启动教程 Windows版:NTFS格式化+一键制作+双模式引导指南
linux·运维·服务器
黎阳之光4 分钟前
黎阳之光:港口智能体集群,重塑智慧港口新范式
大数据·人工智能·算法·安全·数字孪生
档案宝档案管理7 分钟前
智慧档案管理系统是什么?档案宝功能深度解析
大数据·数据库·人工智能·档案管理
花无缺就是我11 分钟前
内网穿透哪个好,之神卓互联Linux版Arm安装教程2026最新
linux·运维·arm开发
QYR-分析14 分钟前
全地形轮足机器人行业发展分析:分类、格局与市场机遇
大数据·人工智能·机器人
HalvmånEver18 分钟前
MySQL的数据类型(二)
linux·学习·mysql
xuxie9919 分钟前
N27 数据库UI
linux·c#
Run_Teenage20 分钟前
Linux:理解中断
linux·运维·服务器
ybwycx22 分钟前
PostgreSQL 中进行数据导入和导出
大数据·数据库·postgresql