[ 
https://issues.apache.org/jira/browse/IMPALA-13309?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17876368#comment-17876368
 ] 

Joe McDonnell commented on IMPALA-13309:
----------------------------------------

I merged this workaround which patches the artifact name:
{noformat}
commit 5bd5df9d057ecfba72b6a5dffa75af443b761a47
Author: Joe McDonnell <[email protected]>
Date:   Thu Aug 22 12:37:38 2024 -0700    IMPALA-13309: Workaround Kudu build 
issue
    
    A Maven repository shut down and Kudu's build fails trying
    to find the gradle-scalafmt artifact. Maven Central has
    this artifact at a different path, so this changes the Kudu
    build to patch Kudu's gradle file to point to the working
    gradle-scalafmt path.
    
    Newer Kudu versions don't have this problem, but the change
    that fixed this issue introduced a separate issue (see
    KUDU-3610). So, this fixes the build until we can upgrade.
    
    Testing:
     - Ran a toolchain build, built against the new toolchain
    
    Change-Id: I155e00431d235a92567c1415aa38b07d1dc6f3ef
    Reviewed-on: http://gerrit.cloudera.org:8080/21713
    Reviewed-by: Michael Smith <[email protected]>
    Tested-by: Joe McDonnell <[email protected]>
{noformat}
I'm going to close this.

> Toolchain Kudu build fails unable to find gradle-scalafmt
> ---------------------------------------------------------
>
>                 Key: IMPALA-13309
>                 URL: https://issues.apache.org/jira/browse/IMPALA-13309
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Infrastructure
>    Affects Versions: Impala 4.5.0
>            Reporter: Joe McDonnell
>            Assignee: Joe McDonnell
>            Priority: Critical
>
> The toolchain build for Kudu is failing with this message:
> {noformat}
> FAILURE: Build failed with an exception.
> * What went wrong:
> Execution failed for task ':buildSrc:compileGroovy'.
> > Could not resolve all files for configuration ':buildSrc:compileClasspath'.
>    > Could not find cz.alenkacz:gradle-scalafmt:1.14.0.
>      Searched in the following locations:
>        - 
> https://repo.maven.apache.org/maven2/cz/alenkacz/gradle-scalafmt/1.14.0/gradle-scalafmt-1.14.0.pom
>        - 
> https://jcenter.bintray.com/cz/alenkacz/gradle-scalafmt/1.14.0/gradle-scalafmt-1.14.0.pom
>        - 
> https://clojars.org/repo/cz/alenkacz/gradle-scalafmt/1.14.0/gradle-scalafmt-1.14.0.pom
>        - 
> https://plugins.gradle.org/m2/cz/alenkacz/gradle-scalafmt/1.14.0/gradle-scalafmt-1.14.0.pom
>      Required by:
>          project :buildSrc{noformat}
> Newer Kudu has moved to a newer Gradle / scalafmt and can avoid this issue, 
> so one option is to move to a newer Kudu and fix up our build scripts.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to