开发者

Enabling Hadoop Namenode HA in Apache ambari using Bigtop

开发者 https://www.devze.com 2022-12-07 18:34 出处:网络
I Cloned the Bigtop code from Github, built RPMS, and installed the Hadoop cluster using Ambari. The Hadoop cluster had 3 nodes. When the name node HA is enabled from Ambari, the services do not star

I Cloned the Bigtop code from Github, built RPMS, and installed the Hadoop cluster using Ambari. The Hadoop cluster had 3 nodes. When the name node HA is enabled from Ambari, the services do not start in step 7( Start Components ), so forward steps cannot be performed. Ambari agent throws some errors when it comes to step 7.

Ambari-2.7.5 Hadoop-3.3.4 Zookeeper-3.5.9 Linux server: Centos-7

In Ambari agent i开发者_JS百科 am getting the following the error in the log.

INFO 2022-12-05 13:58:37,440 init.py:82 - Event from server at /user/ (correlation_id=227): {u'status': u'OK'} ERROR 2022-12-05 13:58:37,704 alert_ha_namenode_health.py:185 - [Alert] NameNode High Availability Health on instance-5 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>

Ambari UI While trying to Enable HA

0

精彩评论

暂无评论...
验证码 换一张
取 消