YARN-1765. Added test cases to verify that killApplication API works across ResourceManager failover. Contributed by Xuan Gong.
YARN-1765. Added test cases to verify that killApplication API works across ResourceManager failover. Contributed by Xuan Gong.


git-svn-id: 18f68cb356f2bf53a217c39a7af1470588d83bce@1573735 13f79535-47bb-0310-9956-ffa450edef68

dxd132630/hadoop,tianshouzhi/hadoop,StephanieMak/hadoop,simbadzina/hadoop-fcfs,rohanwaghere/hadoop,busbey/hadoop,neo-hu/hadoop,apurtell/hadoop,leftnoteasy/hadoop-1,ading1977/hadoop,NightWolf007/hadoop,adouang/hadoop,979969786/hadoop,pritishppai/hadoop,Winiex/hadoop,busbey/hadoop,likaiwalkman/hadoop,StephanieMak/hadoop,vesense/hadoop,littlezhou/hadoop,samuelan/hadoop,Elbehery/hadoop,jingjidejuren/hadoop,sasa233/hadoop,grokcoder/hadoop,dongjiaqiang/hadoop,lukmajercak/hadoop,khiraiwa/hadoop,lawrencewu/hadoop,Authorlove/hadoop,zjshen/hadoop-YARN-2928-POC,OnePaaS/hadoop,MobinRanjbar/hadoop,dilaver/hadoop,bitmybytes/hadoop,steveloughran/hadoop,WIgor/hadoop,szegedim/hadoop,xujianhai/hadoop,abhishekagarwal87/hadoop,bitmybytes/hadoop,venkateshu/hadoop,IBYoung/hadoop,ouyangjie/hadoop,nandakumar131/hadoop,SwathiMystery/hadoop,malli3131/hadoop-1,korrelate/hadoop,dossett/hadoop,979969786/hadoop,adouang/hadoop,rohanwaghere/hadoop,harshavmb/hadoop,leftnoteasy/hadoop-1,simbadzina/hadoop-fcfs,harshavmb/hadoop,JingchengDu/hadoop,messi49/hadoop,Ethanlm/hadoop,littlezhou/hadoop,tianshouzhi/hadoop,pkdevbox/hadoop,szegedim/hadoop,gilv/hadoop,IBYoung/hadoop,liutizhong/hadoop,vlajos/hadoop,weipinghe/hadoop,MeiSheng/hadoop,ading1977/hadoop,chenliang613/hadoop,979969786/hadoop,legend-hua/hadoop,SwathiMystery/hadoop,chenliang613/hadoop,sasa233/hadoop,NightWolf007/hadoop,ucare-uchicago/hadoop,hash-X/hadoop,samuelan/hadoop,dennishuo/hadoop,qqming113/hadoop,dennishuo/hadoop,plusplusjiajia/hadoop,fullcontact/hadoop,vesense/hadoop,chetan-anand/hadoop,venkateshu/hadoop,apache/hadoop,taoguan/hadoop,eonezhang/hadoop,qqming113/hadoop,xiao-chen/hadoop,djalova/hadoop,samuelan/hadoop,samuelan/hadoop,messi49/hadoop,dilaver/hadoop,lawrencewu/hadoop,dhootha/hadoop,ouyangjie/hadoop,Elbehery/hadoop,neo-hu/hadoop,jingjidejuren/hadoop,matrix-stone/hadoop,bitmybytes/hadoop,korrelate/hadoop,LoQIStar/hadoop,zhe-thoughts/hadoop,gilv/hadoop,grokcoder/hadoop,allfro/hadoop,zhe-thoughts/hadoop,frdeso/hadoop,laxman-ch/hadoop,huafengw/hadoop,vlajos/hadoop,Winiex/hadoop,matrix-stone/hadoop,dennishuo/hadoop,venkateshu/hadoop,yanbit/hadoop,MetSystem/hadoop,anjuncc/hadoop,laxman-ch/hadoop,bysslord/hadoop,khiraiwa/hadoop,EdwinChanYi/hadoop,SwathiMystery/hadoop,laxman-ch/hadoop,bitmybytes/hadoop,zjshen/hadoop-YARN-2928-POC,slchen2014/hadoop,faspl/hadoop,harshavmb/hadoop,huafengw/hadoop,Winiex/hadoop,abhishekagarwal87/hadoop,SwathiMystery/hadoop,SwathiMystery/hadoop,wenxinhe/hadoop,tianshouzhi/hadoop,abhishekagarwal87/hadoop,StephanieMak/hadoop,MeiSheng/hadoop,liutizhong/hadoop,GeLiXin/hadoop,hash-X/hadoop,eonezhang/hadoop,bysslord/hadoop,xiao-chen/hadoop,Winiex/hadoop,MetSystem/hadoop,zhe-thoughts/hadoop,pkit/hadoop,xuchenCN/hadoop,OnePaaS/hadoop,Ethanlm/hadoop,sroegner/hadoop,ronny-macmaster/hadoop,dhootha/hadoop,lukmajercak/hadoop,malli3131/hadoop-1,busbey/hadoop,simbadzina/hadoop-fcfs,ading1977/hadoop,IBYoung/hadoop,GeLiXin/hadoop,sujeetv/hadoop,Elbehery/hadoop,mapr/hadoop-common,abhishekagarwal87/hadoop,adouang/hadoop,cnfire/hadoop,pkdevbox/hadoop,EasonYi/hadoop,HazelChen/hadoop,xuchenCN/hadoop,WIgor/hadoop,khiraiwa/hadoop,wwjiang007/hadoop,WIgor/hadoop,ucare-uchicago/hadoop,dxd132630/hadoop,hjk41/hadoop,flyrain/hadoop,slchen2014/hadoop,mapr/hadoop-common,HazelChen/hadoop,LoQIStar/hadoop,zengzhaozheng/hadoop,pritishppai/hadoop,harshavmb/hadoop,khiraiwa/hadoop,cryptickp/hadoop,wenxinhe/hadoop,anjuncc/hadoop,wenxinhe/hadoop,MobinRanjbar/hadoop,soumabrata-chakraborty/hadoop,laxman-ch/hadoop,korrelate/hadoop,ChetnaChaudhari/hadoop,sroegner/hadoop,jth/hadoop,taoguan/hadoop,eonezhang/hadoop,flyrain/hadoop,taoguan/hadoop,steveloughran/hadoop,ronny-macmaster/hadoop,xujianhai/hadoop,ading1977/hadoop,korrelate/hadoop,MetSystem/hadoop,StephanieMak/hadoop,ChetnaChaudhari/hadoop,pkit/hadoop,neo-hu/hadoop,saydulk/hadoop,StephanieMak/hadoop,ChetnaChaudhari/hadoop,plusplusjiajia/hadoop,MobinRanjbar/hadoop,hastimal/hadoop,steveloughran/hadoop,xuchenCN/hadoop,lukmajercak/hadoop,tianshouzhi/hadoop,ctrezzo/hadoop,likaiwalkman/hadoop,binn-yang/hadoop,binn-yang/hadoop,fullcontact/hadoop,WIgor/hadoop,EasonYi/hadoop,ctrezzo/hadoop,taoguan/hadoop,soumabrata-chakraborty/hadoop,mapr/hadoop-common,sujeetv/hadoop,binn-yang/hadoop,ucare-uchicago/hadoop,MetSystem/hadoop,979969786/hadoop,sasa233/hadoop,lawrencewu/hadoop,khiraiwa/hadoop,dxd132630/hadoop,WIgor/hadoop,taoguan/hadoop,leftnoteasy/hadoop-1,ctrezzo/hadoop,cryptickp/hadoop,LoQIStar/hadoop,apurtell/hadoop,allfro/hadoop,dxd132630/hadoop,fullcontact/hadoop,odpi/hadoop,lzo/hadoop,szegedim/hadoop,jth/hadoop,sroegner/hadoop,malli3131/hadoop-1,neo-hu/hadoop,979969786/hadoop,1tylermitchell/hadoop,saydulk/hadoop,Elbehery/hadoop,matrix-stone/hadoop,likaiwalkman/hadoop,taoguan/hadoop,lightslife/hadoop,lawrencewu/hadoop,odpi/hadoop,hastimal/hadoop,messi49/hadoop,dierobotsdie/hadoop,legend-hua/hadoop,dhootha/hadoop,jjj117/hadoop,faspl/hadoop,wenxinhe/hadoop,lawrencewu/hadoop,xujianhai/hadoop,ronny-macmaster/hadoop,MetSystem/hadoop,ouyangjie/hadoop,binn-yang/hadoop,zjshen/hadoop-YARN-2928-POC,piaoyu/hadoop,xuchenCN/hadoop,littlezhou/hadoop,grokcoder/hadoop,JingchengDu/hadoop,zjshen/hadoop-YARN-2928-POC,f7753/hadoop,gilv/hadoop,1tylermitchell/hadoop,plusplusjiajia/hadoop,matrix-stone/hadoop,simbadzina/hadoop-fcfs,979969786/hadoop,chetan-anand/hadoop,zhe-thoughts/hadoop,apurtell/hadoop,liutizhong/hadoop,flyrain/hadoop,nandakumar131/hadoop,vesense/hadoop,mapr/hadoop-common,odpi/hadoop,samuelan/hadoop,yanbit/hadoop,hjk41/hadoop,OnePaaS/hadoop,eonezhang/hadoop,odpi/hadoop,jjj117/hadoop,slchen2014/hadoop,pkit/hadoop,busbey/hadoop,bysslord/hadoop,cryptickp/hadoop,LoQIStar/hadoop,ouyangjie/hadoop,venkateshu/hadoop,mapr/hadoop-common,GeLiXin/hadoop,apurtell/hadoop,dilaver/hadoop,wwjiang007/hadoop,pkdevbox/hadoop,xujianhai/hadoop,zjshen/hadoop-YARN-2928-POC,dennishuo/hadoop,simbadzina/hadoop-fcfs,dossett/hadoop,tianshouzhi/hadoop,littlezhou/hadoop,jingjidejuren/hadoop,Ethanlm/hadoop,djalova/hadoop,jjj117/hadoop,zengzhaozheng/hadoop,Winiex/hadoop,vesense/hadoop,vesense/hadoop,anjuncc/hadoop,dossett/hadoop,lawrencewu/hadoop,WIgor/hadoop,harshavmb/hadoop,legend-hua/hadoop,plusplusjiajia/hadoop,oza/hadoop,frdeso/hadoop,sujeetv/hadoop,cryptickp/hadoop,xiao-chen/hadoop,nandakumar131/hadoop,EdwinChanYi/hadoop,MetSystem/hadoop,vlajos/hadoop,dhootha/hadoop,lightslife/hadoop,dongjiaqiang/hadoop,frdeso/hadoop,weipinghe/hadoop,chenliang613/hadoop,plusplusjiajia/hadoop,dongjiaqiang/hadoop,soumabrata-chakraborty/hadoop,oza/hadoop,chenliang613/hadoop,huafengw/hadoop,allfro/hadoop,chetan-anand/hadoop,chetan-anand/hadoop,sujeetv/hadoop,adouang/hadoop,bysslord/hadoop,apache/hadoop,SwathiMystery/hadoop,bysslord/hadoop,Ethanlm/hadoop,slchen2014/hadoop,allfro/hadoop,bitmybytes/hadoop,chetan-anand/hadoop,chenliang613/hadoop,eonezhang/hadoop,malli3131/hadoop-1,anjuncc/hadoop,MeiSheng/hadoop,qqming113/hadoop,matrix-stone/hadoop,djalova/hadoop,allfro/hadoop,chenliang613/hadoop,EasonYi/hadoop,pritishppai/hadoop,ronny-macmaster/hadoop,jingjidejuren/hadoop,dilaver/hadoop,pritishppai/hadoop,MeiSheng/hadoop,979969786/hadoop,cryptickp/hadoop,fullcontact/hadoop,qqming113/hadoop,zhe-thoughts/hadoop,xujianhai/hadoop,cnfire/hadoop,fullcontact/hadoop,EasonYi/hadoop,LoQIStar/hadoop,pkdevbox/hadoop,plusplusjiajia/hadoop,EdwinChanYi/hadoop,rohanwaghere/hadoop,nandakumar131/hadoop,NightWolf007/hadoop,f7753/hadoop,eonezhang/hadoop,MeiSheng/hadoop,xujianhai/hadoop,OnePaaS/hadoop,hastimal/hadoop,EdwinChanYi/hadoop,yanbit/hadoop,hjk41/hadoop,NightWolf007/hadoop,NightWolf007/hadoop,khiraiwa/hadoop,oza/hadoop,ading1977/hadoop,jth/hadoop,messi49/hadoop,lightslife/hadoop,GeLiXin/hadoop,wwjiang007/hadoop,wenxinhe/hadoop,1tylermitchell/hadoop,legend-hua/hadoop,hash-X/hadoop,pkdevbox/hadoop,djalova/hadoop,EdwinChanYi/hadoop,StephanieMak/hadoop,JingchengDu/hadoop,liutizhong/hadoop,dennishuo/hadoop,vlajos/hadoop,sroegner/hadoop,venkateshu/hadoop,rohanwaghere/hadoop,MobinRanjbar/hadoop,weipinghe/hadoop,hjk41/hadoop,wwjiang007/hadoop,JingchengDu/hadoop,busbey/hadoop,1tylermitchell/hadoop,szegedim/hadoop,slchen2014/hadoop,MeiSheng/hadoop,saydulk/hadoop,gilv/hadoop,xuchenCN/hadoop,lightslife/hadoop,apache/hadoop,cryptickp/hadoop,djalova/hadoop,Winiex/hadoop,bitmybytes/hadoop,weipinghe/hadoop,NightWolf007/hadoop,allfro/hadoop,malli3131/hadoop-1,dongjiaqiang/hadoop,zhe-thoughts/hadoop,chenliang613/hadoop,saydulk/hadoop,laxman-ch/hadoop,laxman-ch/hadoop,dierobotsdie/hadoop,mapr/hadoop-common,skinzer/hadoop,OnePaaS/hadoop,lightslife/hadoop,sasa233/hadoop,abhishekagarwal87/hadoop,bysslord/hadoop,jjj117/hadoop,rohanwaghere/hadoop,MeiSheng/hadoop,hash-X/hadoop,sasa233/hadoop,lukmajercak/hadoop,Ethanlm/hadoop,weipinghe/hadoop,oza/hadoop,liutizhong/hadoop,weipinghe/hadoop,dhootha/hadoop,huafengw/hadoop,apurtell/hadoop,LoQIStar/hadoop,mapr/hadoop-common,binn-yang/hadoop,ucare-uchicago/hadoop,hash-X/hadoop,f7753/hadoop,bitmybytes/hadoop,cnfire/hadoop,sujeetv/hadoop,qqming113/hadoop,hash-X/hadoop,Elbehery/hadoop,anjuncc/hadoop,malli3131/hadoop-1,yanbit/hadoop,hjk41/hadoop,cnfire/hadoop,zengzhaozheng/hadoop,lzo/hadoop,leftnoteasy/hadoop-1,wenxinhe/hadoop,wwjiang007/hadoop,slchen2014/hadoop,jth/hadoop,korrelate/hadoop,nandakumar131/hadoop,qqming113/hadoop,jth/hadoop,liutizhong/hadoop,ronny-macmaster/hadoop,EasonYi/hadoop,apache/hadoop,ctrezzo/hadoop,anjuncc/hadoop,leftnoteasy/hadoop-1,apurtell/hadoop,MobinRanjbar/hadoop,sroegner/hadoop,zhe-thoughts/hadoop,Authorlove/hadoop,Authorlove/hadoop,cnfire/hadoop,ucare-uchicago/hadoop,sasa233/hadoop,HazelChen/hadoop,littlezhou/hadoop,rohanwaghere/hadoop,khiraiwa/hadoop,faspl/hadoop,frdeso/hadoop,ucare-uchicago/hadoop,matrix-stone/hadoop,vlajos/hadoop,faspl/hadoop,xiao-chen/hadoop,busbey/hadoop,rohanwaghere/hadoop,pritishppai/hadoop,jjj117/hadoop,flyrain/hadoop,pkit/hadoop,dilaver/hadoop,lawrencewu/hadoop,WIgor/hadoop,EdwinChanYi/hadoop,Elbehery/hadoop,skinzer/hadoop,lukmajercak/hadoop,gilv/hadoop,messi49/hadoop,tianshouzhi/hadoop,bysslord/hadoop,Elbehery/hadoop,flyrain/hadoop,apurtell/hadoop,hash-X/hadoop,chetan-anand/hadoop,zjshen/hadoop-YARN-2928-POC,sujeetv/hadoop,dongjiaqiang/hadoop,ouyangjie/hadoop,simbadzina/hadoop-fcfs,slchen2014/hadoop,gilv/hadoop,pkit/hadoop,zengzhaozheng/hadoop,piaoyu/hadoop,hjk41/hadoop,pkdevbox/hadoop,Authorlove/hadoop,NightWolf007/hadoop,dierobotsdie/hadoop,dossett/hadoop,dierobotsdie/hadoop,neo-hu/hadoop,lightslife/hadoop,chetan-anand/hadoop,zjshen/hadoop-YARN-2928-POC,abhishekagarwal87/hadoop,dilaver/hadoop,soumabrata-chakraborty/hadoop,neo-hu/hadoop,lzo/hadoop,zengzhaozheng/hadoop,ChetnaChaudhari/hadoop,pritishppai/hadoop,HazelChen/hadoop,HazelChen/hadoop,jingjidejuren/hadoop,Ethanlm/hadoop,pkit/hadoop,littlezhou/hadoop,Ethanlm/hadoop,pkit/hadoop,faspl/hadoop,malli3131/hadoop-1,legend-hua/hadoop,lzo/hadoop,MobinRanjbar/hadoop,soumabrata-chakraborty/hadoop,dilaver/hadoop,ChetnaChaudhari/hadoop,hastimal/hadoop,vlajos/hadoop,soumabrata-chakraborty/hadoop,messi49/hadoop,korrelate/hadoop,apache/hadoop,pritishppai/hadoop,vesense/hadoop,ouyangjie/hadoop,IBYoung/hadoop,xujianhai/hadoop,EasonYi/hadoop,JingchengDu/hadoop,StephanieMak/hadoop,jingjidejuren/hadoop,f7753/hadoop,allfro/hadoop,dierobotsdie/hadoop,odpi/hadoop,ChetnaChaudhari/hadoop,frdeso/hadoop,nandakumar131/hadoop,f7753/hadoop,djalova/hadoop,ouyangjie/hadoop,grokcoder/hadoop,liutizhong/hadoop,lightslife/hadoop,ading1977/hadoop,oza/hadoop,anjuncc/hadoop,piaoyu/hadoop,skinzer/hadoop,lzo/hadoop,ucare-uchicago/hadoop,legend-hua/hadoop,likaiwalkman/hadoop,oza/hadoop,ctrezzo/hadoop,dennishuo/hadoop,plusplusjiajia/hadoop,dossett/hadoop,skinzer/hadoop,vesense/hadoop,hjk41/hadoop,IBYoung/hadoop,HazelChen/hadoop,jth/hadoop,OnePaaS/hadoop,simbadzina/hadoop-fcfs,zengzhaozheng/hadoop,IBYoung/hadoop,matrix-stone/hadoop,szegedim/hadoop,busbey/hadoop,faspl/hadoop,tianshouzhi/hadoop,grokcoder/hadoop,Authorlove/hadoop,fullcontact/hadoop,dongjiaqiang/hadoop,flyrain/hadoop,ading1977/hadoop,Authorlove/hadoop,xuchenCN/hadoop,messi49/hadoop,szegedim/hadoop,likaiwalkman/hadoop,likaiwalkman/hadoop,sujeetv/hadoop,samuelan/hadoop,simbadzina/hadoop-fcfs,piaoyu/hadoop,apache/hadoop,bysslord/hadoop,Authorlove/hadoop,neo-hu/hadoop,GeLiXin/hadoop,apache/hadoop,cryptickp/hadoop,JingchengDu/hadoop,venkateshu/hadoop,grokcoder/hadoop,adouang/hadoop,xuchenCN/hadoop,legend-hua/hadoop,EasonYi/hadoop,adouang/hadoop,f7753/hadoop,skinzer/hadoop,odpi/hadoop,dhootha/hadoop,taoguan/hadoop,GeLiXin/hadoop,oza/hadoop,1tylermitchell/hadoop,gilv/hadoop,cnfire/hadoop,dossett/hadoop,wenxinhe/hadoop,dxd132630/hadoop,f7753/hadoop,soumabrata-chakraborty/hadoop,weipinghe/hadoop,wwjiang007/hadoop,jjj117/hadoop,piaoyu/hadoop,pkdevbox/hadoop,korrelate/hadoop,ctrezzo/hadoop,ronny-macmaster/hadoop,dierobotsdie/hadoop,piaoyu/hadoop,jth/hadoop,venkateshu/hadoop,huafengw/hadoop,zengzhaozheng/hadoop,dongjiaqiang/hadoop,dierobotsdie/hadoop,xiao-chen/hadoop,piaoyu/hadoop,jingjidejuren/hadoop,djalova/hadoop,dennishuo/hadoop,binn-yang/hadoop,yanbit/hadoop,qqming113/hadoop,nandakumar131/hadoop,eonezhang/hadoop,adouang/hadoop,ChetnaChaudhari/hadoop,huafengw/hadoop,busbey/hadoop,samuelan/hadoop,dxd132630/hadoop,fullcontact/hadoop,Winiex/hadoop,xiao-chen/hadoop,dxd132630/hadoop,ronny-macmaster/hadoop,wwjiang007/hadoop,frdeso/hadoop,messi49/hadoop,skinzer/hadoop,yanbit/hadoop,cnfire/hadoop,faspl/hadoop,sroegner/hadoop,JingchengDu/hadoop,steveloughran/hadoop,steveloughran/hadoop,lukmajercak/hadoop,lzo/hadoop,EdwinChanYi/hadoop,hastimal/hadoop,lzo/hadoop,OnePaaS/hadoop,grokcoder/hadoop,binn-yang/hadoop,littlezhou/hadoop,korrelate/hadoop,GeLiXin/hadoop,skinzer/hadoop,dossett/hadoop,saydulk/hadoop,ctrezzo/hadoop,steveloughran/hadoop,leftnoteasy/hadoop-1,harshavmb/hadoop,frdeso/hadoop,yanbit/hadoop,sasa233/hadoop,szegedim/hadoop,jth/hadoop,leftnoteasy/hadoop-1,laxman-ch/hadoop,likaiwalkman/hadoop,saydulk/hadoop,dhootha/hadoop,1tylermitchell/hadoop,huafengw/hadoop,SwathiMystery/hadoop,steveloughran/hadoop,abhishekagarwal87/hadoop,HazelChen/hadoop,sroegner/hadoop,MetSystem/hadoop,MobinRanjbar/hadoop,harshavmb/hadoop,jjj117/hadoop,hastimal/hadoop,odpi/hadoop,1tylermitchell/hadoop,xiao-chen/hadoop,IBYoung/hadoop,hastimal/hadoop,lukmajercak/hadoop,vlajos/hadoop,flyrain/hadoop,LoQIStar/hadoop,saydulk/hadoop