最近在搭建新的hadoop集群的时候发现已经配置过互信的机器中有一台ssh登录的时候会出现如下提示:
[hadoop@hadoop207 ~]$ ssh hadoop208
Last login: Thu Jan 28 16:43:22 2016 from hadoop207.tadu.cn
-bash: ulimit: open files: cannot modify limit: Operation not permitted
你只需要修改/etc/security/limits.conf,加入下面内容就行了
# End of file
* soft nofile 819200
* hard nofile 819200