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


Ship it!




Ship It!

- Sumit Mohanty


On July 18, 2016, 9:37 p.m., Ajit Kumar wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/50159/
> -----------------------------------------------------------
> 
> (Updated July 18, 2016, 9:37 p.m.)
> 
> 
> Review request for Ambari, Jayush Luniya, Sumit Mohanty, and Swapan Shridhar.
> 
> 
> Bugs: AMBARI-17776
>     https://issues.apache.org/jira/browse/AMBARI-17776
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> HiveServer interactive stop should wait for 30 second before sending hard 
> kill command
> 
> 
> Diffs
> -----
> 
>   
> ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive_service_interactive.py
>  1edcdca 
>   ambari-server/src/test/python/stacks/2.5/HIVE/test_hive_server_int.py 
> 2a0674d 
> 
> Diff: https://reviews.apache.org/r/50159/diff/
> 
> 
> Testing
> -------
> 
> Manually tested.
> 
> 2016-07-18 20:41:53,026 - Execute['! (ls /var/run/hive/hive-interactive.pid 
> >/dev/null 2>&1 && ps -p 541 >/dev/null 2>&1)'] {'tries': 10, 'try_sleep': 3}
> 2016-07-18 20:41:53,059 - Retrying after 3 seconds. Reason: Execution of '! 
> (ls /var/run/hive/hive-interactive.pid >/dev/null 2>&1 && ps -p 541 
> >/dev/null 2>&1)' returned 1. 
> 2016-07-18 20:41:56,082 - Retrying after 3 seconds. Reason: Execution of '! 
> (ls /var/run/hive/hive-interactive.pid >/dev/null 2>&1 && ps -p 541 
> >/dev/null 2>&1)' returned 1. 
> 2016-07-18 20:41:59,103 - Retrying after 3 seconds. Reason: Execution of '! 
> (ls /var/run/hive/hive-interactive.pid >/dev/null 2>&1 && ps -p 541 
> >/dev/null 2>&1)' returned 1. 
> 2016-07-18 20:42:02,126 - Retrying after 3 seconds. Reason: Execution of '! 
> (ls /var/run/hive/hive-interactive.pid >/dev/null 2>&1 && ps -p 541 
> >/dev/null 2>&1)' returned 1. 
> 2016-07-18 20:42:05,150 - Retrying after 3 seconds. Reason: Execution of '! 
> (ls /var/run/hive/hive-interactive.pid >/dev/null 2>&1 && ps -p 541 
> >/dev/null 2>&1)' returned 1. 
> 2016-07-18 20:42:08,171 - Retrying after 3 seconds. Reason: Execution of '! 
> (ls /var/run/hive/hive-interactive.pid >/dev/null 2>&1 && ps -p 541 
> >/dev/null 2>&1)' returned 1. 
> 2016-07-18 20:42:11,195 - Retrying after 3 seconds. Reason: Execution of '! 
> (ls /var/run/hive/hive-interactive.pid >/dev/null 2>&1 && ps -p 541 
> >/dev/null 2>&1)' returned 1. 
> 2016-07-18 20:42:14,217 - Retrying after 3 seconds. Reason: Execution of '! 
> (ls /var/run/hive/hive-interactive.pid >/dev/null 2>&1 && ps -p 541 
> >/dev/null 2>&1)' returned 1. 
> 2016-07-18 20:42:17,240 - Retrying after 3 seconds. Reason: Execution of '! 
> (ls /var/run/hive/hive-interactive.pid >/dev/null 2>&1 && ps -p 541 
> >/dev/null 2>&1)' returned 1. 
> 2016-07-18 20:42:20,262 - Execute['ambari-sudo.sh kill -9 541'] {'not_if': '! 
> (ls /var/run/hive/hive-interactive.pid >/dev/null 2>&1 && ps -p 541 
> >/dev/null 2>&1) '}
> 2016-07-18 20:42:20,298 - Execute['! (ls /var/run/hive/hive-interactive.pid 
> >/dev/null 2>&1 && ps -p 541 >/dev/null 2>&1)'] {'tries': 20, 'try_sleep': 3}
> 2016-07-18 20:42:20,316 - Retrying after 3 seconds. Reason: Execution of '! 
> (ls /var/run/hive/hive-interactive.pid >/dev/null 2>&1 && ps -p 541 
> >/dev/null 2>&1)' returned 1. 
> 2016-07-18 20:42:23,338 - File['/var/run/hive/hive-interactive.pid'] 
> {'action': ['delete']}
> 2016-07-18 20:42:23,338 - Deleting File['/var/run/hive/hive-interactive.pid']
> 2016-07-18 20:42:23,338 - Stopping LLAP
> 
> 
> Thanks,
> 
> Ajit Kumar
> 
>

Reply via email to