[SPARK-3629] [YARN] [DOCS]: Improvement of the "Running Spark on YARN" document
[SPARK-3629] [YARN] [DOCS]: Improvement of the "Running Spark on YARN" document

As per the description in the JIRA, I moved the contents of the page and added a few additional content.

Author: Neelesh Srinivas Salian <nsalian@cloudera.com>

Closes #6924 from nssalian/SPARK-3629 and squashes the following commits:

944b7a0 [Neelesh Srinivas Salian] Changed the lines about deploy-mode and added backticks to all parameters
40dbc0b [Neelesh Srinivas Salian] Changed dfs to HDFS, deploy-mode in backticks and updated the master yarn line
9cbc072 [Neelesh Srinivas Salian] Updated a few lines in the Launching Spark on YARN Section
8e8db7f [Neelesh Srinivas Salian] Removed the changes in this commit to help clearly distinguish movement from update
151c298 [Neelesh Srinivas Salian] SPARK-3629: Improvement of the Spark on YARN document

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