dvjyothsna commented on a change in pull request #1536: DRILL-6039: Fixed drillbit.sh script to do graceful shutdown URL: https://github.com/apache/drill/pull/1536#discussion_r235547065
########## File path: distribution/src/resources/drillbit.sh ########## @@ -192,6 +201,10 @@ start_bit ( ) echo $procId > $pidFile # Yeah, $pidFile is a file, $procId is the pid... echo $! > $pidFile sleep 1 + #remove any previous uncleaned graceful file + if [ -f "$GRACEFUL_FILE" ]; then + rm $GRACEFUL_FILE Review comment: The error thrown by rm is currently logged to console. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
