leesf commented on issue #1293: [HUDI-585] Optimize the steps of building with scala-2.12 URL: https://github.com/apache/incubator-hudi/pull/1293#issuecomment-581007728 Thanks for opening the PR @lamber-ken ! I compile in my local with scala-2.12, and got the following exception: ```java [ERROR] Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.5:process (process-resource-bundles) on project hudi-cli: Failed to resolve dependencies for one or more projects in the reactor. Reason: Unable to get dependency information for org.apache.hudi:hudi-spark_2.11:jar:0.5.2-SNAPSHOT: Failed to retrieve POM for org.apache.hudi:hudi-spa rk_2.11:jar:0.5.2-SNAPSHOT: Could not transfer artifact org.apache.hudi:hudi-spark_2.11:pom:0.5.2-SNAPSHOT from/to central1 (http://central.maven.org/maven2/): Failed to transfer file: http://central.maven.org/maven2/org/apache/hudi/hudi-spark_2.11/0.5.2-SNAPSHOT/hudi-spark_2.11-0.5.2-SNAPSHOT.pom. Return code is: 501 , ReasonPhrase:Not Implemented. [ERROR] org.apache.hudi:hudi-spark_2.11:jar:0.5.2-SNAPSHOT [ERROR] [ERROR] from the specified remote repositories: [ERROR] central1 (http://central.maven.org/maven2/, releases=true, snapshots=true), [ERROR] Maven Central (https://repo.maven.apache.org/maven2, releases=true, snapshots=false), [ERROR] cloudera-repo-releases (https://repository.cloudera.com/artifactory/public/, releases=true, snapshots=false), [ERROR] confluent (https://packages.confluent.io/maven/, releases=true, snapshots=true), [ERROR] libs-milestone (https://repo.spring.io/libs-milestone/, releases=true, snapshots=true), [ERROR] libs-release (https://repo.spring.io/libs-release/, releases=true, snapshots=true), [ERROR] apache.snapshots (https://repository.apache.org/snapshots, releases=false, snapshots=true), [ERROR] alimaven (http://maven.aliyun.com/nexus/content/groups/public/, releases=true, snapshots=false) [ERROR] Path to dependency: [ERROR] 1) org.apache.hudi:hudi-cli:jar:0.5.2-SNAPSHOT [ERROR] 2) org.apache.hudi:hudi-utilities_2.12:jar:0.5.2-SNAPSHOT [ERROR] -> [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/MojoExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :hudi-cli ``` The reason might be https://github.com/apache/incubator-hudi/pull/1226#issuecomment-575513618. Also pull @zhedoubushishi in since he did support scala-2.12 in (https://github.com/apache/incubator-hudi/pull/1226)
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
