Support Questions

Find answers, ask questions, and share your expertise

"cloudera-scm-agnet start" fails

avatar
Explorer

sudo service cloudera-scm-agent start

 

Starting cloudera-scm-agent:                               [FAILED]

 

 

cat /var/log/cloudera-scm-agent/cloudera-scm-agent.out

 

/usr/lib64/cmf/agent/src/cmf/parcel.py:15: DeprecationWarning: the sets module is deprecated
  from sets import Set
[28/May/2015 03:02:38 +0000] 718741 MainThread agent        INFO     SCM Agent Version: 5.4.0
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
                [--reported_hostname REPORTED_HOSTNAME] [--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

 

 

can you please let me know whats wrong here.

1 ACCEPTED SOLUTION

avatar
Explorer
Thanks Gautam that was with dns , we have resolved the issue. thanks for your help.

View solution in original post

2 REPLIES 2

avatar
What does "hostname -A" show on this host?
Do you use /etc/hosts or DNS for name resolution?
What OS is this on and do you have other nodes running successfully in this
cluster?

Regards,
Gautam Gopalakrishnan

avatar
Explorer
Thanks Gautam that was with dns , we have resolved the issue. thanks for your help.