在Yarn上部署时,会把所有的LOCAL_DIRS都设置为io.tmp.dirs。这样在某些情况下可以达到更好的性能
因为这个本来就是用来存放临时文件的,不存在高可用的问题。 如果有一块盘坏掉,目前YARN只能保证新起的container不再使用这块盘,现有正在使用这个盘的container不会处理 所以,只能等container自己失败退出了 Best, Yang 鲁成祥 <[email protected]> 于2021年11月15日周一 下午8:30写道: > 目前Flink Yarn集群上 io.tmp.dirs 统一配置了 /mnt/ssd/0/xxx,/mnt/ssd/1/xxx 两个磁盘路径, > 最近遇到其中一块盘挂掉的情况, 一些job出现异常,一些并没有, > 官方文档对这个配置的解释为: > > io.tmp.dirs: The directories where Flink puts local data, defaults to the > system temp directory (java.io.tmpdir property). If a list of > directories is configured, Flink will rotate files across the directories. > > > > 有人可以帮解释下出现坏盘的影响面,以及这块高可用的实现情况吗?
