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




ambari-server/src/main/resources/common-services/ATLAS/0.1.0.2.3/package/scripts/service_check.py
 (line 36)
<https://reviews.apache.org/r/49198/#comment204575>

    This command needs to be executed as params.smoke_test_user, else it will 
not have access to the smoke test user's Kerberos ticket cache.



ambari-server/src/test/python/stacks/2.3/ATLAS/test_service_check.py (line 58)
<https://reviews.apache.org/r/49198/#comment204576>

    user = 'ambari-qa'


- Robert Levas


On June 24, 2016, 9:10 a.m., Dmitro Lisnichenko wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/49198/
> -----------------------------------------------------------
> 
> (Updated June 24, 2016, 9:10 a.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez and Dmytro Grinenko.
> 
> 
> Bugs: AMBARI-17427
>     https://issues.apache.org/jira/browse/AMBARI-17427
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Atlas Service Check should use smokeuser instead of atlas user.
> 
> {code}
> 2016-06-19 10:46:19,971 - Using hadoop conf dir: 
> /usr/hdp/current/hadoop-client/conf
> 2016-06-19 10:46:19,979 - Execute['/usr/bin/kinit -kt 
> /etc/security/keytabs/smokeuser.headless.keytab ambari-qa-...@example.com'] 
> {'user': 'atlas'}
> 2016-06-19 10:46:20,198 - Execute['curl --negotiate -u : -b ~/cookiejar.txt 
> -c ~/cookiejar.txt -s -o /dev/null -w "%{http_code}" 
> http://mneethiraj-0618-1.openstacklocal:21000/'] {'tries': 5, 'user': 
> 'atlas', 'try_sleep': 10}
> 2016-06-19 10:46:50,438 - Retrying after 10 seconds. Reason: Execution of 
> 'curl --negotiate -u : -b ~/cookiejar.txt -c ~/cookiejar.txt -s -o /dev/null 
> -w "%{http_code}" http://mneethiraj-0618-1.openstacklocal:21000/' returned 
> 52. 000
> 2016-06-19 10:47:30,610 - Retrying after 10 seconds. Reason: Execution of 
> 'curl --negotiate -u : -b ~/cookiejar.txt -c ~/cookiejar.txt -s -o /dev/null 
> -w "%{http_code}" http://mneethiraj-0618-1.openstacklocal:21000/' returned 
> 52. 000
> 2016-06-19 10:48:10,738 - Retrying after 10 seconds. Reason: Execution of 
> 'curl --negotiate -u : -b ~/cookiejar.txt -c ~/cookiejar.txt -s -o /dev/null 
> -w "%{http_code}" http://mneethiraj-0618-1.openstacklocal:21000/' returned 
> 52. 000
> 2016-06-19 10:48:50,863 - Retrying after 10 seconds. Reason: Execution of 
> 'curl --negotiate -u : -b ~/cookiejar.txt -c ~/cookiejar.txt -s -o /dev/null 
> -w "%{http_code}" http://mneethiraj-0618-1.openstacklocal:21000/' returned 
> 52. 000
> {code}
> 
> 
> Diffs
> -----
> 
>   
> ambari-server/src/main/resources/common-services/ATLAS/0.1.0.2.3/package/scripts/service_check.py
>  194a3fb 
>   ambari-server/src/test/python/stacks/2.3/ATLAS/test_service_check.py 
> 49395a7 
> 
> Diff: https://reviews.apache.org/r/49198/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test and test on live cluster
> 
> 
> Thanks,
> 
> Dmitro Lisnichenko
> 
>

Reply via email to