run-workload should exit with a non-zero error code if a query fails and abort_on_error is true
run-workload should exit with a non-zero error code if a query fails and abort_on_error is true

The exception raised by a child thread did not reach the main thread, so the
script exited with 0 instead of 1.

Change-Id: I09be9dc824386bf25a64af0323cbf78f6d006b91
Reviewed-on: http://gerrit.ent.cloudera.com:8080/3081
Reviewed-by: Taras Bobrovytsky <72e4a6fc4c5ef23f318dc209e8402725249a5676@cloudera.com>
Tested-by: jenkins
Reviewed-on: http://gerrit.ent.cloudera.com:8080/3214

lnliuxing/Impala,lnliuxing/Impala,brightchen/Impala,cloudera/recordservice,scalingdata/Impala,tempbottle/Impala,lirui-intel/Impala,cloudera/recordservice,ImpalaToGo/ImpalaToGo,placrosse/ImpalaToGo,XiaominZhang/Impala,bratatidas9/Impala-1,lirui-intel/Impala,henryr/Impala,placrosse/ImpalaToGo,bratatidas9/Impala-1,cgvarela/Impala,theyaa/Impala,XiaominZhang/Impala,rdblue/Impala,lirui-intel/Impala,bowlofstew/Impala,XiaominZhang/Impala,XiaominZhang/Impala,kapilrastogi/Impala,rdblue/Impala,lirui-intel/Impala,ibmsoe/ImpalaPPC,brightchen/Impala,kapilrastogi/Impala,theyaa/Impala,gerashegalov/Impala,brightchen/Impala,kapilrastogi/Impala,cchanning/Impala,rdblue/Impala,cchanning/Impala,ImpalaToGo/ImpalaToGo,ImpalaToGo/ImpalaToGo,kapilrastogi/Impala,rdblue/Impala,scalingdata/Impala,lnliuxing/Impala,lnliuxing/Impala,bowlofstew/Impala,caseyching/Impala,theyaa/Impala,cchanning/Impala,caseyching/Impala,cloudera/recordservice,scalingdata/Impala,XiaominZhang/Impala,gerashegalov/Impala,gerashegalov/Impala,tempbottle/Impala,henryr/Impala,lnliuxing/Impala,cgvarela/Impala,ibmsoe/ImpalaPPC,scalingdata/Impala,cgvarela/Impala,henryr/Impala,cgvarela/Impala,bowlofstew/Impala,grundprinzip/Impala,cgvarela/Impala,ibmsoe/ImpalaPPC,cgvarela/Impala,cloudera/recordservice,brightchen/Impala,ibmsoe/ImpalaPPC,tempbottle/Impala,grundprinzip/Impala,scalingdata/Impala,lnliuxing/Impala,grundprinzip/Impala,rdblue/Impala,XiaominZhang/Impala,placrosse/ImpalaToGo,bratatidas9/Impala-1,cloudera/recordservice,bratatidas9/Impala-1,lnliuxing/Impala,tempbottle/Impala,cgvarela/Impala,henryr/Impala,placrosse/ImpalaToGo,caseyching/Impala,caseyching/Impala,bratatidas9/Impala-1,cloudera/recordservice,bratatidas9/Impala-1,ibmsoe/ImpalaPPC,ImpalaToGo/ImpalaToGo,theyaa/Impala,brightchen/Impala,gerashegalov/Impala,grundprinzip/Impala,kapilrastogi/Impala,tempbottle/Impala,bowlofstew/Impala,brightchen/Impala,henryr/Impala,henryr/Impala,bowlofstew/Impala,placrosse/ImpalaToGo,tempbottle/Impala,cchanning/Impala,caseyching/Impala,XiaominZhang/Impala,grundprinzip/Impala,lirui-intel/Impala,grundprinzip/Impala,caseyching/Impala,cchanning/Impala,brightchen/Impala,scalingdata/Impala,ImpalaToGo/ImpalaToGo,theyaa/Impala,tempbottle/Impala,cchanning/Impala,ibmsoe/ImpalaPPC,bowlofstew/Impala,cloudera/recordservice,rdblue/Impala,kapilrastogi/Impala,rdblue/Impala,bowlofstew/Impala,gerashegalov/Impala,lirui-intel/Impala,theyaa/Impala,ImpalaToGo/ImpalaToGo,gerashegalov/Impala,kapilrastogi/Impala,placrosse/ImpalaToGo,lirui-intel/Impala,ibmsoe/ImpalaPPC,theyaa/Impala,bratatidas9/Impala-1,caseyching/Impala,gerashegalov/Impala,cchanning/Impala