SPARK-4305 [BUILD] yarn-alpha profile won't build due to network/yarn module
SPARK-4305 [BUILD] yarn-alpha profile won't build due to network/yarn module

SPARK-3797 introduced the `network/yarn` module, but its YARN code depends on YARN APIs not present in older versions covered by the `yarn-alpha` profile. As a result builds like `mvn -Pyarn-alpha -Phadoop-0.23 -Dhadoop.version=0.23.7 -DskipTests clean package` fail.

The solution is just to not build `network/yarn` with profile `yarn-alpha`.

Author: Sean Owen <sowen@cloudera.com>

Closes #3167 from srowen/SPARK-4305 and squashes the following commits:

88938cb [Sean Owen] Don't build network/yarn in yarn-alpha profile as it won't compile

milliman/spark,jianran/spark,darionyaphet/spark,narahari92/spark,mdespriee/spark,mdespriee/spark,byakuinss/spark,byakuinss/spark,jkbradley/spark,lxsmnv/spark,WindCanDie/spark,taroplus/spark,jrshust/spark,liutang123/spark,mdespriee/spark,kiszk/spark,nchammas/spark,dhruve/spark,setjet/spark,matthewfranglen/spark,wangmiao1981/spark,srowen/spark,kiszk/spark,kissmetrics/spark,Panos-Bletsos/spark-cost-model-optimizer,kissmetrics/spark,sureshthalamati/spark,rikima/spark,dongjoon-hyun/spark,rednaxelafx/apache-spark,poffuomo/spark,pronix/spark,pgandhi999/spark,rezasafi/spark,ahnqirage/spark,rezasafi/spark,BryanCutler/spark,ahnqirage/spark,brad-kaiser/spark,haowu80s/spark,liyichao/spark,maropu/spark,BryanCutler/spark,metamx/spark,hvanhovell/spark,janewangfb/spark,WindCanDie/spark,saturday-shi/spark,gengliangwang/spark,yanboliang/spark,gengliangwang/spark,panfengfeng/spark,huang1900/spark,tejasapatil/spark,ioana-delaney/spark,mahak/spark,WindCanDie/spark,jiangxb1987/spark,ConeyLiu/spark,WeichenXu123/spark,adrian-ionescu/apache-spark,facaiy/spark,WindCanDie/spark,wzhfy/spark,rikima/spark,milliman/spark,witgo/spark,andrewor14/iolap,ConeyLiu/spark,nilsgrabbert/spark,hvanhovell/spark,mdespriee/spark,hhbyyh/spark,apache/spark,liutang123/spark,dbtsai/spark,maropu/spark,markhamstra/spark,LantaoJin/spark,lxsmnv/spark,MLnick/spark,akopich/spark,1haodian/spark,guoxiaolongzte/spark,ddna1021/spark,icexelloss/spark,eyalfa/spark,icexelloss/spark,taroplus/spark,mdespriee/spark,ericvandenbergfb/spark,vinodkc/spark,gioenn/xSpark,bdrillard/spark,witgo/spark,saltstar/spark,sahilTakiar/spark,spark-test/spark,joseph-torres/spark,andrewor14/iolap,hhbyyh/spark,mike0sv/spark,xuanyuanking/spark,someorz/spark,jiangxb1987/spark,techaddict/spark,metamx/spark,janewangfb/spark,minixalpha/spark,tengpeng/spark,setjet/spark,rikima/spark,Panos-Bletsos/spark-cost-model-optimizer,debugger87/spark,haowu80s/spark,aosagie/spark,Panos-Bletsos/spark-cost-model-optimizer,sureshthalamati/spark,dhruve/spark,ajaysaini725/spark,dbtsai/spark,1haodian/spark,cloud-fan/spark,lvdongr/spark,map222/spark,jkbradley/spark,icexelloss/spark,darionyaphet/spark,ConeyLiu/spark,JoshRosen/spark,dhruve/spark,kevinyu98/spark,jrshust/spark,aray/spark,stanzhai/spark,Panos-Bletsos/spark-cost-model-optimizer,ajaysaini725/spark,xuanyuanking/spark,spark-test/spark,Panos-Bletsos/spark-cost-model-optimizer,saltstar/spark,setjet/spark,JerryLead/spark,shaneknapp/spark,patrick-nicholson/spark,kiszk/spark,sahilTakiar/spark,huang1900/spark,szhem/spark,ddna1021/spark,bravo-zhang/spark,zero323/spark,dongjoon-hyun/spark,hvanhovell/spark,aray/spark,nilsgrabbert/spark,guoxiaolongzte/spark,apache-spark-on-k8s/spark,jiangxb1987/spark,apache-spark-on-k8s/spark,saturday-shi/spark,jiangxb1987/spark,jkbradley/spark,shubhamchopra/spark,taroplus/spark,nchammas/spark,icexelloss/spark,jlopezmalla/spark,highfei2011/spark,ConeyLiu/spark,spark-test/spark,aray/spark,haowu80s/spark,SHASHANKB/spark,cloud-fan/spark,mike0sv/spark,lvdongr/spark,eyalfa/spark,shaneknapp/spark,holdenk/spark,andrewor14/iolap,stanzhai/spark,jianran/spark,pgandhi999/spark,sachintyagi22/spark,lvdongr/spark,michalsenkyr/spark,ron8hu/spark,shubhamchopra/spark,Aegeaner/spark,jlopezmalla/spark,ron8hu/spark,esi-mineset/spark,cin/spark,shaneknapp/spark,ConeyLiu/spark,bravo-zhang/spark,ron8hu/spark,stanzhai/spark,MLnick/spark,yanboliang/spark,LantaoJin/spark,HyukjinKwon/spark,LantaoJin/spark,yanboliang/spark,dhruve/spark,kimoonkim/spark,ConeyLiu/spark,sachintyagi22/spark,patrick-nicholson/spark,rikima/spark,liyichao/spark,haowu80s/spark,andrewor14/spark,MLnick/spark,mzl9039/spark,apache/spark,lvdongr/spark,wangyum/spark,wangyum/spark,andrewor14/iolap,witgo/spark,nilsgrabbert/spark,brad-kaiser/spark,ibm-research-ireland/sparkoscope,MLnick/spark,rednaxelafx/apache-spark,ron8hu/spark,WeichenXu123/spark,pgandhi999/spark,jrshust/spark,jrshust/spark,markhamstra/spark,rekhajoshm/spark,ptkool/spark,holdenk/spark,debugger87/spark,map222/spark,akopich/spark,zuotingbing/spark,xflin/spark,cloud-fan/spark,kissmetrics/spark,shubhamchopra/spark,JerryLead/spark,saltstar/spark,xuanyuanking/spark,wangyum/spark,kimoonkim/spark,ddna1021/spark,zhouyejoe/spark,aokolnychyi/spark,dhruve/spark,nlalevee/spark,cin/spark,bdrillard/spark,rezasafi/spark,UndeadBaneGitHub/spark,setjet/spark,facaiy/spark,byakuinss/spark,kimoonkim/spark,liutang123/spark,saltstar/spark,UndeadBaneGitHub/spark,kiszk/spark,UndeadBaneGitHub/spark,andrewor14/iolap,cin/spark,akopich/spark,kiszk/spark,dongjoon-hyun/spark,1haodian/spark,janewangfb/spark,nchammas/spark,Aegeaner/spark,ron8hu/spark,rezasafi/spark,darionyaphet/spark,ddna1021/spark,map222/spark,icexelloss/spark,actuaryzhang/spark,kevinyu98/spark,yanboliang/spark,adrian-ionescu/apache-spark,saturday-shi/spark,WeichenXu123/spark,metamx/spark,gioenn/xSpark,liutang123/spark,patrick-nicholson/spark,stanzhai/spark,SHASHANKB/spark,bOOm-X/spark,zzcclp/spark,WindCanDie/spark,adrian-ionescu/apache-spark,dbtsai/spark,shuangshuangwang/spark,jiangxb1987/spark,brad-kaiser/spark,apache/spark,szhem/spark,dbtsai/spark,zhouyejoe/spark,map222/spark,byakuinss/spark,ioana-delaney/spark,yanboliang/spark,shuangshuangwang/spark,wzhfy/spark,hvanhovell/spark,zhouyejoe/spark,JerryLead/spark,darionyaphet/spark,apache-spark-on-k8s/spark,liutang123/spark,zero323/spark,spark-test/spark,caneGuy/spark,wangyum/spark,tejasapatil/spark,caneGuy/spark,wangyum/spark,goldmedal/spark,darionyaphet/spark,ericvandenbergfb/spark,alunarbeach/spark,alunarbeach/spark,cloud-fan/spark,HyukjinKwon/spark,jkbradley/spark,narahari92/spark,jrshust/spark,MLnick/spark,ptkool/spark,bOOm-X/spark,goldmedal/spark,maropu/spark,wangyum/spark,akopich/spark,wangmiao1981/spark,liutang123/spark,WeichenXu123/spark,milliman/spark,srowen/spark,holdenk/spark,Aegeaner/spark,alunarbeach/spark,zzcclp/spark,sureshthalamati/spark,mike0sv/spark,stanzhai/spark,andrewor14/spark,sahilTakiar/spark,actuaryzhang/spark,SnappyDataInc/spark,someorz/spark,bOOm-X/spark,someorz/spark,janewangfb/spark,big-pegasus/spark,JerryLead/spark,michalsenkyr/spark,eyalfa/spark,aokolnychyi/spark,bdrillard/spark,hvanhovell/spark,goldmedal/spark,michalsenkyr/spark,actuaryzhang/spark,szhem/spark,andrewor14/iolap,janewangfb/spark,kevinyu98/spark,aray/spark,SHASHANKB/spark,publicRoman/spark,joseph-torres/spark,brad-kaiser/spark,bdrillard/spark,andrewor14/spark,nlalevee/spark,dongjoon-hyun/spark,tejasapatil/spark,jlopezmalla/spark,ueshin/apache-spark,debugger87/spark,highfei2011/spark,jianran/spark,kimoonkim/spark,xuanyuanking/spark,ajaysaini725/spark,shaneknapp/spark,ahnqirage/spark,sahilTakiar/spark,bravo-zhang/spark,shaneknapp/spark,liutang123/spark,kissmetrics/spark,aosagie/spark,ahnqirage/spark,markhamstra/spark,xuanyuanking/spark,setjet/spark,wangmiao1981/spark,rikima/spark,rednaxelafx/apache-spark,tengpeng/spark,joseph-torres/spark,mahak/spark,loneknightpy/spark,esi-mineset/spark,nlalevee/spark,publicRoman/spark,LantaoJin/spark,gioenn/xSpark,chuckchen/spark,dhruve/spark,sahilTakiar/spark,ueshin/apache-spark,goldmedal/spark,michalsenkyr/spark,techaddict/spark,techaddict/spark,nchammas/spark,nilsgrabbert/spark,WindCanDie/spark,xflin/spark,jianran/spark,metamx/spark,WeichenXu123/spark,UndeadBaneGitHub/spark,witgo/spark,ioana-delaney/spark,panfengfeng/spark,mzl9039/spark,sachintyagi22/spark,ron8hu/spark,rekhajoshm/spark,srowen/spark,setjet/spark,ioana-delaney/spark,byakuinss/spark,gioenn/xSpark,mdespriee/spark,szhem/spark,Aegeaner/spark,zhouyejoe/spark,taroplus/spark,dongjoon-hyun/spark,zero323/spark,taroplus/spark,gioenn/xSpark,markhamstra/spark,ConeyLiu/spark,brad-kaiser/spark,maropu/spark,aray/spark,Aegeaner/spark,esi-mineset/spark,alunarbeach/spark,jkbradley/spark,mahak/spark,guoxiaolongzte/spark,ptkool/spark,spark-test/spark,tengpeng/spark,joseph-torres/spark,ueshin/apache-spark,1haodian/spark,BryanCutler/spark,rezasafi/spark,adrian-ionescu/apache-spark,brad-kaiser/spark,dhruve/spark,apache/spark,guoxiaolongzte/spark,big-pegasus/spark,sahilTakiar/spark,xflin/spark,1haodian/spark,ioana-delaney/spark,cin/spark,haowu80s/spark,bOOm-X/spark,maropu/spark,minixalpha/spark,alunarbeach/spark,ibm-research-ireland/sparkoscope,nlalevee/spark,xflin/spark,guoxiaolongzte/spark,witgo/spark,icexelloss/spark,nchammas/spark,skonto/spark,aosagie/spark,minixalpha/spark,alunarbeach/spark,tejasapatil/spark,kiszk/spark,map222/spark,gengliangwang/spark,SnappyDataInc/spark,SHASHANKB/spark,andrewor14/spark,cloud-fan/spark,saturday-shi/spark,nilsgrabbert/spark,aray/spark,andrewor14/spark,huang1900/spark,zuotingbing/spark,sahilTakiar/spark,tejasapatil/spark,eyalfa/spark,jlopezmalla/spark,WeichenXu123/spark,apache-spark-on-k8s/spark,pgandhi999/spark,mzl9039/spark,narahari92/spark,facaiy/spark,zero323/spark,actuaryzhang/spark,lxsmnv/spark,haowu80s/spark,mahak/spark,techaddict/spark,highfei2011/spark,aokolnychyi/spark,sachintyagi22/spark,vinodkc/spark,ericvandenbergfb/spark,eyalfa/spark,someorz/spark,WindCanDie/spark,rekhajoshm/spark,skonto/spark,huang1900/spark,milliman/spark,facaiy/spark,sureshthalamati/spark,xflin/spark,saturday-shi/spark,ddna1021/spark,andrewor14/iolap,liyichao/spark,hhbyyh/spark,zzcclp/spark,srowen/spark,panfengfeng/spark,bravo-zhang/spark,gioenn/xSpark,HyukjinKwon/spark,sachintyagi22/spark,gioenn/xSpark,metamx/spark,wzhfy/spark,SHASHANKB/spark,adrian-ionescu/apache-spark,adrian-ionescu/apache-spark,bdrillard/spark,janewangfb/spark,icexelloss/spark,hhbyyh/spark,loneknightpy/spark,apache-spark-on-k8s/spark,srowen/spark,srowen/spark,publicRoman/spark,witgo/spark,HyukjinKwon/spark,aosagie/spark,dongjoon-hyun/spark,tengpeng/spark,rednaxelafx/apache-spark,mike0sv/spark,esi-mineset/spark,nchammas/spark,milliman/spark,SnappyDataInc/spark,UndeadBaneGitHub/spark,maropu/spark,Aegeaner/spark,debugger87/spark,Panos-Bletsos/spark-cost-model-optimizer,HyukjinKwon/spark,mahak/spark,cloud-fan/spark,apache/spark,vinodkc/spark,map222/spark,kissmetrics/spark,JoshRosen/spark,bravo-zhang/spark,caneGuy/spark,facaiy/spark,ericvandenbergfb/spark,spark-test/spark,skonto/spark,maropu/spark,jkbradley/spark,rekhajoshm/spark,1haodian/spark,metamx/spark,mzl9039/spark,actuaryzhang/spark,highfei2011/spark,wzhfy/spark,JerryLead/spark,techaddict/spark,ericvandenbergfb/spark,chuckchen/spark,mzl9039/spark,techaddict/spark,rekhajoshm/spark,zero323/spark,srowen/spark,akopich/spark,saltstar/spark,loneknightpy/spark,tengpeng/spark,actuaryzhang/spark,adrian-ionescu/apache-spark,caneGuy/spark,poffuomo/spark,UndeadBaneGitHub/spark,jrshust/spark,shaneknapp/spark,chuckchen/spark,joseph-torres/spark,sachintyagi22/spark,nlalevee/spark,minixalpha/spark,BryanCutler/spark,bOOm-X/spark,narahari92/spark,ueshin/apache-spark,dbtsai/spark,minixalpha/spark,darionyaphet/spark,ptkool/spark,shuangshuangwang/spark,ron8hu/spark,narahari92/spark,zhouyejoe/spark,kissmetrics/spark,LantaoJin/spark,tejasapatil/spark,jlopezmalla/spark,xflin/spark,rikima/spark,skonto/spark,nilsgrabbert/spark,ajaysaini725/spark,zzcclp/spark,apache-spark-on-k8s/spark,eyalfa/spark,kissmetrics/spark,loneknightpy/spark,jrshust/spark,poffuomo/spark,dbtsai/spark,zhouyejoe/spark,HyukjinKwon/spark,shubhamchopra/spark,rezasafi/spark,goldmedal/spark,joseph-torres/spark,hvanhovell/spark,xflin/spark,BryanCutler/spark,SnappyDataInc/spark,caneGuy/spark,chuckchen/spark,bdrillard/spark,publicRoman/spark,big-pegasus/spark,hhbyyh/spark,janewangfb/spark,aokolnychyi/spark,gengliangwang/spark,JerryLead/spark,ahnqirage/spark,caneGuy/spark,zuotingbing/spark,facaiy/spark,michalsenkyr/spark,tejasapatil/spark,ibm-research-ireland/sparkoscope,stanzhai/spark,panfengfeng/spark,sureshthalamati/spark,shuangshuangwang/spark,dongjoon-hyun/spark,actuaryzhang/spark,brad-kaiser/spark,lxsmnv/spark,byakuinss/spark,holdenk/spark,saltstar/spark,huang1900/spark,kevinyu98/spark,zzcclp/spark,debugger87/spark,LantaoJin/spark,shuangshuangwang/spark,kevinyu98/spark,ahnqirage/spark,gengliangwang/spark,aosagie/spark,wangmiao1981/spark,JoshRosen/spark,vinodkc/spark,ptkool/spark,liyichao/spark,bravo-zhang/spark,shuangshuangwang/spark,milliman/spark,metamx/spark,mike0sv/spark,chuckchen/spark,big-pegasus/spark,aosagie/spark,rekhajoshm/spark,jkbradley/spark,huang1900/spark,goldmedal/spark,gengliangwang/spark,bOOm-X/spark,wangmiao1981/spark,pgandhi999/spark,techaddict/spark,1haodian/spark,big-pegasus/spark,wangmiao1981/spark,SnappyDataInc/spark,saturday-shi/spark,ddna1021/spark,JerryLead/spark,holdenk/spark,jiangxb1987/spark,markhamstra/spark,mzl9039/spark,skonto/spark,tengpeng/spark,nlalevee/spark,shuangshuangwang/spark,saltstar/spark,jlopezmalla/spark,zzcclp/spark,holdenk/spark,lvdongr/spark,alunarbeach/spark,skonto/spark,rednaxelafx/apache-spark,liyichao/spark,huang1900/spark,cin/spark,mdespriee/spark,aosagie/spark,akopich/spark,chuckchen/spark,sureshthalamati/spark,nchammas/spark,hhbyyh/spark,andrewor14/spark,narahari92/spark,pgandhi999/spark,panfengfeng/spark,akopich/spark,ptkool/spark,jianran/spark,rednaxelafx/apache-spark,byakuinss/spark,esi-mineset/spark,setjet/spark,loneknightpy/spark,tengpeng/spark,ericvandenbergfb/spark,lvdongr/spark,michalsenkyr/spark,JoshRosen/spark,zuotingbing/spark,skonto/spark,rikima/spark,debugger87/spark,mahak/spark,yanboliang/spark,stanzhai/spark,nilsgrabbert/spark,ptkool/spark,rednaxelafx/apache-spark,ajaysaini725/spark,jianran/spark,publicRoman/spark,hvanhovell/spark,loneknightpy/spark,esi-mineset/spark,kevinyu98/spark,aokolnychyi/spark,patrick-nicholson/spark,publicRoman/spark,jianran/spark,cloud-fan/spark,joseph-torres/spark,markhamstra/spark,dbtsai/spark,pgandhi999/spark,kiszk/spark,gengliangwang/spark,ddna1021/spark,zuotingbing/spark,witgo/spark,publicRoman/spark,szhem/spark,ioana-delaney/spark,aokolnychyi/spark,darionyaphet/spark,vinodkc/spark,chuckchen/spark,bOOm-X/spark,yanboliang/spark,highfei2011/spark,shaneknapp/spark,zero323/spark,ibm-research-ireland/sparkoscope,minixalpha/spark,someorz/spark,xuanyuanking/spark,lxsmnv/spark,zuotingbing/spark,ahnqirage/spark,kimoonkim/spark,panfengfeng/spark,SHASHANKB/spark,taroplus/spark,wzhfy/spark,JoshRosen/spark,BryanCutler/spark,guoxiaolongzte/spark,highfei2011/spark,WeichenXu123/spark,spark-test/spark,aray/spark,poffuomo/spark,minixalpha/spark,SHASHANKB/spark,pronix/spark,zero323/spark,ericvandenbergfb/spark,hhbyyh/spark,LantaoJin/spark,Panos-Bletsos/spark-cost-model-optimizer,bravo-zhang/spark,mike0sv/spark,jlopezmalla/spark,facaiy/spark,milliman/spark,ioana-delaney/spark,UndeadBaneGitHub/spark,michalsenkyr/spark,someorz/spark,patrick-nicholson/spark,patrick-nicholson/spark,apache/spark,zzcclp/spark,holdenk/spark,saturday-shi/spark,ueshin/apache-spark,loneknightpy/spark,apache-spark-on-k8s/spark,sureshthalamati/spark,big-pegasus/spark,pronix/spark,pronix/spark,jiangxb1987/spark,wangyum/spark,MLnick/spark,xuanyuanking/spark,nlalevee/spark,markhamstra/spark,BryanCutler/spark,poffuomo/spark,ibm-research-ireland/sparkoscope,Aegeaner/spark,aokolnychyi/spark,mahak/spark,MLnick/spark,vinodkc/spark,liyichao/spark,pronix/spark,panfengfeng/spark,wangmiao1981/spark,shubhamchopra/spark,zhouyejoe/spark,ueshin/apache-spark,mike0sv/spark,lvdongr/spark,JoshRosen/spark,apache/spark,shubhamchopra/spark,patrick-nicholson/spark,ibm-research-ireland/sparkoscope,JoshRosen/spark,liyichao/spark,ajaysaini725/spark,poffuomo/spark,ueshin/apache-spark,pronix/spark,ajaysaini725/spark,narahari92/spark,debugger87/spark,vinodkc/spark,eyalfa/spark,bdrillard/spark,HyukjinKwon/spark,poffuomo/spark,guoxiaolongzte/spark,big-pegasus/spark,szhem/spark,lxsmnv/spark,kimoonkim/spark,lxsmnv/spark,SnappyDataInc/spark,taroplus/spark,ibm-research-ireland/sparkoscope,SnappyDataInc/spark,wzhfy/spark,andrewor14/spark,goldmedal/spark,zuotingbing/spark,rezasafi/spark,shubhamchopra/spark,kevinyu98/spark,wzhfy/spark,someorz/spark,caneGuy/spark,rekhajoshm/spark,kimoonkim/spark,szhem/spark,sachintyagi22/spark,mzl9039/spark,cin/spark,highfei2011/spark,cin/spark,map222/spark,esi-mineset/spark