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

问题解决

相关推荐
洛阳纸贵12 小时前
JAVA高级工程师--Elasticsearch
大数据·elasticsearch·搜索引擎
咕噜咕噜啦啦12 小时前
ROS入门
linux·vscode·python
TracyCoder12312 小时前
ElasticSearch内存管理与操作系统(二):深入解析 Circuit Breakers(熔断器)机制
大数据·elasticsearch·搜索引擎
Yana.nice13 小时前
证书格式的适用场景与核心对比
java·linux
爱装代码的小瓶子13 小时前
【C++与Linux基础】文件篇(8)磁盘文件系统:从块、分区到inode与ext2
linux·开发语言·c++
PPPPPaPeR.13 小时前
程序地址空间
linux·算法
188号安全攻城狮13 小时前
【PWN】HappyNewYearCTF_9_ret2syscall
linux·汇编·安全·网络安全·系统安全
开开心心_Every13 小时前
Win10/Win11版本一键切换工具
linux·运维·服务器·edge·pdf·web3·共识算法
JiMoKuangXiangQu13 小时前
Linux 内存:kasan 监测访问越界案例
linux·kasan
怣5013 小时前
Linux创意命令组合:让终端变得有趣又高效
linux·运维·服务器