JournalNode failed to restart

Install cluster
Enable Namenode HA
Start RU
"Zookeeper" is completed
"Core Masters" failed on RESTART HDFS/JOURNALNODE:

Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/journalnode.py", line 158, in <module>
    JournalNode().execute()
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 184, in execute
    method(env)
  File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 350, in restart
    self.post_rolling_restart(env)
  File "/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/journalnode.py", line 72, in post_rolling_restart
    journalnode_upgrade.post_upgrade_check()
  File "/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/journalnode_upgrade.py", line 66, in post_upgrade_check
    success = ensure_jns_have_new_txn(all_journal_node_hosts, last_txn_id)
  File "/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/journalnode_upgrade.py", line 133, in ensure_jns_have_new_txn
    data = get_jmx_data(url, 'Journal-', 'LastWrittenTxId')
  File "/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/utils.py", line 241, in get_jmx_data
    data = urllib2.urlopen(nn_address).read()
  File "/usr/lib64/python2.6/urllib2.py", line 126, in urlopen
    return _opener.open(url, data, timeout)
  File "/usr/lib64/python2.6/urllib2.py", line 391, in open
    response = self._open(req, data)
  File "/usr/lib64/python2.6/urllib2.py", line 409, in _open
    '_open', req)
  File "/usr/lib64/python2.6/urllib2.py", line 369, in _call_chain
    result = func(*args)
  File "/usr/lib64/python2.6/urllib2.py", line 1198, in https_open
    return self.do_open(httplib.HTTPSConnection, req)
  File "/usr/lib64/python2.6/urllib2.py", line 1165, in do_open
    raise URLError(err)
urllib2.URLError: <urlopen error [Errno 111] Connection refused>

https://issues.apache.org/jira/browse/AMBARI-9408

posted @ 2019-04-17 10:42  大数据从业者FelixZh  阅读(397)  评论(0编辑  收藏  举报