----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/60756/#review180187 -----------------------------------------------------------
Fix it, then Ship it! dev-support/docker/docker/bin/ambaribuild.py Lines 177 (patched) <https://reviews.apache.org/r/60756/#comment255225> sp: in additional - Jonathan Hurley On July 10, 2017, 7:38 p.m., Alejandro Fernandez wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/60756/ > ----------------------------------------------------------- > > (Updated July 10, 2017, 7:38 p.m.) > > > Review request for Ambari, Attila Doroszlai, Dmytro Grinenko, Jonathan > Hurley, and Sid Wagle. > > > Bugs: AMBARI-21440 > https://issues.apache.org/jira/browse/AMBARI-21440 > > > Repository: ambari > > > Description > ------- > > When trying to upgrade ambari-server, it fails with error: > ``` > Exception in thread "main" org.apache.ambari.server.AmbariException: Stack > data, Stack BigInsights 4.2.5 is not found in Ambari metainfo > ``` > > For the server, package /var/lib/ambari-server/resources/stacks/BigInsights > For the agent, package /var/lib/ambari-agent/cache/stacks/BigInsights > > > Diffs > ----- > > ambari-agent/pom.xml 475adf2 > ambari-server/pom.xml 63e704c > ambari-server/src/main/assemblies/server.xml 74d96a4 > dev-support/docker/docker/bin/ambaribuild.py dfb7d60 > dev-support/docker/docker/bin/test/ambaribuild_test.py a324f5f > pom.xml 8a17956 > > > Diff: https://reviews.apache.org/r/60756/diff/1/ > > > Testing > ------- > > Verified the new RPMs, > > ``` > # Generate the RPM > mvn -B install package rpm:rpm -pl > utility,ambari-views,ambari-metrics/ambari-metrics-common,ambari-server,ambari-agent > -Dmaven.clover.skip=true -Dfindbugs.skip=true -DskipTests=true > -Dstack.distribution=HDP -Dsupplemental.distribution=BigInsights > -Dpython.ver="python >= 2.6" -Drat.ignoreErrors=true > > # Verify the contents > rpm -qlp rpm -qlp ambari-server-2.5.1.0-0.x86_64.rpm | grep > "var/lib/ambari-server/resources/stacks/BigInsights" > > rpm -qlp rpm -qlp ambari-agent-2.5.1.0-0.x86_64.rpm | grep > "/var/lib/ambari-agent/cache/stacks/BigInsights" > ``` > > > Thanks, > > Alejandro Fernandez > >
