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

Ship it!


Ship It!

- Dmitro Lisnichenko


On March 3, 2015, 4:52 p.m., Andrew Onischuk wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/31684/
> -----------------------------------------------------------
> 
> (Updated March 3, 2015, 4:52 p.m.)
> 
> 
> Review request for Ambari and Dmitro Lisnichenko.
> 
> 
> Bugs: AMBARI-9901
>     https://issues.apache.org/jira/browse/AMBARI-9901
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> 2015-03-03 13:24:57,573 - Error while executing command 'service_check':
>     Traceback (most recent call last):
>       File 
> "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
>  line 208, in execute
>         method(env)
>       File 
> "/usr/lib/python2.6/site-packages/ambari_commons/os_family_impl.py", line 89, 
> in thunk
>         return fn(*args, **kwargs)
>       File 
> "/var/lib/ambari-agent/cache/common-services/KNOX/0.5.0.2.2/package/scripts/service_check.py",
>  line 69, in service_check
>         sudo=True
>       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 152, in run
>         self.run_action(resource, action)
>       File 
> "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", 
> line 118, in run_action
>         provider_action()
>       File 
> "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py",
>  line 276, in action_run
>         raise ex
>     Fail: String command '/usr/bin/python2.7 
> /var/lib/ambari-agent/data/tmp/validateKnoxStatus.py -p 8443 -n u1201.org' 
> cannot be run as sudo. Please supply the command as a tuple of arguments
> 
> 
> Diffs
> -----
> 
>   
> ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive.py
>  7b0113b 
>   
> ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_service.py
>  a66b0c8 
>   
> ambari-server/src/main/resources/common-services/KNOX/0.5.0.2.2/package/scripts/service_check.py
>  aa887a5 
>   ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hive_metastore.py 
> 912fe7e 
>   ambari-server/src/test/python/stacks/2.0.6/HIVE/test_hive_server.py c073d00 
>   ambari-server/src/test/python/stacks/2.1/HIVE/test_hive_metastore.py 
> aa8bc7f 
> 
> Diff: https://reviews.apache.org/r/31684/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Andrew Onischuk
> 
>

Reply via email to