问题描述
今天在配置Hadoop集群之后,运行start-dfs.sh和start-yarn.sh时,命令行会出现couldn't get a file descriptor referring to the console;
不影响实际运行效果,后发现许多命令都会出现这个,不知是何原因。
问题出现的平台版本及自己尝试过哪些方法
LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Distributor ID: CentOS
Description: CentOS release 6.10 (Final)
Release: 6.10
Codename: Final
相关代码
[shineu@hdp01 /opt/hadoop-2.7.7]$ ssh hdp02
Last login: Thu Jul 25 17:25:04 2019 from 192.168.3.1
Couldn't get a file descriptor referring to the console
[shineu@hdp01 ~]$ start-yarn.sh
starting yarn daemons
starting resourcemanager, logging to /opt/hadoop-2.7.7/logs/yarn-shineu-resourcemanager-hdp01.out
hdp02: Couldn't get a file descriptor referring to the console
hdp05: Couldn't get a file descriptor referring to the console
hdp04: Couldn't get a file descriptor referring to the console
hdp02: starting nodemanager, logging to /opt/hadoop-2.7.7/logs/yarn-shineu-nodemanager-hdp02.out
hdp05: starting nodemanager, logging to /opt/hadoop-2.7.7/logs/yarn-shineu-nodemanager-hdp05.out
hdp04: starting nodemanager, logging to /opt/hadoop-2.7.7/logs/yarn-shineu-nodemanager-hdp04.out