Fixed impala so that it will work in pseudo-distibuted mode