Avoid meaningless output from grep command
@@ -25,7 +25,7 @@ function hadoop_master_container(){
}
function check_hadoop() {
- docker exec $(hadoop_master_container) supervisorctl status hive-server2 | grep -i running
+ docker exec $(hadoop_master_container) supervisorctl status hive-server2 | grep -iq running
}
function stop_unnecessary_hadoop_services() {
@@ -46,7 +46,7 @@ function check_presto() {
run_in_application_runner_container \
java -jar "/docker/volumes/presto-cli/presto-cli-executable.jar" \
${CLI_ARGUMENTS} \
- --execute "SHOW CATALOGS" | grep -i hive
+ --execute "SHOW CATALOGS" | grep -iq hive
}
function run_product_tests() {
