IMPALA-973: Fix for invalidate metadata behaviour

Change-Id: Ie0c4c458b0919978b03ebaba28bf37950dd34643
Reviewed-on: http://gerrit.ent.cloudera.com:8080/3009
Tested-by: jenkins
Reviewed-by: Anusha Dasarakothapalli <anusha.dasarakothapalli@cloudera.com>
Added option to specify the scale factor for pytest

This allows execution of tests on a cluster with multiple scale factors.

For example:
py.test <test file> --impalad <cluster ip>:21000 --scale_factor 300gb

Change-Id: I5230a6ef354def44b984eab2ac8a01989b9a471c
Reviewed-on: http://gerrit.ent.cloudera.com:8080/3051
Reviewed-by: Taras Bobrovytsky <tbobrovytsky@cloudera.com>
Tested-by: jenkins
Fixed cmake warning for thrift files.

Change-Id: I8a1f800b0e28f30124c82c49e018858480b2df89
Reviewed-on: http://gerrit.ent.cloudera.com:8080/3077
Reviewed-by: Nong Li <nong@cloudera.com>
Tested-by: jenkins