Fix error message in impala-shell for queries that crash the impalad
Fix error message in impala-shell for queries that crash the impalad

An anti-join query in IMPALA-1175 revealed that the shell
mishandled the exception when the impalad would crash. This
fix prints the correct error message and sets the shell
state as disconnected.

Note there isn't a way to test this easily due to the difficulty
in coming up with a query that will crash the impalad.

Change-Id: I534674880db224a0d93dfd8bd2c081a12b65532b
Reviewed-on: http://gerrit.sjc.cloudera.com:8080/3998
Reviewed-by: Abdullah Yousufi <068a38a580c180c3e337190f33bdc6feb1fd1999@cloudera.com>
Tested-by: jenkins
Reviewed-on: http://gerrit.sjc.cloudera.com:8080/4080

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