Search frameworks & executors successively to save concat
Search frameworks & executors successively to save concat

Array.concat creates a new Array, which in this case is used once to
find frameworks and executors and then thrown away. Instead the Arrays
can be searched successively in place without allocating more memory.

Review: http://reviews.apache.org/r/13002

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