-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/46006/#review128087
-----------------------------------------------------------


Ship it!




Ship It!

- Dmytro Sen


On Апрель 11, 2016, 9:04 д.п., Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/46006/
> -----------------------------------------------------------
> 
> (Updated Апрель 11, 2016, 9:04 д.п.)
> 
> 
> Review request for Ambari, Dmytro Sen and Sumit Mohanty.
> 
> 
> Bugs: AMBARI-15798
>     https://issues.apache.org/jira/browse/AMBARI-15798
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> This single VM cluster is available for few more hours.
> 
>     
>     
>     
>     172.22.89.190     smb2-1.novalocal        smb2-1
>     
> 
> **Error**
>     
>     
>     
>     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 149, in <module>
>         ApplicationTimelineServer().execute()
>       File 
> "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
>  line 244, in execute
>         self.save_component_version_to_structured_out()
>       File 
> "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
>  line 166, in save_component_version_to_structured_out
>         component_name = self.get_component_name()
>       File 
> "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
>  line 152, in get_component_name
>         stack_to_component = self.get_stack_to_component()
>       File 
> "/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/application_timeline_server.py",
>  line 67, in get_stack_to_component
>         import params
>       File 
> "/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/params.py",
>  line 28, in <module>
>         from params_linux import *
>       File 
> "/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.0/package/scripts/params_linux.py",
>  line 36, in <module>
>         import status_params
>       File 
> "/var/lib/ambari-agent/cache/common-services/YARN/2.1.0.2.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 94, in format
>         return ConfigurationFormatter().format(format_string, args, **result)
>       File 
> "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/format.py",
>  line 58, 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 571, in _vformat
>         obj, arg_used = self.get_field(field_name, args, kwargs)
>       File "/usr/lib64/python2.7/string.py", line 632, in get_field
>         obj = self.get_value(first, args, kwargs)
>       File "/usr/lib64/python2.7/string.py", line 591, in get_value
>         return kwargs[key]
>     KeyError: 'yarn_pid_dir_prefix'
>     
> 
> This does not seem to happen on centos6.
> 
> 
> Diffs
> -----
> 
>   
> ambari-common/src/main/python/resource_management/libraries/functions/format.py
>  7126971 
> 
> Diff: https://reviews.apache.org/r/46006/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>

Reply via email to