You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "Evans Ye (Jira)" <ji...@apache.org> on 2020/05/23 14:36:00 UTC
[jira] [Commented] (BIGTOP-3357) Can't build ambari 2.6.2
[ https://issues.apache.org/jira/browse/BIGTOP-3357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17114794#comment-17114794 ]
Evans Ye commented on BIGTOP-3357:
----------------------------------
Since you're building 2.6.2, the patches for 2.6.1 might be outdated and can be removed.
If this is to proposing the upgrade of Ambari, we can work on a patch to fix it.
If this is for custom distro. you're building privately, feel free to derive the desired versions and make the changes. You might need to remove/add patches for the versions that's not released by bigtop.
> Can't build ambari 2.6.2
> ------------------------
>
> Key: BIGTOP-3357
> URL: https://issues.apache.org/jira/browse/BIGTOP-3357
> Project: Bigtop
> Issue Type: Bug
> Components: build
> Affects Versions: 1.4.0
> Environment: [ec2-user@ip-172-31-3-242 bigtop]$ hostnamectl
> Static hostname: localhost.localdomain
> Transient hostname: ip-172-31-3-242
> Icon name: computer-vm
> Chassis: vm
> Machine ID: 68f5f8b68fe34da39527beff4df9ad52
> Boot ID: d4b82fad3e914a1ab6eaacb8d1cb2235
> Virtualization: xen
> Operating System: CentOS Linux 7 (Core)
> CPE OS Name: cpe:/o:centos:centos:7
> Kernel: Linux 3.10.0-1062.12.1.el7.x86_64
> Architecture: x86-64
>
> [ec2-user@ip-172-31-3-242 bigtop]$ git branch
> * master
> Reporter: Matt Andruff
> Priority: Major
>
> Trying to build via git:
> ./gradlew ambari-pkg -Pgit_repo="https://github.com/apache/ambari.git" -Pgit_ref="release-2.6.2" -Pbase_version="2.6.2" --stacktrace
> I run into an issue with one of the patches not working correctly.
>
> {code:java}
> + STATUS=0
> + '[' 0 -ne 0 ']'
> + cd apache-ambari-2.6.2-src
> + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
> + echo 'Patch #0 (patch0-AMBARI.diff):'
> Patch #0 (patch0-AMBARI.diff):
> + /usr/bin/cat /home/ec2-user/bigtop/build/ambari/rpm/SOURCES/patch0-AMBARI.diff
> + /usr/bin/patch -p1 --fuzz=0
> patching file contrib/management-packs/odpi-ambari-mpack/pom.xml
> + echo 'Patch #1 (patch1-AMBARI-storm.diff):'
> Patch #1 (patch1-AMBARI-storm.diff):
> + /usr/bin/cat /home/ec2-user/bigtop/build/ambari/rpm/SOURCES/patch1-AMBARI-storm.diff
> + /usr/bin/patch -p1 --fuzz=0
> patching file ambari-metrics/ambari-metrics-storm-sink/pom.xml
> Reversed (or previously applied) patch detected! Assume -R? [n]
> Apply anyway? [n]
> Skipping patch.
> 1 out of 1 hunk ignored -- saving rejects to file ambari-metrics/ambari-metrics-storm-sink/pom.xml.rej
> error: Bad exit status from /var/tmp/rpm-tmp.RrUJcn (%prep)
> Bad exit status from /var/tmp/rpm-tmp.RrUJcn (%prep)
> RPM build errors:
> > Task :ambari-rpm FAILED
> FAILURE: Build failed with an exception.
> * Where:
> Script '/home/ec2-user/bigtop/packages.gradle' line: 500
> * What went wrong:
> Execution failed for task ':ambari-rpm'.
> > Process 'command 'rpmbuild'' finished with non-zero exit value 1
> * Try:
> Run with --info or --debug option to get more log output. Run with --scan to get full insights.
> {code}
> removing patch1-AMBARI-storm.diff from
> /bigtop/bigtop-packages/src/common/ambari/
> allows build to complete.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)