https://gerrit.cloudera.org/#/c/14274/ just got merged. This switches to a native-toolchain version which has the RUNPATH set correctly in the binaries. This will allow solve some issues with LD_LIBRARY_PATH - most of the hacks around that in impala-config.sh/bootstrap_system.sh can be removed.
I am deferring the LD_LIBRARY_PATH cleanup until everyone has a chance to bootstrap with the new binaries, but once I do that, you would likely start to see runtime errors about GLIBCXX versions if you are running a newer Impala version with the old binaries. The newer binaries should work fine with older versions of Impala, so once you re-bootstrap things should be fine even if you go back to an older branch. To do this you can remove your toolchain components and bootstrap again: (set -u; rm -r $IMPALA_TOOLCHAIN/*) && ./bin/bootstrap_toolchain.py I will hold off on making follow-on changes for at least a few days so that everyone has time to do this. - Tim