ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-21173) Not able to start Yarn services after restoring the configs to initial value
Date Mon, 21 Aug 2017 22:26:00 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-21173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16135940#comment-16135940
] 

Hudson commented on AMBARI-21173:
---------------------------------

SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #7916 (See [https://builds.apache.org/job/Ambari-trunk-Commit/7916/])
AMBARI-21173. Not able to start Yarn services after restoring the (vbrodetskyi: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=5895040c8a3374012c11f0e351c8ba631a689ae7])
* (edit) ambari-server/src/main/java/org/apache/ambari/server/state/cluster/ClusterImpl.java


> Not able to start Yarn services after restoring the configs to initial value
> ----------------------------------------------------------------------------
>
>                 Key: AMBARI-21173
>                 URL: https://issues.apache.org/jira/browse/AMBARI-21173
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 3.0.0
>            Reporter: Sumana Sathish
>            Assignee: Vitaly Brodetskyi
>            Priority: Blocker
>             Fix For: 3.0.0
>
>         Attachments: AMBARI-21173.patch
>
>
> Change Yarn-site.xml to some custom configs and restart Yarn
> Restore it back to the origin config; Restart fails
> {Code}
> Traceback (most recent call last):
>   File "/var/lib/ambari-agent/cache/common-services/YARN/3.0.0.3.0/package/scripts/nodemanager.py",
line 106, in <module>
>     Nodemanager().execute()
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 330, in execute
>     method(env)
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 835, in restart
>     self.stop(env, upgrade_type=upgrade_type)
>   File "/var/lib/ambari-agent/cache/common-services/YARN/3.0.0.3.0/package/scripts/nodemanager.py",
line 45, in stop
>     import params
>   File "/var/lib/ambari-agent/cache/common-services/YARN/3.0.0.3.0/package/scripts/params.py",
line 29, in <module>
>     from params_linux import *
>   File "/var/lib/ambari-agent/cache/common-services/YARN/3.0.0.3.0/package/scripts/params_linux.py",
line 39, in <module>
>     import status_params
>   File "/var/lib/ambari-agent/cache/common-services/YARN/3.0.0.3.0/package/scripts/status_params.py",
line 46, in <module>
>     yarn_pid_dir = format("{yarn_pid_dir_prefix}/{yarn_user}")
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/format.py",
line 95, in format
>     return ConfigurationFormatter().format(format_string, args, **result)
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/format.py",
line 59, in format
>     result_protected = self.vformat(format_string, args, all_params)
>   File "/usr/lib64/python2.7/string.py", line 549, in vformat
>     result = self._vformat(format_string, args, kwargs, used_args, 2)
>   File "/usr/lib64/python2.7/string.py", line 582, in _vformat
>     result.append(self.format_field(obj, format_spec))
>   File "/usr/lib64/python2.7/string.py", line 599, in format_field
>     return format(value, format_spec)
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/config_dictionary.py",
line 73, in __getattr__
>     raise Fail("Configuration parameter '" + self.name + "' was not found in configurations
dictionary!")
> resource_management.core.exceptions.Fail: Configuration parameter 'yarn-env' was not
found in configurations dictionary!
> {Code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message