diff --git a/dockerfile/hooks/check b/dockerfile/hooks/check index 1a6052cc79cb121ce49842f49e31f37cae3871f7..fbc3f8bd441801ebee455434ec7955157d66427b 100644 --- a/dockerfile/hooks/check +++ b/dockerfile/hooks/check @@ -16,6 +16,7 @@ # limitations under the License. # echo "------ dolphinscheduler check - server - status -------" +sleep 20 server_num=$(docker top `docker container list | grep startup | awk '{print $1}'`| grep java | grep "dolphinscheduler" | awk -F 'classpath ' '{print $2}' | awk '{print $2}' | sort | uniq -c | wc -l) if [ $server_num -eq 5 ] then