HIVE-14835: Improve ptest2 build time (Prasanth Jayachandran reviewed by Sergio Pena)
Project: http://git-wip-us.apache.org/repos/asf/hive/repo Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/53531618 Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/53531618 Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/53531618 Branch: refs/heads/hive-14535 Commit: 535316187f9451f11ac1cfbe7d6d66f61f2ee6d8 Parents: 0995719 Author: Prasanth Jayachandran <prasan...@apache.org> Authored: Thu Oct 13 14:40:09 2016 -0700 Committer: Prasanth Jayachandran <prasan...@apache.org> Committed: Thu Oct 13 14:40:09 2016 -0700 ---------------------------------------------------------------------- testutils/ptest2/src/main/resources/source-prep.vm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hive/blob/53531618/testutils/ptest2/src/main/resources/source-prep.vm ---------------------------------------------------------------------- diff --git a/testutils/ptest2/src/main/resources/source-prep.vm b/testutils/ptest2/src/main/resources/source-prep.vm index 67e6a95..0fc22be 100644 --- a/testutils/ptest2/src/main/resources/source-prep.vm +++ b/testutils/ptest2/src/main/resources/source-prep.vm @@ -102,11 +102,11 @@ cd $workingDir/ fi done #end - mvn -B clean install -DskipTests -Dmaven.repo.local=$workingDir/maven $mavenArgs $mavenBuildArgs + mvn -B clean install -DskipTests -T 4 -q -Dmaven.repo.local=$workingDir/maven $mavenArgs $mavenBuildArgs if [[ -d "itests" ]] then cd itests - mvn -B clean install -DskipTests -Dmaven.repo.local=$workingDir/maven $mavenArgs $mavenBuildArgs + mvn -B clean install -DskipTests -T 4 -q -Dmaven.repo.local=$workingDir/maven $mavenArgs $mavenBuildArgs fi elif [[ "${buildTool}" == "ant" ]] then