You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by Joice Jacob <jo...@gmail.com> on 2022/12/07 12:51:02 UTC

Issue: Enable Hadoop Namenode HA

A cluster is deployed in Docker using a script in BigTop Stack
Provisioner. I tried to enable Hadoop name node HA but Ambari UI is
not loading in step 7. Therefore, further steps cannot be taken.
Below are its logs and screenshots.

RROR 2022-12-07 12:32:11,428 alert_ha_namenode_health.py:185 - [Alert]
NameNode High Availability Health on ambari-server fails:
Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/alerts/alert_ha_namenode_health.py",
line 175, in execute
    state_response = get_jmx(jmx_uri, connection_timeout)
  File "/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/alerts/alert_ha_namenode_health.py",
line 206, in get_jmx
    response = urllib2.urlopen(query, timeout=connection_timeout)
  File "/usr/lib64/python2.7/urllib2.py", line 154, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib64/python2.7/urllib2.py", line 431, in open
    response = self._open(req, data)
  File "/usr/lib64/python2.7/urllib2.py", line 449, in _open
    '_open', req)
  File "/usr/lib64/python2.7/urllib2.py", line 409, in _call_chain
    result = func(*args)
  File "/usr/lib64/python2.7/urllib2.py", line 1244, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "/usr/lib64/python2.7/urllib2.py", line 1214, in do_open
    raise URLError(err)
URLError: <urlopen error [Errno 111] Connection refused>
ERROR 2022-12-07 12:32:11,437 alert_ha_namenode_health.py:185 -
[Alert] NameNode High Availability Health on ambari-server fails:
Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/alerts/alert_ha_namenode_health.py",
line 175, in execute
    state_response = get_jmx(jmx_uri, connection_timeout)
  File "/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/alerts/alert_ha_namenode_health.py",
line 206, in get_jmx
    response = urllib2.urlopen(query, timeout=connection_timeout)
  File "/usr/lib64/python2.7/urllib2.py", line 154, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib64/python2.7/urllib2.py", line 431, in open
    response = self._open(req, data)
  File "/usr/lib64/python2.7/urllib2.py", line 449, in _open
    '_open', req)
  File "/usr/lib64/python2.7/urllib2.py", line 409, in _call_chain
    result = func(*args)
  File "/usr/lib64/python2.7/urllib2.py", line 1244, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "/usr/lib64/python2.7/urllib2.py", line 1214, in do_open
    raise URLError(err)
URLError: <urlopen error [Errno 111] Connection refused>



Thanks
Joice