You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Dmitro Lisnichenko <dl...@hortonworks.com> on 2015/11/16 19:11:01 UTC
Review Request 40355: RU: Flume restart failed during downgrade
-----------------------------------------------------------
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
Re: Review Request 40355: RU: Flume restart failed during downgrade
Posted by Jonathan Hurley <jh...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/40355/#review106698
-----------------------------------------------------------
Ship it!
Ship It!
- Jonathan Hurley
On Nov. 16, 2015, 1:11 p.m., Dmitro Lisnichenko wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/40355/
> -----------------------------------------------------------
>
> (Updated Nov. 16, 2015, 1:11 p.m.)
>
>
> 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
>
>
Re: Review Request 40355: RU: Flume restart failed during downgrade
Posted by Jayush Luniya <jl...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/40355/#review106765
-----------------------------------------------------------
Ship it!
Ship It!
- Jayush Luniya
On Nov. 16, 2015, 6:11 p.m., Dmitro Lisnichenko wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/40355/
> -----------------------------------------------------------
>
> (Updated Nov. 16, 2015, 6:11 p.m.)
>
>
> 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
>
>