You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "Kengo Seki (Jira)" <ji...@apache.org> on 2020/09/05 03:54:00 UTC

[jira] [Comment Edited] (BIGTOP-3396) Building Ambari is failing on Fedora 31 for ARM64

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

Kengo Seki edited comment on BIGTOP-3396 at 9/5/20, 3:53 AM:
-------------------------------------------------------------

Upgrading spring-boot-maven-plugin seems to resolve this case.
{code:java}
[root@1c5d0307c96f bigtop]# echo $HOSTTYPE 
aarch64
[root@1c5d0307c96f bigtop]# cat /etc/redhat-release 
Fedora release 31 (Thirty One)
[root@1c5d0307c96f bigtop]# cat bigtop-packages/src/common/ambari/patch5-AMBARI-spring-boot-maven-plugin.diff
diff --git a/ambari-shell/ambari-groovy-shell/pom.xml b/ambari-shell/ambari-groovy-shell/pom.xml
index 34dfce1585..0f35a7f969 100644
--- a/ambari-shell/ambari-groovy-shell/pom.xml
+++ b/ambari-shell/ambari-groovy-shell/pom.xml
@@ -114,7 +114,7 @@
       <plugin>
         <groupId>org.springframework.boot</groupId>
         <artifactId>spring-boot-maven-plugin</artifactId>
-        <version>1.0.2.RELEASE</version>
+        <version>2.3.0.RELEASE</version>
         <executions>
           <execution>
             <goals>
[root@1c5d0307c96f bigtop]# ./gradlew ambari-clean ambari-pkg

(snip)

> Task :ambari-pkg

BUILD SUCCESSFUL in 6m 53s
7 actionable tasks: 7 executed
{code}


was (Author: sekikn):
Upgrading spring-boot-maven-plugin seems to resolve in this case.

{code}
[root@1c5d0307c96f bigtop]# echo $HOSTTYPE 
aarch64
[root@1c5d0307c96f bigtop]# cat /etc/redhat-release 
Fedora release 31 (Thirty One)
[root@1c5d0307c96f bigtop]# cat bigtop-packages/src/common/ambari/patch5-AMBARI-spring-boot-maven-plugin.diff
diff --git a/ambari-shell/ambari-groovy-shell/pom.xml b/ambari-shell/ambari-groovy-shell/pom.xml
index 34dfce1585..0f35a7f969 100644
--- a/ambari-shell/ambari-groovy-shell/pom.xml
+++ b/ambari-shell/ambari-groovy-shell/pom.xml
@@ -114,7 +114,7 @@
       <plugin>
         <groupId>org.springframework.boot</groupId>
         <artifactId>spring-boot-maven-plugin</artifactId>
-        <version>1.0.2.RELEASE</version>
+        <version>2.3.0.RELEASE</version>
         <executions>
           <execution>
             <goals>
[root@1c5d0307c96f bigtop]# ./gradlew ambari-clean ambari-pkg

(snip)

> Task :ambari-pkg

BUILD SUCCESSFUL in 6m 53s
7 actionable tasks: 7 executed
{code}

> Building Ambari is failing on Fedora 31 for ARM64
> -------------------------------------------------
>
>                 Key: BIGTOP-3396
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-3396
>             Project: Bigtop
>          Issue Type: Bug
>            Reporter: Kengo Seki
>            Priority: Major
>
> Just like BIGTOP-3395, building Ambari for fedora-31-aarch64 is failing with the same error.
> https://ci.bigtop.apache.org/job/Bigtop-trunk-packages/COMPONENTS=ambari,OS=fedora-31-aarch64/628/console
> https://ci.bigtop.apache.org/job/Bigtop-trunk-packages/COMPONENTS=ambari,OS=fedora-31-aarch64/627/console
> https://ci.bigtop.apache.org/job/Bigtop-trunk-packages/COMPONENTS=ambari,OS=fedora-31-aarch64/626/console
> https://ci.bigtop.apache.org/job/Bigtop-trunk-packages/COMPONENTS=ambari,OS=fedora-31-aarch64/625/console
> https://ci.bigtop.apache.org/job/Bigtop-trunk-packages/COMPONENTS=ambari,OS=fedora-31-aarch64/624/console
> {code}
> Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:1.0.2.RELEASE:repackage (default) on project ambari-groovy-shell: invalid entry compressed size (expected 1590 but got 1589 bytes)
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)