Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Impala 4.0.0
-
None
-
ghx-label-8
Description
Currently, running "buildall.sh -notests" boils down to invoking make with multiple targets:
if [[ $BUILD_TESTS -eq 0 ]]; then # Specify all the non-test targets MAKE_TARGETS="impalad statestored catalogd fesupport loggingsupport ImpalaUdf \ udasample udfsample" if (( build_independent_targets )); then MAKE_TARGETS+=" cscope fe tarballs" fi fi ${MAKE_CMD} -j${IMPALA_BUILD_THREADS:-4} ${IMPALA_MAKE_FLAGS} ${MAKE_TARGETS}
Based on the build output, it looks like each make target is invoked individually (with the commands underneath going parallel). This is particularly a problem for impalad (which needs to build the backend) and fe. We want these to run simultaneously, and this limitation prevents that.
We should create a single target that builds all the things needing to be built for -notests. Then, this will be invoking one target and allowing all the pieces go parallel.