Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TEZ-4528: Parallel compilation in precommit. #366

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ jobs:
- uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java-version }}
- run: mvn clean install -DskipTests -Dmaven.javadoc.skip=true
- run: mvn clean install -T2C -DskipTests -Dmaven.javadoc.skip=true
8 changes: 4 additions & 4 deletions build-tools/test-patch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,8 @@ prebuildWithoutPatch () {
echo ""
echo ""
echo "Compiling $(pwd)"
echo "$MVN clean test -DskipTests -Ptest-patch > $PATCH_DIR/masterJavacWarnings.txt 2>&1"
$MVN clean test -DskipTests -Ptest-patch > $PATCH_DIR/masterJavacWarnings.txt 2>&1
echo "$MVN clean -T2C test -DskipTests -Ptest-patch > $PATCH_DIR/masterJavacWarnings.txt 2>&1"
$MVN clean -T2C test -DskipTests -Ptest-patch > $PATCH_DIR/masterJavacWarnings.txt 2>&1
if [[ $? != 0 ]] ; then
echo "master compilation is broken?"
JIRA_COMMENT="$JIRA_COMMENT
Expand Down Expand Up @@ -518,8 +518,8 @@ buildAndInstall () {
echo "======================================================================"
echo ""
echo ""
echo "$MVN install -Dmaven.javadoc.skip=true -DskipTests -D${PROJECT_NAME}PatchProcess"
$MVN install -Dmaven.javadoc.skip=true -DskipTests -D${PROJECT_NAME}PatchProcess
echo "$MVN install -T2C -Dmaven.javadoc.skip=true -DskipTests -D${PROJECT_NAME}PatchProcess"
$MVN install -T2C -Dmaven.javadoc.skip=true -DskipTests -D${PROJECT_NAME}PatchProcess
return $?
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1762,6 +1762,7 @@ public void stateChanged(Service dependency) {
Throwable dependencyError = dependency.getFailureCause();
if (dependencyError != null) {
synchronized(this) {
// test
dependenciesFailed = true;
if(LOG.isDebugEnabled()) {
LOG.debug("Service: " + service.getName() + " will fail to start"
Expand Down
Loading