[SPARK-11751] Doc describe error in the "Spark Streaming Programming Guide" page
[SPARK-11751] Doc describe error in the "Spark Streaming Programming Guide" page

In the **[Task Launching Overheads](http://spark.apache.org/docs/latest/streaming-programming-guide.html#task-launching-overheads)** section,
>Task Serialization: Using Kryo serialization for serializing tasks can reduce the task sizes, and therefore reduce the time taken to send them to the slaves.

as we known **Task Serialization** is configuration by **spark.closure.serializer** parameter, but currently only the Java serializer is supported. If we set **spark.closure.serializer** to **org.apache.spark.serializer.KryoSerializer**, then this will throw a exception.

Author: yangping.wu <wyphao.2007@163.com>

Closes #9734 from 397090770/397090770-patch-1.

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