Fixed IMPALA-286

I fixed IMPALA-286 <https://issues.cloudera.org/browse/IMPALA-286>.