HUE-2526 [desktop] Avoid a deadlock in the thrift connection pool
HUE-2526 [desktop] Avoid a deadlock in the thrift connection pool

This rewrites thrift_util.PooledClient to re-fetch a free connection
in the method wrapper.

x303597316/hue,GitHublong/hue,rahul67/hue,ChenJunor/hue,xq262144/hue,vitan/hue,dulems/hue,todaychi/hue,ahmed-mahran/hue,Peddle/hue,ChenJunor/hue,ahmed-mahran/hue,yoer/hue,mapr/hue,yongshengwang/hue,javachengwc/hue,pratikmallya/hue,vmax-feihu/hue,todaychi/hue,ChenJunor/hue,kawamon/hue,ChenJunor/hue,epssy/hue,vitan/hue,MobinRanjbar/hue,jjmleiro/hue,jayceyxc/hue,hdinsight/hue,dulems/hue,mapr/hue,erickt/hue,lumig242/Hue-Integration-with-CDAP,Peddle/hue,vmax-feihu/hue,jjmleiro/hue,cloudera/hue,jayceyxc/hue,pratikmallya/hue,xiangel/hue,todaychi/hue,xiangel/hue,sanjeevtripurari/hue,jjmleiro/hue,MobinRanjbar/hue,vitan/hue,cloudera/hue,epssy/hue,lumig242/Hue-Integration-with-CDAP,sanjeevtripurari/hue,fangxingli/hue,dulems/hue,MobinRanjbar/hue,jayceyxc/hue,ChenJunor/hue,GitHublong/hue,epssy/hue,cloudera/hue,lumig242/Hue-Integration-with-CDAP,vitan/hue,erickt/hue,MobinRanjbar/hue,lumig242/Hue-Integration-with-CDAP,MobinRanjbar/hue,hdinsight/hue,abhishek-ch/hue,xiangel/hue,todaychi/hue,kawamon/hue,yoer/hue,x303597316/hue,vmax-feihu/hue,mapr/hue,nvoron23/hue,xq262144/hue,javachengwc/hue,jounex/hue,kawamon/hue,todaychi/hue,hdinsight/hue,fangxingli/hue,kawamon/hue,xiangel/hue,jjmleiro/hue,x303597316/hue,abhishek-ch/hue,yongshengwang/hue,jjmleiro/hue,ahmed-mahran/hue,vmax-feihu/hue,erickt/hue,fangxingli/hue,xiangel/hue,rahul67/hue,javachengwc/hue,rahul67/hue,MobinRanjbar/hue,hdinsight/hue,jounex/hue,xq262144/hue,pratikmallya/hue,MobinRanjbar/hue,jjmleiro/hue,pratikmallya/hue,fangxingli/hue,cloudera/hue,ChenJunor/hue,hdinsight/hue,nvoron23/hue,yoer/hue,todaychi/hue,erickt/hue,kawamon/hue,rahul67/hue,x303597316/hue,lumig242/Hue-Integration-with-CDAP,ChenJunor/hue,pratikmallya/hue,abhishek-ch/hue,jounex/hue,x303597316/hue,ahmed-mahran/hue,vmax-feihu/hue,ChenJunor/hue,kawamon/hue,javachengwc/hue,vitan/hue,jjmleiro/hue,azureplus/hue,Peddle/hue,fangxingli/hue,xq262144/hue,Peddle/hue,xiangel/hue,yongshengwang/hue,nvoron23/hue,erickt/hue,kawamon/hue,yoer/hue,mapr/hue,nvoron23/hue,epssy/hue,yoer/hue,GitHublong/hue,mapr/hue,abhishek-ch/hue,cloudera/hue,rahul67/hue,abhishek-ch/hue,jjmleiro/hue,todaychi/hue,jayceyxc/hue,lumig242/Hue-Integration-with-CDAP,xq262144/hue,Peddle/hue,hdinsight/hue,epssy/hue,cloudera/hue,yoer/hue,jounex/hue,ahmed-mahran/hue,xiangel/hue,sanjeevtripurari/hue,yongshengwang/hue,cloudera/hue,kawamon/hue,abhishek-ch/hue,javachengwc/hue,dulems/hue,fangxingli/hue,kawamon/hue,Peddle/hue,vmax-feihu/hue,mapr/hue,yoer/hue,jounex/hue,rahul67/hue,jayceyxc/hue,GitHublong/hue,cloudera/hue,xiangel/hue,jayceyxc/hue,vmax-feihu/hue,erickt/hue,cloudera/hue,x303597316/hue,sanjeevtripurari/hue,dulems/hue,erickt/hue,Peddle/hue,todaychi/hue,lumig242/Hue-Integration-with-CDAP,pratikmallya/hue,fangxingli/hue,vitan/hue,Peddle/hue,azureplus/hue,xq262144/hue,ahmed-mahran/hue,fangxingli/hue,xq262144/hue,GitHublong/hue,epssy/hue,yoer/hue,kawamon/hue,todaychi/hue,ahmed-mahran/hue,jounex/hue,erickt/hue,epssy/hue,x303597316/hue,dulems/hue,lumig242/Hue-Integration-with-CDAP,GitHublong/hue,jayceyxc/hue,yongshengwang/hue,kawamon/hue,dulems/hue,kawamon/hue,azureplus/hue,kawamon/hue,sanjeevtripurari/hue,rahul67/hue,azureplus/hue,kawamon/hue,javachengwc/hue,rahul67/hue,azureplus/hue,nvoron23/hue,yongshengwang/hue,MobinRanjbar/hue,hdinsight/hue,GitHublong/hue,xq262144/hue,cloudera/hue,jounex/hue,kawamon/hue,dulems/hue,sanjeevtripurari/hue,hdinsight/hue,vmax-feihu/hue,kawamon/hue,azureplus/hue,cloudera/hue,azureplus/hue,abhishek-ch/hue,cloudera/hue,cloudera/hue,jounex/hue,lumig242/Hue-Integration-with-CDAP,xq262144/hue,sanjeevtripurari/hue,jayceyxc/hue,cloudera/hue,sanjeevtripurari/hue,jayceyxc/hue,kawamon/hue,pratikmallya/hue,vitan/hue,javachengwc/hue,abhishek-ch/hue,yongshengwang/hue,nvoron23/hue,cloudera/hue,vitan/hue,jjmleiro/hue,nvoron23/hue,nvoron23/hue,javachengwc/hue,cloudera/hue,GitHublong/hue,yongshengwang/hue,kawamon/hue,pratikmallya/hue,mapr/hue,cloudera/hue,azureplus/hue,Peddle/hue,cloudera/hue,epssy/hue,x303597316/hue,ahmed-mahran/hue