MainThread agent ERROR Could not determine hostname or ip address; proceeding.

来源:互联网 发布:java fast paxos算法 编辑:程序博客网 时间:2024/06/14 15:50


less /opt/cm-5.5.1/log/cloudera-scm-agent

/usr/lib64/cmf/agent/src/cmf/agent.py:24: DeprecationWarning: the sha module is deprecated; use the hashlib module insteadimport sha/usr/lib64/cmf/agent/src/cmf/monitor/host/network_interfaces.py:11: DeprecationWarning: the sets module is deprecatedfrom sets import Set[03/Nov/2012 21:27:37 +0000] 7692 MainThread agent ERROR Could not determine hostname or ip address; proceeding.Traceback (most recent call last):File "/usr/lib64/cmf/agent/src/cmf/agent.py", line 1204, in parse_argumentsip_address = socket.gethostbyname(fqdn)gaierror: [Errno -2] Name or service not knownusage: agent.py [-h] [--agent_dir AGENT_DIR][--agent_httpd_port AGENT_HTTPD_PORT] --package_dirPACKAGE_DIR [--supervisord_path SUPERVISORD_PATH][--supervisord_httpd_port SUPERVISORD_HTTPD_PORT][--standalone STANDALONE] [--master MASTER][--environment ENVIRONMENT] [--host_id HOST_ID][--disable_supervisord_events] [--disable_eager_heartbeats]--hostname HOSTNAME --ip_address IP_ADDRESS [--use_tls][--client_key_file CLIENT_KEY_FILE][--client_cert_file CLIENT_CERT_FILE][--verify_cert_file VERIFY_CERT_FILE][--client_keypw_file CLIENT_KEYPW_FILE] [--logfile LOGFILE][--optional_token] [--clear_agent_dir]agent.py: error: argument --hostname is required[03/Nov/2012 21:27:37 +0000] 7692 Dummy-1 agent INFO Stopping agent..


.这个错误是因为在/etc/hosts 里IP/hostname 的对应不正确,修好之后再点选Retry 。这个错误是因为在/etc/hosts里IP/hostname的对应不正确,修好之后再点选Retry 。 Cloudera Manager 会先把之前的所有操作rollback,回复到初始状态之后才重装。 Cloudera Manager 会先把之前的所有操作rollback,回复到初始状态之后才重装。



阅读全文
0 0
原创粉丝点击