-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/40355/
-----------------------------------------------------------
Review request for Ambari, Alejandro Fernandez, Jonathan Hurley, Jayush Luniya,
and Nate Cole.
Bugs: AMBARI-13909
https://issues.apache.org/jira/browse/AMBARI-13909
Repository: ambari
Description
-------
During Downgrade Flume restart failed
No live cluster.
{code}
Traceback (most recent call last):
File
\"/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY/scripts/hook.py\",
line 35, in <module>
BeforeAnyHook().execute()
File
\"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py\",
line 218, in execute
method(env)
File
\"/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY/scripts/hook.py\",
line 29, in hook
setup_users()
File
\"/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY/scripts/shared_initialization.py\",
line 70, in setup_users
create_tez_am_view_acls()
File
\"/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY/scripts/shared_initialization.py\",
line 94, in create_tez_am_view_acls
if not params.tez_am_view_acls.startswith(\"*\"):
File
\"/usr/lib/python2.6/site-packages/resource_management/libraries/script/config_dictionary.py\",
line 81, in __getattr__
raise Fail(\"Configuration parameter '\" + self.name + \"' was not found in
configurations dictionary!\")
resource_management.core.exceptions.Fail: Configuration parameter
'tez.am.view-acls' was not found in configurations dictionary!
Error: Error: Unable to run the custom hook script ['/usr/bin/python2.6',
'/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY/scripts/hook.py',
'ANY', '/var/lib/ambari-agent/data/command-2302.json',
'/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-ANY',
'/var/lib/ambari-agent/data/structured-out-2302.json', 'INFO',
'/var/lib/ambari-agent/tmp']Error: Error: Unable to run the custom hook script
['/usr/bin/python2.6',
'/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START/scripts/hook.py',
'START', '/var/lib/ambari-agent/data/command-2302.json',
'/var/lib/ambari-agent/cache/stacks/HDP/2.0.6/hooks/before-START',
'/var/lib/ambari-agent/data/structured-out-2302.json', 'INFO',
'/var/lib/ambari-agent/tmp']
{code}
Diffs
-----
ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/params.py
a3eb969
Diff: https://reviews.apache.org/r/40355/diff/
Testing
-------
mvn clean test
Thanks,
Dmitro Lisnichenko