HBASE-24150 Allow module tests run in parallel (#1464)
Pass --threads=2 to mvn when yetus runs so some parallelism when dependencies allow. Signed-off-by: Nick Dimiduk <ndimiduk@apache.org> Signed-off-by: Viraj Jasani <vjasani@apache.org>
This commit is contained in:
parent
2d11796380
commit
9eb49172d0
|
@ -140,7 +140,10 @@ function personality_modules
|
|||
|
||||
clear_personality_queue
|
||||
|
||||
extra="-DHBasePatchProcess"
|
||||
# At a few points, hbase modules can run build, test, etc. in parallel
|
||||
# Let it happen. Means we'll use more CPU but should be for short bursts.
|
||||
# https://cwiki.apache.org/confluence/display/MAVEN/Parallel+builds+in+Maven+3
|
||||
extra="--threads=2 -DHBasePatchProcess"
|
||||
if [[ "${PATCH_BRANCH}" = branch-1* ]]; then
|
||||
extra="${extra} -Dhttps.protocols=TLSv1.2"
|
||||
fi
|
||||
|
|
|
@ -172,7 +172,7 @@ fi
|
|||
|
||||
cd "${unpack_dir}"
|
||||
echo "Follow the ref guide section on making a RC: Step 8 Build the binary tarball."
|
||||
if mvn -DskipTests -Prelease --batch-mode -Dmaven.repo.local="${m2_tarbuild}" clean install \
|
||||
if mvn --threads=2 -DskipTests -Prelease --batch-mode -Dmaven.repo.local="${m2_tarbuild}" clean install \
|
||||
assembly:single >"${working_dir}/srctarball_install.log" 2>&1; then
|
||||
for artifact in "${unpack_dir}"/hbase-assembly/target/hbase-*-bin.tar.gz; do
|
||||
if [ -f "${artifact}" ]; then
|
||||
|
|
4
pom.xml
4
pom.xml
|
@ -4022,8 +4022,8 @@
|
|||
<id>hbase.apache.org</id>
|
||||
<name>HBase Website at hbase.apache.org</name>
|
||||
<!-- On why this is the tmp dir and not hbase.apache.org, see
|
||||
https://issues.apache.org/jira/browse/HBASE-7593?focusedCommentId=13555866&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13555866
|
||||
-->
|
||||
https://issues.apache.org/jira/browse/HBASE-7593?focusedCommentId=13555866&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13555866
|
||||
-->
|
||||
<url>file:///tmp</url>
|
||||
</site>
|
||||
</distributionManagement>
|
||||
|
|
Loading…
Reference in New Issue