ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-15614) Ha enabling failed when name in numeric
Date Tue, 29 Mar 2016 12:41:25 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-15614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andrew Onischuk updated AMBARI-15614:
-------------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Committed to trunk

> Ha enabling failed when name in numeric
> ---------------------------------------
>
>                 Key: AMBARI-15614
>                 URL: https://issues.apache.org/jira/browse/AMBARI-15614
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-15614.patch
>
>
>     Traceback (most recent call last):
>       File "/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/application_timeline_server.py",
line 147, in <module>
>         ApplicationTimelineServer().execute()
>       File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 219, in execute
>         method(env)
>       File "/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/application_timeline_server.py",
line 43, in start
>         self.configure(env) # FOR SECURITY
>       File "/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/application_timeline_server.py",
line 54, in configure
>         yarn(name='apptimelineserver')
>       File "/usr/lib/python2.6/site-packages/ambari_commons/os_family_impl.py", line
89, in thunk
>         return fn(*args, **kwargs)
>       File "/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/yarn.py",
line 268, in yarn
>         mode=0755
>       File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line
154, in __init__
>         self.env.run()
>       File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py",
line 158, in run
>         self.run_action(resource, action)
>       File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py",
line 121, in run_action
>         provider_action()
>       File "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/hdfs_resource.py",
line 461, in action_create_on_execute
>         self.action_delayed("create")
>       File "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/hdfs_resource.py",
line 458, in action_delayed
>         self.get_hdfs_resource_executor().action_delayed(action_name, self)
>       File "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/hdfs_resource.py",
line 246, in action_delayed
>         main_resource.resource.security_enabled, main_resource.resource.logoutput)
>       File "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/hdfs_resource.py",
line 133, in __init__
>         security_enabled, run_user)
>       File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/namenode_ha_utils.py",
line 155, in get_property_for_active_namenode
>         active_namenodes = get_namenode_states(hdfs_site, security_enabled, run_user)[0]
>       File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/namenode_ha_utils.py",
line 60, in get_namenode_states
>         return doRetries(hdfs_site, security_enabled, run_user)
>       File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/decorator.py",
line 48, in wrapper
>         return function(*args, **kwargs)
>       File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/namenode_ha_utils.py",
line 48, in doRetries
>         active_namenodes, standby_namenodes, unknown_namenodes = get_namenode_states_noretries(hdfs_site,
security_enabled, run_user)
>       File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/namenode_ha_utils.py",
line 71, in get_namenode_states_noretries
>         nn_unique_ids_key = 'dfs.ha.namenodes.' + name_service
>     TypeError: cannot concatenate 'str' and 'int' objects
>     



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message