apply v1.3.1 from impala commit tag https://github.com/cloudera/Impala/commit/7f6c25d0aba45fdcee755ee7ef74c88be8c6bf45, and apply our customize change for hive 0.12.0 and hadoop 2.2.0