Nifi无法在HDF 3.3.0升级上启动

时间:2019-10-03 22:59:31

标签: python-2.7 apache-nifi cloudera ambari cloudera-manager

在Ambari 2.7.3中从HDF 3.1.0到3.3.0进行快速升级时,Nifi无法使用以下日志重新启动。即使将降级升级到3.1.0,Nifi仍然无法重新启动,并出现相同的错误。以下是安装过程中的错误。请让我知道如何解决此问题。非常感谢您的帮助

Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/common-services/NIFI/1.0.0/package/scripts/nifi.py", line 304, in <module>
    Master().execute()
  File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 352, in execute
    method(env)
  File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 1006, in restart
    self.start(env, upgrade_type=upgrade_type)
  File "/var/lib/ambari-agent/cache/common-services/NIFI/1.0.0/package/scripts/nifi.py", line 143, in start
    self.configure(env, is_starting = True)
  File "/var/lib/ambari-agent/cache/common-services/NIFI/1.0.0/package/scripts/nifi.py", line 111, in configure
    self.write_configurations(params, is_starting)
  File "/var/lib/ambari-agent/cache/common-services/NIFI/1.0.0/package/scripts/nifi.py", line 231, in write_configurations
    self.write_files(params)
  File "/var/lib/ambari-agent/cache/common-services/NIFI/1.0.0/package/scripts/nifi.py", line 295, in write_files
    boostrap_notification_content=config_utils.append_xml_content(params.nifi_boostrap_notification_content, params.nifi_boostrap_notification_dict)
  File "/var/lib/ambari-agent/cache/common-services/NIFI/1.0.0/package/scripts/config_utils.py", line 27, in append_xml_content
    original_config_root = ElementTree.fromstring(original_evaluated_config)
  File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1301, in XML
    parser.feed(text)
  File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1643, in feed
    self._raiseerror(v)
  File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1507, in _raiseerror
    raise err
xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 27, column 29

0 个答案:

没有答案