[jb] Show another attempt log if last attempt do not have any task
[jb] Show another attempt log if last attempt do not have any task

This prevents the "Could not find any logs" when clicking on the quick
link lob button of a job that add a last reduce step without any attempt.

jayceyxc/hue,xq262144/hue,kawamon/hue,Peddle/hue,yoer/hue,cloudera/hue,fangxingli/hue,MobinRanjbar/hue,jjmleiro/hue,jjmleiro/hue,vmax-feihu/hue,yoer/hue,fangxingli/hue,kawamon/hue,hdinsight/hue,MobinRanjbar/hue,yoer/hue,lumig242/Hue-Integration-with-CDAP,lumig242/Hue-Integration-with-CDAP,Peddle/hue,Peddle/hue,kawamon/hue,cloudera/hue,fangxingli/hue,hdinsight/hue,jayceyxc/hue,vmax-feihu/hue,lumig242/Hue-Integration-with-CDAP,ahmed-mahran/hue,kawamon/hue,jjmleiro/hue,kawamon/hue,todaychi/hue,kawamon/hue,lumig242/Hue-Integration-with-CDAP,Peddle/hue,cloudera/hue,vmax-feihu/hue,kawamon/hue,cloudera/hue,Peddle/hue,MobinRanjbar/hue,fangxingli/hue,kawamon/hue,vmax-feihu/hue,kawamon/hue,cloudera/hue,jayceyxc/hue,yoer/hue,yoer/hue,MobinRanjbar/hue,cloudera/hue,jjmleiro/hue,jjmleiro/hue,cloudera/hue,cloudera/hue,kawamon/hue,cloudera/hue,todaychi/hue,todaychi/hue,cloudera/hue,xq262144/hue,todaychi/hue,xq262144/hue,xq262144/hue,Peddle/hue,jjmleiro/hue,cloudera/hue,lumig242/Hue-Integration-with-CDAP,hdinsight/hue,ahmed-mahran/hue,hdinsight/hue,kawamon/hue,ahmed-mahran/hue,vmax-feihu/hue,jjmleiro/hue,jjmleiro/hue,kawamon/hue,todaychi/hue,kawamon/hue,fangxingli/hue,xq262144/hue,lumig242/Hue-Integration-with-CDAP,vmax-feihu/hue,xq262144/hue,yoer/hue,jayceyxc/hue,MobinRanjbar/hue,vmax-feihu/hue,hdinsight/hue,jayceyxc/hue,jayceyxc/hue,hdinsight/hue,kawamon/hue,lumig242/Hue-Integration-with-CDAP,MobinRanjbar/hue,fangxingli/hue,Peddle/hue,xq262144/hue,cloudera/hue,kawamon/hue,ahmed-mahran/hue,hdinsight/hue,fangxingli/hue,hdinsight/hue,todaychi/hue,cloudera/hue,yoer/hue,ahmed-mahran/hue,jayceyxc/hue,jayceyxc/hue,xq262144/hue,todaychi/hue,Peddle/hue,kawamon/hue,ahmed-mahran/hue,lumig242/Hue-Integration-with-CDAP,vmax-feihu/hue,lumig242/Hue-Integration-with-CDAP,cloudera/hue,jayceyxc/hue,todaychi/hue,MobinRanjbar/hue,cloudera/hue,MobinRanjbar/hue,cloudera/hue,todaychi/hue,cloudera/hue,xq262144/hue,ahmed-mahran/hue,cloudera/hue,kawamon/hue,jjmleiro/hue,fangxingli/hue,Peddle/hue,kawamon/hue,ahmed-mahran/hue,yoer/hue