This is an automated email from the ASF dual-hosted git repository.

ndimiduk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/master by this push:
     new 87079171729 HBASE-28901 checkcompatibility.py can run maven commands 
with parallelism (#6343)
87079171729 is described below

commit 870791717298f230b172f41b2fb83b9d3ef0dfd2
Author: Nick Dimiduk <[email protected]>
AuthorDate: Sat Oct 19 11:05:28 2024 +0200

    HBASE-28901 checkcompatibility.py can run maven commands with parallelism 
(#6343)
    
    Signed-off-by: Duo Zhang <[email protected]>
---
 dev-support/checkcompatibility.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-support/checkcompatibility.py 
b/dev-support/checkcompatibility.py
index 914f8dd42f1..c03098a3a3a 100755
--- a/dev-support/checkcompatibility.py
+++ b/dev-support/checkcompatibility.py
@@ -141,7 +141,7 @@ def build_tree(java_path, verbose):
     # special hack for comparing with rel/2.0.0, see HBASE-26063 for more 
details
     subprocess.check_call(["sed", "-i", "2148s/3.0.0/3.0.4/g", "pom.xml"], 
cwd=java_path)
     mvn_cmd = ["mvn", "--batch-mode", "-DskipTests",
-               "-Dmaven.javadoc.skip=true", "package"]
+               "-Dmaven.javadoc.skip=true", "--threads=1.0C", "package"]
     if not verbose:
         mvn_cmd.insert(-1, "--quiet")
     subprocess.check_call(mvn_cmd, cwd=java_path)

Reply via email to