Hi Mridul,

I've tried your scripts on my local environment(JDK8) and the problem
is not reproduced. Both Maven 3.8.8 and 3.9.6 are tested.
Changing <maven.version> might help as I've encountered some maven bugs before.

I think there needs more information about how to reproduce this
problem, like the environmental information, JDK version, etc.

Regards,
Ethan Feng

Mridul Muralidharan <mri...@gmail.com> 于2024年3月21日周四 15:25写道:
>
> Hi,
>
>
>   I am observing that a maven build gets 'stuck' when compiling "services"
> for running tests.
> Without tests, this goes through:
>
> $ ARGS="-Pspark-3.1"; ./build/mvn $ARGS clean 2>&1 | tee clean_output.txt
> && ./build/mvn -DskipTests $ARGS package 2>&1 | tee build_output.txt
>
> This gets stuck indefinitely:
>
> $ ARGS="-Pspark-3.1"; ./build/mvn  $ARGS package 2>&1 | tee test_output.txt
> See [1] for output snippet.
>
> Strangely, running with -X seemed to be fine (the one time I tried it).
>
> I have made some dependency changes to pom.xml, but no changes to
> service module.
>
> Anything I am missing here ? Any hints would be greatly appreciated :-)
>
> Thanks !
> Mridul
>
> [1]
>
> [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @
> celeborn-service_2.12 ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Using 'UTF-8' encoding to copy filtered properties files.
> [INFO] Copying 1 resource
> [INFO] Copying 3 resources
> [INFO]
> [INFO] --- scala-maven-plugin:4.7.2:compile (scala-compile-first) @
> celeborn-service_2.12 ---
> [INFO] Using incremental compilation using Mixed compile order
> [INFO] Compiler bridge file:
> /home/mridul/.sbt/1.0/zinc/org.scala-sbt/org.scala-sbt-compiler-bridge_2.12-1.7.1-bin_2.12.10__61.0-1.7.1_20220712T022208.jar
> [INFO] compiler plugin:
> BasicArtifact(com.github.ghik,silencer-plugin_2.12.10,1.6.0,null)
> [INFO] compiling 4 Scala sources and 9 Java sources to
> /home/mridul/work/apache/celeborn/incubator-celeborn/service/target/classes
> ...
> [INFO] NoPosition: Note: Some input files use unchecked or unsafe
> operations.
> [INFO] NoPosition: Note: Recompile with -Xlint:unchecked for details.
> [INFO] done compiling
> [INFO] compiling 2 Scala sources and 2 Java sources to
> /home/mridul/work/apache/celeborn/incubator-celeborn/service/target/classes
> ...
> [INFO] done compiling
> [INFO] compiling 1 Scala source and 5 Java sources to
> /home/mridul/work/apache/celeborn/incubator-celeborn/service/target/classes
> ...
> [INFO] NoPosition: Note: Some input files use unchecked or unsafe
> operations.
> [INFO] NoPosition: Note: Recompile with -Xlint:unchecked for details.
> [INFO] done compiling
> [INFO] compiling 5 Scala sources and 2 Java sources to
> /home/mridul/work/apache/celeborn/incubator-celeborn/service/target/classes
> ...
> [INFO] done compiling
> [INFO] compiling 5 Scala sources and 5 Java sources to
> /home/mridul/work/apache/celeborn/incubator-celeborn/service/target/classes
> ...
> [INFO] NoPosition: Note: Some input files use unchecked or unsafe
> operations.
> [INFO] NoPosition: Note: Recompile with -Xlint:unchecked for details.
> [INFO] done compiling
> [INFO] compiling 5 Scala sources and 2 Java sources to
> /home/mridul/work/apache/celeborn/incubator-celeborn/service/target/classes
> ...
> [INFO] done compiling
> [INFO] compiling 5 Scala sources and 5 Java sources to
> /home/mridul/work/apache/celeborn/incubator-celeborn/service/target/classes
> ...
> [INFO] NoPosition: Note: Some input files use unchecked or unsafe
> operations.
> [INFO] NoPosition: Note: Recompile with -Xlint:unchecked for details.
> [INFO] done compiling
> [INFO] compiling 5 Scala sources and 2 Java sources to
> /home/mridul/work/apache/celeborn/incubator-celeborn/service/target/classes
> ...
> [INFO] done compiling
> [INFO] compiling 5 Scala sources and 5 Java sources to
> /home/mridul/work/apache/celeborn/incubator-celeborn/service/target/classes
> ...
> [INFO] NoPosition: Note: Some input files use unchecked or unsafe
> operations.
> [INFO] NoPosition: Note: Recompile with -Xlint:unchecked for details.
> [INFO] done compiling
> [INFO] compiling 5 Scala sources and 2 Java sources to
> /home/mridul/work/apache/celeborn/incubator-celeborn/service/target/classes
> ...
> [INFO] done compiling
> [INFO] compiling 5 Scala sources and 5 Java sources to
> /home/mridul/work/apache/celeborn/incubator-celeborn/service/target/classes
> ...
> [INFO] NoPosition: Note: Some input files use unchecked or unsafe
> operations.
> [INFO] NoPosition: Note: Recompile with -Xlint:unchecked for details.
> [INFO] done compiling
>
> And then keeps indefinitely repeating this.

Reply via email to