You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Dmitry Lysnichenko (JIRA)" <ji...@apache.org> on 2014/07/28 20:22:39 UTC

[jira] [Resolved] (AMBARI-6641) Restart command fails on HDP-1.3.2 stack

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

Dmitry Lysnichenko resolved AMBARI-6641.
----------------------------------------

    Resolution: Fixed

committed to trunk

> Restart command fails on HDP-1.3.2 stack
> ----------------------------------------
>
>                 Key: AMBARI-6641
>                 URL: https://issues.apache.org/jira/browse/AMBARI-6641
>             Project: Ambari
>          Issue Type: Task
>          Components: controller
>    Affects Versions: 1.7.0
>            Reporter: Dmitry Lysnichenko
>            Assignee: Dmitry Lysnichenko
>             Fix For: 1.7.0
>
>
> I assume that it is caused by commit "AMBARI-6531. Config attributes should be propagated to and persisted by Ambari agents. "
> STR:
> # Install HDP 1.3.2 cluster (4 nodes in my case)
> # Add custom core-site property of HDFS
> # Click "Restart all" on "restart required" prompt of HDFS service
> {code}
> 2014-07-23 17:43:22,021 - Error while executing command 'restart':
> Traceback (most recent call last):
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 113, in execute
>     method(env)
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 223, in restart
>     self.start(env)
>   File "/var/lib/ambari-agent/cache/stacks/HDP/1.3.2/services/HDFS/package/scripts/datanode.py", line 36, in start
>     self.configure(env)
>   File "/var/lib/ambari-agent/cache/stacks/HDP/1.3.2/services/HDFS/package/scripts/datanode.py", line 49, in configure
>     hdfs()
>   File "/var/lib/ambari-agent/cache/stacks/HDP/1.3.2/services/HDFS/package/scripts/hdfs.py", line 50, in hdfs
>     group=params.user_group
>   File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 148, in __init__
>     self.env.run()
>   File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 149, in run
>     self.run_action(resource, action)
>   File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 115, in run_action
>     provider_action()
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/providers/xml_config.py", line 60, in action_create
>     mode = self.resource.mode
>   File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 148, in __init__
>     self.env.run()
>   File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 149, in run
>     self.run_action(resource, action)
>   File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 115, in run_action
>     provider_action()
>   File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 96, in action_create
>     content = self._get_content()
>   File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 136, in _get_content
>     return content()
>   File "/usr/lib/python2.6/site-packages/resource_management/core/source.py", line 47, in __call__
>     return self.get_content()
>   File "/usr/lib/python2.6/site-packages/resource_management/core/source.py", line 126, in get_content
>     rendered = self.template.render(self.context)
>   File "/usr/lib/python2.6/site-packages/jinja2/environment.py", line 891, in render
>     return self.environment.handle_exception(exc_info, True)
>   File "<template>", line 8, in top-level template code
>   File "/usr/lib/python2.6/site-packages/jinja2/environment.py", line 371, in getattr
>     return getattr(obj, attribute)
>   File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/config_dictionary.py", line 75, in __getattr__
>     raise Fail("Configuration parameter '"+self.name+"' was not found in configurations dictionary!")
> Fail: Configuration parameter 'hadoop_policy' was not found in configurations dictionary!
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)