improved error handling for system test server startup
improved error handling for system test server startup

Capture stderr and stdout when process is dead; only kill if it isn't
already dead.

Patch by Sammy Yu; reviewed by eevans for CASSANDRA-306

git-svn-id: 1e8683751772dd0ef52a45d586103b4a82d616ff@794951 13f79535-47bb-0310-9956-ffa450edef68

ollie314/cassandra,mt0803/cassandra,jasobrown/cassandra,aureagle/cassandra,spodkowinski/cassandra,mariusae/cassandra,xiongzheng/Cassandra-Research,pkdevbox/cassandra,ollie314/cassandra,josh-mckenzie/cassandra,dkua/cassandra,jsanda/cassandra,rogerchina/cassandra,tjake/cassandra,Stratio/stratio-cassandra,sharvanath/cassandra,stef1927/cassandra,dprguiuc/Cassandra-Wasef,bcoverston/cassandra,belliottsmith/cassandra,sedulam/CASSANDRA-12201,Bj0rnen/cassandra,kangkot/stratio-cassandra,clohfink/cassandra,modempachev4/kassandra,sharvanath/cassandra,wreda/cassandra,ejankan/cassandra,scylladb/scylla-tools-java,MasahikoSawada/cassandra,swps/cassandra,leomrocha/cassandra,nvoron23/cassandra,Bj0rnen/cassandra,jrwest/cassandra,fengshao0907/cassandra-1,michaelmior/cassandra,bpupadhyaya/cassandra,miguel0afd/cassandra-cqlMod,stef1927/cassandra,DikangGu/cassandra,EnigmaCurry/cassandra,kgreav/cassandra,blerer/cassandra,matthewtt/cassandra_read,jeromatron/cassandra,guanxi55nba/db-improvement,heiko-braun/cassandra,segfault/apache_cassandra,helena/cassandra,beobal/cassandra,phact/cassandra,swps/cassandra,adelapena/cassandra,nakomis/cassandra,juiceblender/cassandra,DavidHerzogTU-Berlin/cassandraToRun,iamaleksey/cassandra,mike-tr-adamson/cassandra,jbellis/cassandra,snazy/cassandra,qinjin/mdtc-cassandra,yangzhe1991/cassandra,driftx/cassandra,Stratio/stratio-cassandra,spodkowinski/cassandra,aarushi12002/cassandra,pbailis/cassandra-pbs,szhou1234/cassandra,yukim/cassandra,scaledata/cassandra,pcmanus/cassandra,iamaleksey/cassandra,jkni/cassandra,jasonwee/cassandra,pauloricardomg/cassandra,mshuler/cassandra,mashuai/Cassandra-Research,yonglehou/cassandra,taigetco/cassandra_read,sivikt/cassandra,nitsanw/cassandra,b/project-cassandra,yukim/cassandra,emolsson/cassandra,shawnkumar/cstargraph,jeromatron/cassandra,tjake/cassandra,tommystendahl/cassandra,krummas/cassandra,thobbs/cassandra,weideng1/cassandra,jasonstack/cassandra,regispl/cassandra,ifesdjeen/cassandra,mariusae/cassandra,scylladb/scylla-tools-java,bcoverston/apache-hosted-cassandra,Bj0rnen/cassandra,DavidHerzogTU-Berlin/cassandra,mklew/mmp,guanxi55nba/key-value-store,hhorii/cassandra,iburmistrov/Cassandra,spodkowinski/cassandra,yanbit/cassandra,DikangGu/cassandra,mheffner/cassandra-1,blerer/cassandra,michaelsembwever/cassandra,boneill42/cassandra,josh-mckenzie/cassandra,shookari/cassandra,rogerchina/cassandra,newrelic-forks/cassandra,sammyyu/Cassandra,modempachev4/kassandra,LatencyUtils/cassandra-stress2,dprguiuc/Cassandra-Wasef,mklew/mmp,boneill42/cassandra,jsanda/cassandra,bcoverston/cassandra,ptuckey/cassandra,christian-esken/cassandra,rmarchei/cassandra,juiceblender/cassandra,mariusae/cassandra,stuhood/cassandra-old,vaibhi9/cassandra,jasobrown/cassandra,mambocab/cassandra,szhou1234/cassandra,AtwooTM/cassandra,rackerlabs/cloudmetrics-cassandra,bmel/cassandra,kangkot/stratio-cassandra,thobbs/cassandra,sluk3r/cassandra,cooldoger/cassandra,DikangGu/cassandra,gdusbabek/cassandra,iburmistrov/Cassandra,nlalevee/cassandra,bpupadhyaya/cassandra,likaiwalkman/cassandra,project-zerus/cassandra,cooldoger/cassandra,pbailis/cassandra-pbs,weipinghe/cassandra,josh-mckenzie/cassandra,knifewine/cassandra,pauloricardomg/cassandra,christian-esken/cassandra,LatencyUtils/cassandra-stress2,codefollower/Cassandra-Research,michaelsembwever/cassandra,vramaswamy456/cassandra,guanxi55nba/key-value-store,matthewtt/cassandra_read,driftx/cassandra,dongjiaqiang/cassandra,nutbunnies/cassandra,beobal/cassandra,helena/cassandra,adejanovski/cassandra,macintoshio/cassandra,gdusbabek/cassandra,michaelsembwever/cassandra,tommystendahl/cassandra,HidemotoNakada/cassandra-udf,stef1927/cassandra,regispl/cassandra,codefollower/Cassandra-Research,mgmuscari/cassandra-cdh4,darach/cassandra,belliottsmith/cassandra,pkdevbox/cassandra,jasonstack/cassandra,JeremiahDJordan/cassandra,strapdata/cassandra,stuhood/cassandra-old,ifesdjeen/cassandra,belliottsmith/cassandra,Jollyplum/cassandra,hengxin/cassandra,jrwest/cassandra,apache/cassandra,clohfink/cassandra,leomrocha/cassandra,fengshao0907/Cassandra-Research,michaelsembwever/cassandra,fengshao0907/cassandra-1,hengxin/cassandra,jasonwee/cassandra,hengxin/cassandra,bmel/cassandra,yukim/cassandra,DICL/cassandra,jasobrown/cassandra,clohfink/cassandra,mt0803/cassandra,ejankan/cassandra,fengshao0907/cassandra-1,ollie314/cassandra,pofallon/cassandra,pthomaid/cassandra,adelapena/cassandra,heiko-braun/cassandra,DavidHerzogTU-Berlin/cassandra,chaordic/cassandra,project-zerus/cassandra,snazy/cassandra,mike-tr-adamson/cassandra,ben-manes/cassandra,sbtourist/cassandra,jeffjirsa/cassandra,dkua/cassandra,pcmanus/cassandra,aboudreault/cassandra,yonglehou/cassandra,chaordic/cassandra,sriki77/cassandra,b/project-cassandra,instaclustr/cassandra,lalithsuresh/cassandra-c3,chbatey/cassandra-1,bmel/cassandra,szhou1234/cassandra,a-buck/cassandra,segfault/apache_cassandra,rogerchina/cassandra,guard163/cassandra,pcn/cassandra-1,jkni/cassandra,ben-manes/cassandra,jeffjirsa/cassandra,Imran-C/cassandra,nlalevee/cassandra,ifesdjeen/cassandra,thelastpickle/cassandra,HidemotoNakada/cassandra-udf,project-zerus/cassandra,adejanovski/cassandra,belliottsmith/cassandra,sayanh/ViewMaintenanceSupport,caidongyun/cassandra,fengshao0907/Cassandra-Research,sammyyu/Cassandra,b/project-cassandra,Instagram/cassandra,hhorii/cassandra,Jollyplum/cassandra,guard163/cassandra,carlyeks/cassandra,joesiewert/cassandra,sayanh/ViewMaintenanceSupport,a-buck/cassandra,weipinghe/cassandra,GabrielNicolasAvellaneda/cassandra,iburmistrov/Cassandra,qinjin/mdtc-cassandra,aboudreault/cassandra,qinjin/mdtc-cassandra,instaclustr/cassandra,pofallon/cassandra,ibmsoe/cassandra,michaelmior/cassandra,asias/cassandra,sluk3r/cassandra,yangzhe1991/cassandra,snazy/cassandra,asias/cassandra,aweisberg/cassandra,ifesdjeen/cassandra,likaiwalkman/cassandra,sedulam/CASSANDRA-12201,WorksApplications/cassandra,likaiwalkman/cassandra,exoscale/cassandra,mashuai/Cassandra-Research,kangkot/stratio-cassandra,guanxi55nba/db-improvement,sayanh/ViewMaintenanceCassandra,Jaumo/cassandra,adejanovski/cassandra,taigetco/cassandra_read,yhnishi/cassandra,sayanh/ViewMaintenanceCassandra,jeffjirsa/cassandra,dprguiuc/Cassandra-Wasef,mheffner/cassandra-1,pauloricardomg/cassandra,whitepages/cassandra,mambocab/cassandra,thobbs/cassandra,iamaleksey/cassandra,bcoverston/cassandra,aweisberg/cassandra,RyanMagnusson/cassandra,wreda/cassandra,kgreav/cassandra,jsanda/cassandra,tommystendahl/cassandra,iamaleksey/cassandra,ben-manes/cassandra,wreda/cassandra,vaibhi9/cassandra,mariusae/cassandra,ptuckey/cassandra,mheffner/cassandra-1,yukim/cassandra,pallavi510/cassandra,JeremiahDJordan/cassandra,josh-mckenzie/cassandra,bcoverston/cassandra,Instagram/cassandra,Stratio/stratio-cassandra,pthomaid/cassandra,sedulam/CASSANDRA-12201,mkjellman/cassandra,bcoverston/apache-hosted-cassandra,dongjiaqiang/cassandra,aureagle/cassandra,whitepages/cassandra,strapdata/cassandra,WorksApplications/cassandra,vaibhi9/cassandra,Jaumo/cassandra,sivikt/cassandra,instaclustr/cassandra,pthomaid/cassandra,yanbit/cassandra,leomrocha/cassandra,carlyeks/cassandra,stuhood/cassandra-old,newrelic-forks/cassandra,mashuai/Cassandra-Research,bdeggleston/cassandra,rackerlabs/cloudmetrics-cassandra,bdeggleston/cassandra,sayanh/ViewMaintenanceCassandra,caidongyun/cassandra,MasahikoSawada/cassandra,blerer/cassandra,adelapena/cassandra,sriki77/cassandra,rmarchei/cassandra,krummas/cassandra,GabrielNicolasAvellaneda/cassandra,Stratio/stratio-cassandra,mambocab/cassandra,rdio/cassandra,helena/cassandra,WorksApplications/cassandra,matthewtt/cassandra_read,DICL/cassandra,guanxi55nba/db-improvement,aureagle/cassandra,tongjixianing/projects,mkjellman/cassandra,nakomis/cassandra,pcn/cassandra-1,weideng1/cassandra,juiceblender/cassandra,Stratio/stratio-cassandra,Imran-C/cassandra,bdeggleston/cassandra,aarushi12002/cassandra,tommystendahl/cassandra,guanxi55nba/key-value-store,blambov/cassandra,beobal/cassandra,ptnapoleon/cassandra,sluk3r/cassandra,christian-esken/cassandra,AtwooTM/cassandra,emolsson/cassandra,jkni/cassandra,joesiewert/cassandra,mkjellman/cassandra,dkua/cassandra,jasonwee/cassandra,stuhood/cassandra-old,rackerlabs/cloudmetrics-cassandra,Stratio/cassandra,blambov/cassandra,aarushi12002/cassandra,hhorii/cassandra,nutbunnies/cassandra,modempachev4/kassandra,kgreav/cassandra,jrwest/cassandra,shookari/cassandra,DavidHerzogTU-Berlin/cassandraToRun,HidemotoNakada/cassandra-udf,MasahikoSawada/cassandra,kangkot/stratio-cassandra,blambov/cassandra,weideng1/cassandra,Imran-C/cassandra,vramaswamy456/cassandra,rmarchei/cassandra,xiongzheng/Cassandra-Research,chbatey/cassandra-1,snazy/cassandra,scaledata/cassandra,fengshao0907/Cassandra-Research,nitsanw/cassandra,mshuler/cassandra,tongjixianing/projects,guard163/cassandra,vramaswamy456/cassandra,ptnapoleon/cassandra,Jollyplum/cassandra,tongjixianing/projects,shookari/cassandra,b/project-cassandra,jbellis/cassandra,cooldoger/cassandra,strapdata/cassandra,ibmsoe/cassandra,pcn/cassandra-1,Instagram/cassandra,pallavi510/cassandra,sriki77/cassandra,jeffjirsa/cassandra,heiko-braun/cassandra,adelapena/cassandra,scylladb/scylla-tools-java,pauloricardomg/cassandra,macintoshio/cassandra,blerer/cassandra,nakomis/cassandra,krummas/cassandra,driftx/cassandra,mkjellman/cassandra,EnigmaCurry/cassandra,darach/cassandra,thelastpickle/cassandra,tjake/cassandra,miguel0afd/cassandra-cqlMod,sivikt/cassandra,mike-tr-adamson/cassandra,apache/cassandra,boneill42/cassandra,gdusbabek/cassandra,mariusae/cassandra,taigetco/cassandra_read,strapdata/cassandra,blambov/cassandra,beobal/cassandra,lalithsuresh/cassandra-c3,mgmuscari/cassandra-cdh4,knifewine/cassandra,darach/cassandra,weipinghe/cassandra,clohfink/cassandra,WorksApplications/cassandra,lalithsuresh/cassandra-c3,chbatey/cassandra-1,scaledata/cassandra,chaordic/cassandra,scylladb/scylla-tools-java,instaclustr/cassandra,nlalevee/cassandra,codefollower/Cassandra-Research,RyanMagnusson/cassandra,nitsanw/cassandra,jrwest/cassandra,bdeggleston/cassandra,ejankan/cassandra,mt0803/cassandra,xiongzheng/Cassandra-Research,knifewine/cassandra,jasonstack/cassandra,pallavi510/cassandra,bpupadhyaya/cassandra,bcoverston/apache-hosted-cassandra,yanbit/cassandra,aweisberg/cassandra,Stratio/cassandra,jbellis/cassandra,kangkot/stratio-cassandra,kgreav/cassandra,RyanMagnusson/cassandra,shawnkumar/cstargraph,ptnapoleon/cassandra,phact/cassandra,pofallon/cassandra,thelastpickle/cassandra,sammyyu/Cassandra,sharvanath/cassandra,mshuler/cassandra,JeremiahDJordan/cassandra,joesiewert/cassandra,pcmanus/cassandra,caidongyun/cassandra,phact/cassandra,regispl/cassandra,swps/cassandra,aboudreault/cassandra,asias/cassandra,cooldoger/cassandra,mgmuscari/cassandra-cdh4,ibmsoe/cassandra,exoscale/cassandra,DavidHerzogTU-Berlin/cassandraToRun,Stratio/cassandra,exoscale/cassandra,mshuler/cassandra,mike-tr-adamson/cassandra,segfault/apache_cassandra,Jaumo/cassandra,sbtourist/cassandra,yangzhe1991/cassandra,Instagram/cassandra,macintoshio/cassandra,jeromatron/cassandra,stef1927/cassandra,rdio/cassandra,szhou1234/cassandra,nutbunnies/cassandra,DICL/cassandra,whitepages/cassandra,dongjiaqiang/cassandra,ptuckey/cassandra,jasobrown/cassandra,aweisberg/cassandra,rdio/cassandra,newrelic-forks/cassandra,driftx/cassandra,krummas/cassandra,DavidHerzogTU-Berlin/cassandra,GabrielNicolasAvellaneda/cassandra,apache/cassandra,miguel0afd/cassandra-cqlMod,a-buck/cassandra,pkdevbox/cassandra,carlyeks/cassandra,yhnishi/cassandra,AtwooTM/cassandra,yonglehou/cassandra,shawnkumar/cstargraph,juiceblender/cassandra,apache/cassandra,pbailis/cassandra-pbs,nvoron23/cassandra,mklew/mmp,yhnishi/cassandra,emolsson/cassandra,sbtourist/cassandra,LatencyUtils/cassandra-stress2,spodkowinski/cassandra,thelastpickle/cassandra,nvoron23/cassandra,tjake/cassandra,michaelmior/cassandra,EnigmaCurry/cassandra