Added killpg to kill process groups for better cleanup. Also, made sure setsid always succeeds (contributed by Vinod Kone, https://reviews.apache.org/r/5260).
Added killpg to kill process groups for better cleanup. Also, made
sure setsid always succeeds (contributed by Vinod Kone,
https://reviews.apache.org/r/5260).

git-svn-id: 03d7800a49d8905ef4fbcc296184319e19243493@1344469 13f79535-47bb-0310-9956-ffa450edef68

Aman-Jain-14/customizedMesos,yuquanshan/customizedMesos,enachb/mesos,asamerh4/mesos,chhsia0/mesos,reneploetz/mesos,asamerh4/mesos,reneploetz/mesos,kaysoky/mesos,dforsyth/mesos,verizonlabs/mesos,verizonlabs/mesos,chhsia0/mesos,zmalik/mesos,jpeach/mesos,neilconway/mesos,andschwa/mesos,abudnik/mesos,kaysoky/mesos,asamerh4/mesos,reneploetz/mesos,kaysoky/mesos,gsantovena/mesos,gsantovena/mesos,abudnik/mesos,yuquanshan/customizedMesos,dforsyth/mesos,gsantovena/mesos,andschwa/mesos,verizonlabs/mesos,reneploetz/mesos,abudnik/mesos,zmalik/mesos,zmalik/mesos,zmalik/mesos,abudnik/mesos,asamerh4/mesos,jpeach/mesos,dforsyth/mesos,yuquanshan/customizedMesos,kaysoky/mesos,abudnik/mesos,gsantovena/mesos,neilconway/mesos,gsantovena/mesos,jpeach/mesos,dforsyth/mesos,enachb/mesos,jpeach/mesos,Gilbert88/mesos,craimbert/mesos,kaysoky/mesos,reneploetz/mesos,yuquanshan/customizedMesos,kaysoky/mesos,craimbert/mesos,chhsia0/mesos,enachb/mesos,wickman/mesos,neilconway/mesos,enachb/mesos,zmalik/mesos,wickman/mesos,Aman-Jain-14/customizedMesos,craimbert/mesos,verizonlabs/mesos,kaysoky/mesos,jpeach/mesos,yuquanshan/customizedMesos,andschwa/mesos,Aman-Jain-14/customizedMesos,craimbert/mesos,asamerh4/mesos,yuquanshan/customizedMesos,Gilbert88/mesos,wickman/mesos,dforsyth/mesos,andschwa/mesos,dforsyth/mesos,andschwa/mesos,gsantovena/mesos,enachb/mesos,chhsia0/mesos,Aman-Jain-14/customizedMesos,reneploetz/mesos,wickman/mesos,neilconway/mesos,craimbert/mesos,reneploetz/mesos,craimbert/mesos,jpeach/mesos,jpeach/mesos,yuquanshan/customizedMesos,Gilbert88/mesos,neilconway/mesos,neilconway/mesos,andschwa/mesos,dforsyth/mesos,wickman/mesos,Aman-Jain-14/customizedMesos,craimbert/mesos,chhsia0/mesos,wickman/mesos,abudnik/mesos,Aman-Jain-14/customizedMesos,wickman/mesos,gsantovena/mesos,Gilbert88/mesos,andschwa/mesos,abudnik/mesos,Aman-Jain-14/customizedMesos,Gilbert88/mesos,enachb/mesos,chhsia0/mesos,asamerh4/mesos,enachb/mesos,neilconway/mesos,Gilbert88/mesos,verizonlabs/mesos,zmalik/mesos,Gilbert88/mesos,verizonlabs/mesos,verizonlabs/mesos,chhsia0/mesos,zmalik/mesos,asamerh4/mesos