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

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