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.

Installation fails while registering agents

Highlighted

Installation fails while registering agents

Explorer

Hi, I'm not able to register hosts while installing hadoop via ambari. Below I've posted the error log as well. Please help. thanks,

ERROR 2016-06-24 10:57:25,609 script_alert.py:119 - [Alert][yarn_nodemanager_health] Failed with result CRITICAL: ['HTTP 503 returned from http://verhad3.ind.hp.com:8042/ws/v1/node/info (HTTP Error 503: Service Unavailable) \nTraceback (most recent call last):\n  File "/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/alerts/alert_nodemanager_health.py", line 171, in execute\n    url_response = urllib2.urlopen(query, timeout=connection_timeout)\n  File "/usr/lib64/python2.6/urllib2.py", line 126, in urlopen\n    return _opener.open(url, data, timeout)\n  File "/usr/lib64/python2.6/urllib2.py", line 397, in open\n    response = meth(req, response)\n  File "/usr/lib64/python2.6/urllib2.py", line 510, in http_response\n    \'http\', request, response, code, msg, hdrs)\n  File "/usr/lib64/python2.6/urllib2.py", line 435, in error\n    return self._call_chain(*args)\n  File "/usr/lib64/python2.6/urllib2.py", line 369, in _call_chain\n    result = func(*args)\n  File "/usr/lib64/python2.6/urllib2.py", line 518, in http_error_default\n    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)\nHTTPError: HTTP Error 503: Service Unavailable\n']
INFO 2016-06-24 10:57:36,579 logger.py:71 - call['test -w /'] {'sudo': True, 'timeout': 5}
INFO 2016-06-24 10:57:36,588 logger.py:71 - call returned (0, '')
INFO 2016-06-24 10:57:36,590 logger.py:71 - call['test -w /dev/shm'] {'sudo': True, 'timeout': 5}
INFO 2016-06-24 10:57:36,599 logger.py:71 - call returned (0, '')
INFO 2016-06-24 10:57:36,600 logger.py:71 - call['test -w /boot'] {'sudo': True, 'timeout': 5}
INFO 2016-06-24 10:57:36,609 logger.py:71 - call returned (0, '')
INFO 2016-06-24 10:57:36,610 logger.py:71 - call['test -w /home'] {'sudo': True, 'timeout': 5}
INFO 2016-06-24 10:57:36,619 logger.py:71 - call returned (0, '')
INFO 2016-06-24 10:57:36,620 logger.py:71 - call['test -w /isoimage'] {'sudo': True, 'timeout': 5}
INFO 2016-06-24 10:57:36,629 logger.py:71 - call returned (1, '')
INFO 2016-06-24 10:57:36,630 logger.py:71 - call['test -w /var/run/cloudera-scm-agent/process'] {'sudo': True, 'timeout': 5}
INFO 2016-06-24 10:57:36,638 logger.py:71 - call returned (0, '')


8 REPLIES 8
Highlighted

Re: Installation fails while registering agents

@Aman Mundra

This error indicates that the "NodeManager" services are causing the issue.

['HTTP 503 returned from http://verhad3.ind.hp.com:8042/ws/v1/node/info 
(HTTP Error 503: Service Unavailable) 

Can you check this host and the NodeManager logs to find out what error you see in the NodeManager logs.

Highlighted

Re: Installation fails while registering agents

Explorer

Where shoild I look for node manager logs Joy ?

Highlighted

Re: Installation fails while registering agents

Super Guru
@Aman Mundra

Please check answer given by Joy above. Can you please let me know if you are/were running cloudera hadoop on same node? I can see cloudera's agent directory in the logs.

INFO 2016-06-2410:57:36,630 logger.py:71- call['test -w /var/run/cloudera-scm-agent/process']{'sudo':True,'timeout':5}
Highlighted

Re: Installation fails while registering agents

Explorer

yea kuldeep we tried to install cloudera also but then removed everything before trying hortonworks. Don't know how it's coming now, seems like it's not erased properly.

Highlighted

Re: Installation fails while registering agents

Explorer

@Arman you can find logs by default in: /var/log/hadoop-yarn/yarn/

Highlighted

Re: Installation fails while registering agents

@Aman Mundra

Which version of Hadoop are you using? Is it a HDP stack?

Highlighted

Re: Installation fails while registering agents

Explorer

It's the latest version only. and yes HDP stack. but know how cloudera references are there in the log.

Highlighted

Re: Installation fails while registering agents

Mentor

@Aman Mundra

There is ambiguity with the failes cloudera install,,,,, Do a clean host OS install and retry

Don't have an account?
Coming from Hortonworks? Activate your account here