You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Doroszlai, Attila (JIRA)" <ji...@apache.org> on 2018/04/18 14:22:00 UTC
[jira] [Created] (AMBARI-23610) Enable NameNode HA fails after
Ambari Upgrade due to AttributeError
Doroszlai, Attila created AMBARI-23610:
------------------------------------------
Summary: Enable NameNode HA fails after Ambari Upgrade due to AttributeError
Key: AMBARI-23610
URL: https://issues.apache.org/jira/browse/AMBARI-23610
Project: Ambari
Issue Type: Bug
Components: ambari-agent
Affects Versions: 2.7.0
Reporter: Doroszlai, Attila
Assignee: Doroszlai, Attila
Fix For: 2.7.0
STR
# Install a Ambari Cluster with Ambari 2.6.1
# Upgrade to Ambari 2.7
# Try to enable NameNode HA
Result:
{noformat}
Traceback (most recent call last):
File "/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/journalnode.py", line 143, in <module>
JournalNode().execute()
File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 353, in execute
method(env)
File "/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/journalnode.py", line 39, in install
import params
File "/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/params.py", line 25, in <module>
from params_linux import *
File "/var/lib/ambari-agent/cache/common-services/HDFS/2.1.0.2.0/package/scripts/params_linux.py", line 330, in <module>
if hostname.lower() in nn_host.lower() or public_hostname.lower() in nn_host.lower():
AttributeError: 'NoneType' object has no attribute 'lower'
{noformat}
Problem:
{noformat:title=command*json}
"public_hostname": null
{noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)