Spark-sql 运行提示too many open files

来源:互联网 发布:ue软件 编辑:程序博客网 时间:2024/05/01 19:07

设置/etc/security/limits.conf

在结尾# End of file下添加

* soft nofile 65536
* hard nofile 65536
* soft nproc 65536
* hard nproc 65536


解释:nofile---最大文件打开数

            nproc---最大进程数

0 0