Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

[Please Help Me] Error on Upgrading Cloudera Manager 5.7.0

Highlighted

[Please Help Me] Error on Upgrading Cloudera Manager 5.7.0

New Contributor

Dear all:

 

Recently, I upgraded cloudera manager to the lastest version 5.7.0. My original version is CDH 5.5.2

OS version is : Ubuntu 14.04.4 LTS

I followed the upgrading guideline according to http://www.cloudera.com/documentation/enterprise/5-5-x/topics/cm_ag_upgrade_cm5.html?scroll=cmig_top...

However, when I restart my cloudera-scm-agent service, it can not able to be triggered.

 

Here is the log for cloudera-scm-agent.log:

[13/Apr/2016 18:21:23 +0000] 2649 MainThread agent        ERROR    Failed to connect to previous supervisor.
Traceback (most recent call last):
  File "/usr/lib/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.7.0-py2.7.egg/cmf/agent.py", line 2003, in find_or_start_supervisor
    self.configure_supervisor_clients()
  File "/usr/lib/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.7.0-py2.7.egg/cmf/agent.py", line 2192, in configure_supervisor_clients
    supervisor_options.realize(args=["-c", os.path.join(self.supervisor_dir, "supervisord.conf")])
  File "/usr/lib/cmf/agent/build/env/lib/python2.7/site-packages/supervisor-3.0-py2.7.egg/supervisor/options.py", line 1578, in realize
    Options.realize(self, *arg, **kw)
  File "/usr/lib/cmf/agent/build/env/lib/python2.7/site-packages/supervisor-3.0-py2.7.egg/supervisor/options.py", line 312, in realize
    self.process_config()
  File "/usr/lib/cmf/agent/build/env/lib/python2.7/site-packages/supervisor-3.0-py2.7.egg/supervisor/options.py", line 320, in process_config
    self.process_config_file(do_usage)
  File "/usr/lib/cmf/agent/build/env/lib/python2.7/site-packages/supervisor-3.0-py2.7.egg/supervisor/options.py", line 355, in process_config_file
    self.usage(str(msg))
  File "/usr/lib/cmf/agent/build/env/lib/python2.7/site-packages/supervisor-3.0-py2.7.egg/supervisor/options.py", line 143, in usage
    self.exit(2)
SystemExit: 2
[13/Apr/2016 18:21:23 +0000] 2649 MainThread tmpfs        INFO     Successfully mounted tmpfs at /run/cloudera-scm-agent/process
[13/Apr/2016 18:21:24 +0000] 2649 MainThread agent        INFO     Trying to connect to newly launched supervisor (Attempt 1)
[13/Apr/2016 18:21:24 +0000] 2649 MainThread agent        ERROR    Failed! trying again in 1 second(s)
Traceback (most recent call last):
  File "/usr/lib/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.7.0-py2.7.egg/cmf/agent.py", line 2133, in connect_to_new_supervisor
    self.get_supervisor_process_info()
  File "/usr/lib/cmf/agent/build/env/lib/python2.7/site-packages/cmf-5.7.0-py2.7.egg/cmf/agent.py", line 2155, in get_supervisor_process_info
    self.identifier = self.supervisor_client.supervisor.getIdentification()
  File "/usr/lib/python2.7/xmlrpclib.py", line 1233, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1587, in __request
    verbose=self.__verbose
  File "/usr/lib/cmf/agent/build/env/lib/python2.7/site-packages/supervisor-3.0-py2.7.egg/supervisor/xmlrpc.py", line 460, in request
    self.connection.request('POST', handler, request_body, self.headers)
  File "/usr/lib/python2.7/httplib.py", line 979, in request
    self._send_request(method, url, body, headers)
  File "/usr/lib/python2.7/httplib.py", line 1013, in _send_request
    self.endheaders(body)
  File "/usr/lib/python2.7/httplib.py", line 975, in endheaders
    self._send_output(message_body)
  File "/usr/lib/python2.7/httplib.py", line 835, in _send_output
    self.send(msg)
  File "/usr/lib/python2.7/httplib.py", line 797, in send
    self.connect()
  File "/usr/lib/python2.7/httplib.py", line 778, in connect
    self.timeout, self.source_address)
  File "/usr/lib/python2.7/socket.py", line 571, in create_connection
    raise err
error: [Errno 111] Connection refused

 

Btw, I have checked the /etc/hosts file are all the same:

127.0.0.1       localhost
192.168.11.71    cloudera-71.cloudera.com        cloudera-71
192.168.11.72    cloudera-72.cloudera.com        cloudera-72
192.168.11.73    cloudera-73.cloudera.com        cloudera-73

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

And here is my /etc/network/interfaces setting:

# The primary network interface
auto em1
iface em1 inet static
        address 192.168.11.71
        netmask 255.255.255.0
        network 192.168.11.0
        broadcast 192.168.11.255
        gateway 192.168.11.1
        # dns-* options are implemented by the resolvconf package, if installed
        dns-nameservers 192.168.11.1
        dns-search cloudera.com

I have also checked the hostname -A:

python -c 'import socket; print socket.getfqdn(), socket.gethostbyname(socket.getfqdn())'

cloudera-71.cloudera.com 192.168.11.71
cloudera-72.cloudera.com 192.168.11.72
cloudera-73.cloudera.com 192.168.11.73

Can someone help me figure out the problem? I really not want to reinstall again. Thanks.

1 REPLY 1

Re: [Please Help Me] Error on Upgrading Cloudera Manager 5.7.0

New Contributor

Finally, I solved the problem. At the first time, I think is a incompatible with the operating system.

 

My ubuntu version is 14.04.4 LTS, kernel is 3.19.xx. So, when I downgraded kernel to 3.13.xx, there was not any connection refused issues.

 

Can cloudera document specify all the os requirements? In offical document, it just said 

  • Ubuntu - Trusty (14.04), Precise (12.04), Lucid (10.04) (deprecated), 64-bit

It's really confused that cdh 5.7.0 can't install on the latest ubuntu version.....