ex)
vi /etc/hosts아래와 같이 IP, hostname 순서대로 추가
192.168.100.10 HOSTNAME
에러 메시지
###CLOUDERA_SCM### AGENT_STARTBEGIN /sbin/service cloudera-scm-agent status | grep running
END (1)
BEGIN /sbin/service cloudera-scm-agent start
Starting cloudera-scm-agent: ESC[60G[ESC[0;31mFAILEDESC[0;39m]
END (1)
agent logs:
BEGIN tail -n 50 /var/log/cloudera-scm-agent//cloudera-scm-agent.out | sed 's/^/>>/'
>>/usr/lib64/cmf/agent/src/cmf/parcel.py:15: DeprecationWarning: the sets module is deprecated
>> from sets import Set
>>[27/Mar/2015 08:39:27 +0000] 10369 MainThread agent INFO SCM Agent Version: 5.3.2
>>[27/Mar/2015 08:39:28 +0000] 10369 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 2028, in parse_arguments
>> ip_address = socket.gethostbyname(fqdn)
>>gaierror: [Errno -2] Name or service not known
>>usage: agent.py [-h] [--agent_dir AGENT_DIR] [--lib_dir LIB_DIR]
>> [--orphan_process_directory_staleness_threshold ORPHAN_PROCESS_DIRECTORY_STALENESS_THRESHOLD]
>> [--orphan_process_directory_refresh_interval ORPHAN_PROCESS_DIRECTORY_REFRESH_INTERVAL]
>> [--agent_httpd_port AGENT_HTTPD_PORT] --package_dir
>> PACKAGE_DIR [--parcel_dir PARCEL_DIR]
>> [--supervisord_path SUPERVISORD_PATH]
>> [--supervisord_httpd_port SUPERVISORD_HTTPD_PORT]
>> [--standalone STANDALONE] [--master MASTER]
>> [--environment ENVIRONMENT] [--host_id HOST_ID]
>> [--disable_supervisord_events] --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]
>> [--verify_cert_dir VERIFY_CERT_DIR]
>> [--client_keypw_file CLIENT_KEYPW_FILE]
>> [--max_cert_depth MAX_CERT_DEPTH] [--logfile LOGFILE]
>> [--logdir LOGDIR] [--optional_token] [--clear_agent_dir]
>> [--sudo_command SUDO_COMMAND]
>>agent.py: error: argument --hostname is required
>>[27/Mar/2015 08:39:28 +0000] 10369 Dummy-1 agent INFO Stopping agent...
>>/usr/lib64/cmf/agent/src/cmf/parcel.py:15: DeprecationWarning: the sets module is deprecated
>> from sets import Set
>>[27/Mar/2015 08:39:27 +0000] 10369 MainThread agent INFO SCM Agent Version: 5.3.2
>>[27/Mar/2015 08:39:28 +0000] 10369 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 2028, in parse_arguments
>> ip_address = socket.gethostbyname(fqdn)
>>gaierror: [Errno -2] Name or service not known
>>usage: agent.py [-h] [--agent_dir AGENT_DIR] [--lib_dir LIB_DIR]
>> [--orphan_process_directory_staleness_threshold ORPHAN_PROCESS_DIRECTORY_STALENESS_THRESHOLD]
>> [--orphan_process_directory_refresh_interval ORPHAN_PROCESS_DIRECTORY_REFRESH_INTERVAL]
>> [--agent_httpd_port AGENT_HTTPD_PORT] --package_dir
>> PACKAGE_DIR [--parcel_dir PARCEL_DIR]
>> [--supervisord_path SUPERVISORD_PATH]
>> [--supervisord_httpd_port SUPERVISORD_HTTPD_PORT]
>> [--standalone STANDALONE] [--master MASTER]
>> [--environment ENVIRONMENT] [--host_id HOST_ID]
>> [--disable_supervisord_events] --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]
>> [--verify_cert_dir VERIFY_CERT_DIR]
>> [--client_keypw_file CLIENT_KEYPW_FILE]
>> [--max_cert_depth MAX_CERT_DEPTH] [--logfile LOGFILE]
>> [--logdir LOGDIR] [--optional_token] [--clear_agent_dir]
>> [--sudo_command SUDO_COMMAND]
>>agent.py: error: argument --hostname is required
>>[27/Mar/2015 08:39:28 +0000] 10369 Dummy-1 agent INFO Stopping agent...
END (0)
BEGIN tail -n 50 /var/log/cloudera-scm-agent//cloudera-scm-agent.log | sed 's/^/>>/'
tail: tail: cannot open `/var/log/cloudera-scm-agent//cloudera-scm-agent.log' for reading: No such file or directory
END (0)
end of agent logs.
scm agent could not be started, giving up
waiting for rollback request
###CLOUDERA_SCM### WAITING_FOR_ROLLBACK
cannot open `/var/log/cloudera-scm-agent//cloudera-scm-agent.log' for reading: No such file or directory
detected rollback request
rolling back installation
###CLOUDERA_SCM### ROLLBACK
rollback started
###CLOUDERA_SCM### AGENT_STOP
BEGIN /sbin/service cloudera-scm-agent stop
cloudera-scm-agent is already stopped
END (0)
scm agent stopped
댓글 없음:
댓글 쓰기