Hi, I've found out the reason, my local JAVA_HOME is unset by jenv. I've fixed it and compiled it successfully.
[INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for Paimon : 0.6.1-incubating: [INFO] [INFO] Paimon : ........................................... SUCCESS [ 7.694 s] [INFO] Paimon : Test utils ................................ SUCCESS [ 6.643 s] [INFO] Paimon : Common .................................... SUCCESS [ 52.850 s] [INFO] Paimon : Benchmark ................................. SUCCESS [ 1.058 s] [INFO] Paimon : Benchmark : Cluster ....................... SUCCESS [ 41.581 s] [INFO] Paimon : Code Gen .................................. SUCCESS [ 54.659 s] [INFO] Paimon : Code Gen Loader ........................... SUCCESS [ 4.052 s] [INFO] Paimon : Format .................................... SUCCESS [ 11.731 s] [INFO] Paimon : Core ...................................... SUCCESS [ 17.985 s] [INFO] Paimon : FileSystems : ............................. SUCCESS [ 0.249 s] [INFO] Paimon : FileSystems : S3 : Impl ................... SUCCESS [ 5.997 s] [INFO] Paimon : FileSystems : S3 .......................... SUCCESS [ 23.471 s] [INFO] Paimon : Hive ...................................... SUCCESS [ 0.385 s] [INFO] Paimon : Hive Common ............................... SUCCESS [ 3.597 s] [INFO] Paimon : Hive Catalog .............................. SUCCESS [ 12.792 s] [INFO] Paimon : Bundle .................................... SUCCESS [ 7.541 s] [INFO] Paimon : Benchmark : Micro ......................... SUCCESS [ 6.945 s] [INFO] Paimon : Flink ..................................... SUCCESS [ 1.846 s] [INFO] Paimon : Flink : Common ............................ SUCCESS [ 26.229 s] [INFO] Paimon : Flink : CDC ............................... SUCCESS [ 17.396 s] [INFO] Paimon : Flink : 1.14 .............................. SUCCESS [ 6.436 s] [INFO] Paimon : Flink : 1.15 .............................. SUCCESS [ 7.263 s] [INFO] Paimon : Flink : 1.16 .............................. SUCCESS [ 16.137 s] [INFO] Paimon : Flink : 1.17 .............................. SUCCESS [ 4.185 s] [INFO] Paimon : Flink : 1.18 .............................. SUCCESS [ 4.680 s] [INFO] Paimon : Flink : Action ............................ SUCCESS [ 1.027 s] [INFO] Paimon : Spark ..................................... SUCCESS [ 0.391 s] [INFO] Paimon : Spark : Common ............................ SUCCESS [01:29 min] [INFO] Paimon : Docs ...................................... SUCCESS [ 2.013 s] [INFO] Paimon : Hive Connector Common ..................... SUCCESS [ 8.336 s] [INFO] Paimon : Spark : 3.2 ............................... SUCCESS [ 25.466 s] [INFO] Paimon : Tools : CI : Java ......................... SUCCESS [ 1.336 s] [INFO] Paimon : End to End Tests .......................... SUCCESS [ 16.536 s] [INFO] Paimon : FileSystems : Hadoop Shaded ............... SUCCESS [ 4.658 s] [INFO] Paimon : FileSystems : OSS : Impl .................. SUCCESS [ 5.920 s] [INFO] Paimon : FileSystems : OSS ......................... SUCCESS [ 15.639 s] [INFO] Paimon : Hive Connector : 2.1 ...................... SUCCESS [ 3.969 s] [INFO] Paimon : Hive Connector : 2.1-cdh-6.3 .............. SUCCESS [ 3.874 s] [INFO] Paimon : Hive Connector : 2.2 ...................... SUCCESS [ 3.809 s] [INFO] Paimon : Hive Connector : 2.3 ...................... SUCCESS [ 6.259 s] [INFO] Paimon : Hive Connector : 3.1 ...................... SUCCESS [ 7.287 s] [INFO] Paimon : Spark : 2 ................................. SUCCESS [ 5.598 s] [INFO] Paimon : Spark : 3.5 ............................... SUCCESS [ 5.094 s] [INFO] Paimon : Spark : 3.4 ............................... SUCCESS [ 33.146 s] [INFO] Paimon : Spark : 3.3 ............................... SUCCESS [ 30.933 s] [INFO] Paimon : Spark : 3.1 ............................... SUCCESS [ 17.727 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 10:33 min [INFO] Finished at: 2024-01-24T11:44:05+08:00 [INFO] ------------------------------------------------------------------------ Convert my -1 vote to +1. Sincerely, Suyan Bi Yan <bi...@apache.org> 于2024年1月24日周三 10:33写道: > > Hi Suyan, > > It's similar to the previous one. I can't reproduce either of two in M1 and > jdk8. > So, do you mind that try to build the previous source code: > https://dist.apache.org/repos/dist/dev/incubator/paimon/paimon-0.6.0-incubating-rc1/ > > On 2024/01/23 08:30:05 Suyan wrote: > > Hi, > > > > With this source, I meet a new issue. > > > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] BUILD FAILURE > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Total time: 3.268 s > > [INFO] Finished at: 2024-01-23T16:28:50+08:00 > > [INFO] > > ------------------------------------------------------------------------ > > [ERROR] Failed to execute goal > > com.diffplug.spotless:spotless-maven-plugin:2.13.0:check (spotless-check) > > on project paimon-test-utils: Execution spotless-check of goal > > com.diffplug.spotless:spotless-maven-plugin:2.13.0:check failed: > > java.lang.reflect.InvocationTargetException: class > > com.google.googlejavaformat.java.RemoveUnusedImports (in unnamed module > > @0x798753cc) cannot access class com.sun.tools.javac.util.Context (in > > module jdk.compiler) because module jdk.compiler does not export > > com.sun.tools.javac.util to unnamed module @0x798753cc -> [Help 1] > > [ERROR] > > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > > switch. > > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > > [ERROR] > > [ERROR] For more information about the errors and possible solutions, > > please read the following articles: > > [ERROR] [Help 1] > > http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException > > [ERROR] > > [ERROR] After correcting the problems, you can resume the build with the > > command > > [ERROR] mvn <args> -rf :paimon-test-utils > > > > My java version: > > > > openjdk version "1.8.0_402" > > OpenJDK Runtime Environment (Temurin)(build 1.8.0_402-b06) > > OpenJDK 64-Bit Server VM (Temurin)(build 25.402-b06, mixed mode) > > > > System info: > > Apple Silicon M1(arm64) > > macOS 13.6.3 > > > > Sincerely, > > Suyan > > > > > 2024年1月23日 11:40,Bi Yan <bi...@apache.org> 写道: > > > > > > Hi Suyan, > > > > > > Sorry for not locating your issue. But, can you use the following source > > > to check whether this issue still exists? > > > > > > https://dist.apache.org/repos/dist/dev/incubator/paimon/paimon-0.6.1-incubating-rc3/ > > > > > > Thanks. > > > > > > On 2024/01/22 07:53:22 Suyan wrote: > > >> The java version on my machine: > > >> openjdk version "1.8.0_402" > > >> OpenJDK Runtime Environment (Temurin)(build 1.8.0_402-b06) > > >> OpenJDK 64-Bit Server VM (Temurin)(build 25.402-b06, mixed mode) > > >> > > >> Sincerely, > > >> Suyan > > >> > > >>> 2024年1月22日 11:55,Bi Yan <bi...@apache.org> 写道: > > >>> > > >>> Hi Suyan, thanks for checking and voting. > > >>> > > >>> Paimon supports Jdk8 and Jdk11 currently. Can you check your jdk > > >>> version? > > >>> If yes, is there more details for me to address this? Thank you. > > >>> > > >>> -- > > >>> 谢谢 ~ > > >>> Best Wishes ~ > > >>> > > >>> --------------------------------------------------------------------- > > >>> To unsubscribe, e-mail: general-unsubscr...@incubator.apache.org > > >>> For additional commands, e-mail: general-h...@incubator.apache.org > > >>> > > >> > > >> > > >> --------------------------------------------------------------------- > > >> To unsubscribe, e-mail: general-unsubscr...@incubator.apache.org > > >> For additional commands, e-mail: general-h...@incubator.apache.org > > >> > > >> > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: general-unsubscr...@incubator.apache.org > > > For additional commands, e-mail: general-h...@incubator.apache.org > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: general-unsubscr...@incubator.apache.org > > For additional commands, e-mail: general-h...@incubator.apache.org > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: general-unsubscr...@incubator.apache.org > For additional commands, e-mail: general-h...@incubator.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: general-unsubscr...@incubator.apache.org For additional commands, e-mail: general-h...@incubator.apache.org