If you are running Ubuntu 14.04, you can bootstrap a development environment using the script bin/bootstrap_development.sh[0]. It will alter your environment, including ~/.ssh/config and /etc/hosts, so consider running it in a VM or container.
It takes 6-7 hours in total to load all of the testdata and run all of the tests. See the comments in the file for more information. [0]: https://git-wip-us.apache.org/repos/asf?p=incubator-impala.git;a=blob;f=bin/bootstrap_development.sh;h=8c4f742ae058f8017858d2a749e8824be58bd410;hb=HEAD
