You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by GitBox <gi...@apache.org> on 2022/03/03 12:06:59 UTC
[GitHub] [bigtop] cheelio opened a new pull request #870: BIGTOP-3649: Fix Nexus local mirror functionality
cheelio opened a new pull request #870:
URL: https://github.com/apache/bigtop/pull/870
This PR fixes local Nexus mirror functionality by:
* Adding new maven mirrors to repos list in build.gradle.
* Fixing <mirrors> configuration in settings.xml
I use a comma separated list of repo ids this XML fragment instead of a just a `*` to prevent the build from breaking when a new repository is added somewhere in the build without adding it to the repos list in build.gradle
--
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.
To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [bigtop] sekikn commented on pull request #870: BIGTOP-3649: Fix Nexus local mirror functionality
Posted by GitBox <gi...@apache.org>.
sekikn commented on pull request #870:
URL: https://github.com/apache/bigtop/pull/870#issuecomment-1064792241
+1, I ran `./gradlew allclean ambari-pkg-ind -Pnexus=true` twice with a nexus container set up in the same node and confirmed
* the package was successfully built
* .m2/settings.xml was properly configured
* the second run was about 2.3 times faster than the first (22m45s -> 9m43s)
--
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.
To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [bigtop] cheelio commented on pull request #870: BIGTOP-3649: Fix Nexus local mirror functionality
Posted by GitBox <gi...@apache.org>.
cheelio commented on pull request #870:
URL: https://github.com/apache/bigtop/pull/870#issuecomment-1059767171
Something like that?
--
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.
To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [bigtop] cheelio commented on pull request #870: BIGTOP-3649: Fix Nexus local mirror functionality
Posted by GitBox <gi...@apache.org>.
cheelio commented on pull request #870:
URL: https://github.com/apache/bigtop/pull/870#issuecomment-1058833603
Good question. First of all: If the repository variable isn't updated, it won't result in a broken build, but just in a less 'optimal' one. I tested that (locally) by removing all the Horton works repos from the variable.
Maven will then fallback to the remote repo.
My best suggestion for keeping this list updated will be grepping the build log for any non-local downloads afterwards. Maybe some periodic check in Jenkins?
--
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.
To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [bigtop] sekikn commented on pull request #870: BIGTOP-3649: Fix Nexus local mirror functionality
Posted by GitBox <gi...@apache.org>.
sekikn commented on pull request #870:
URL: https://github.com/apache/bigtop/pull/870#issuecomment-1059910000
I tried to build Ambari 2.7.5 with a clean Maven local repository without private-nexus in any pom.xml and it succeeded.
As Olaf said, I also think we generally shouldn't use corporate private repository if it's not necessary, so would you update the PR with the following items @cheelio?
* Add a diff that replaces private-nexus with https://repo.hortonworks.com/content/groups/public/ into bigtop-packages/src/common/ambari/patch9-remove-not-working-plugin-repos.diff
* Remove the existing bigtop-packages/src/common/ambari/patch9-ambari-repo-change.diff introduced in BIGTOP-3607 (I think it may have been a temporary problem caused by a intermittent failure of the Hortonworks public repository, and its fix is not necessary now)
* Remove the private-nexus entry from the repos variable in build.gradle
Once updated, I'll merge this into branch-3.0 and master.
--
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.
To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [bigtop] cheelio commented on pull request #870: BIGTOP-3649: Fix Nexus local mirror functionality
Posted by GitBox <gi...@apache.org>.
cheelio commented on pull request #870:
URL: https://github.com/apache/bigtop/pull/870#issuecomment-1059907244
The nexus-private repo was actually introduced in bigtop in https://github.com/apache/bigtop/commit/ebbf2f763149da2132a055c11d00d41a4ca01eff.
I don't understand why, because in upstream ambari, it was changed to `https://repo.hortonworks.com/content/groups/public/` in https://github.com/apache/ambari/pull/3063/files/20caaf1404b8ed438c9a743e6dec03a36f2cb63f.
--
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.
To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [bigtop] cheelio commented on pull request #870: BIGTOP-3649: Fix Nexus local mirror functionality
Posted by GitBox <gi...@apache.org>.
cheelio commented on pull request #870:
URL: https://github.com/apache/bigtop/pull/870#issuecomment-1060283310
Now that Ambari is building smoothly, I will start working on creating a bigtop 3.0.0 mpack.
--
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.
To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [bigtop] elukey commented on pull request #870: BIGTOP-3649: Fix Nexus local mirror functionality
Posted by GitBox <gi...@apache.org>.
elukey commented on pull request #870:
URL: https://github.com/apache/bigtop/pull/870#issuecomment-1059760826
@cheelio thanks a lot for the detailed explanation, would it be ok for you to add comments to the code that you modified so everybody will be on the same page when reading `build.gradle`? As far as I can see there is not a lot of knowledge about how Nexus works, and your experience would be really appreciated by future readers if written down properly :)
--
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.
To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [bigtop] cheelio commented on a change in pull request #870: BIGTOP-3649: Fix Nexus local mirror functionality
Posted by GitBox <gi...@apache.org>.
cheelio commented on a change in pull request #870:
URL: https://github.com/apache/bigtop/pull/870#discussion_r820447182
##########
File path: bigtop-packages/src/common/ambari/patch9-z_bonus.diff
##########
@@ -0,0 +1,446 @@
+diff --git a/ambari-agent/pom.xml b/ambari-agent/pom.xml
+index 214aa851..3b0bef2d 100644
+--- a/ambari-agent/pom.xml
++++ b/ambari-agent/pom.xml
+@@ -159,7 +159,7 @@
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-utility</artifactId>
+ <scope>test</scope>
+- <version>1.0.0.0-SNAPSHOT</version>
++ <version>2.7.5.0.0</version>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+diff --git a/ambari-infra/pom.xml b/ambari-infra/pom.xml
+index 167bf5c6..c24bf9d3 100644
+--- a/ambari-infra/pom.xml
++++ b/ambari-infra/pom.xml
+@@ -33,7 +33,7 @@
+ <deb.dependency.list>${deb.python.ver}</deb.dependency.list>
+ <hadoop.version>3.0.0</hadoop.version>
+ <surefire.argLine>-Xmx1024m -Xms512m</surefire.argLine>
+- <zookeeper.version>3.4.6.2.3.0.0-2557</zookeeper.version>
++ <zookeeper.version>3.4.6</zookeeper.version>
+ <skipSurefireTests>false</skipSurefireTests>
+ <log4j2.version>2.11.0</log4j2.version>
+ </properties>
+@@ -55,11 +55,6 @@
+ </issueManagement>
+
+ <repositories>
+- <repository>
+- <id>apache-hadoop</id>
+- <name>hdp</name>
+- <url>https://repo.hortonworks.com/content/groups/public/</url>
+- </repository>
+ <repository>
+ <id>oss.sonatype.org</id>
+ <name>OSS Sonatype Staging</name>
+diff --git a/ambari-logsearch/pom.xml b/ambari-logsearch/pom.xml
+index c0f2494f..fd10e6b2 100644
+--- a/ambari-logsearch/pom.xml
++++ b/ambari-logsearch/pom.xml
+@@ -47,7 +47,7 @@
+ <solr.version>7.7.0</solr.version>
+ <hadoop.version>3.0.0</hadoop.version>
+ <common.io.version>2.5</common.io.version>
+- <zookeeper.version>3.4.6.2.3.0.0-2557</zookeeper.version>
++ <zookeeper.version>3.4.6</zookeeper.version>
+ <forkCount>4</forkCount>
+ <reuseForks>false</reuseForks>
+ <surefire.argLine>-Xmx1024m -Xms512m</surefire.argLine>
+@@ -71,11 +71,6 @@
+ </issueManagement>
+
+ <repositories>
+- <repository>
+- <id>apache-hadoop</id>
+- <name>hdp</name>
+- <url>https://repo.hortonworks.com/content/groups/public/</url>
+- </repository>
+ <repository>
+ <id>oss.sonatype.org</id>
+ <name>OSS Sonatype Staging</name>
+diff --git a/ambari-metrics/ambari-metrics-assembly/pom.xml b/ambari-metrics/ambari-metrics-assembly/pom.xml
+index d25b2926..2940d8a8 100644
+--- a/ambari-metrics/ambari-metrics-assembly/pom.xml
++++ b/ambari-metrics/ambari-metrics-assembly/pom.xml
+@@ -39,7 +39,6 @@
+ <grafana.dir>${project.basedir}/../ambari-metrics-grafana</grafana.dir>
+ <hadoop-sink.dir>${project.basedir}/../ambari-metrics-hadoop-sink</hadoop-sink.dir>
+ <storm-sink.dir>${project.basedir}/../ambari-metrics-storm-sink</storm-sink.dir>
+- <storm-sink-legacy.dir>${project.basedir}/../ambari-metrics-storm-sink-legacy</storm-sink-legacy.dir>
+ <flume-sink.dir>${project.basedir}/../ambari-metrics-flume-sink</flume-sink.dir>
+ <kafka-sink.dir>${project.basedir}/../ambari-metrics-kafka-sink</kafka-sink.dir>
+ <python.ver>python >= 2.6</python.ver>
+@@ -53,7 +52,6 @@
+ <deb.dependency.list>${deb.python.ver},python-dev,gcc</deb.dependency.list>
+ <hadoop.sink.jar>ambari-metrics-hadoop-sink-with-common-${project.version}.jar</hadoop.sink.jar>
+ <storm.sink.jar>ambari-metrics-storm-sink-with-common-${project.version}.jar</storm.sink.jar>
+- <storm.sink.legacy.jar>ambari-metrics-storm-sink-legacy-with-common-${project.version}.jar</storm.sink.legacy.jar>
+ <flume.sink.jar>ambari-metrics-flume-sink-with-common-${project.version}.jar</flume.sink.jar>
+ <kafka.sink.jar>ambari-metrics-kafka-sink-with-common-${project.version}.jar</kafka.sink.jar>
+ </properties>
+@@ -423,14 +421,6 @@
+ </source>
+ </sources>
+ </mapping>
+- <mapping>
+- <directory>/usr/lib/storm/lib</directory>
+- <sources>
+- <source>
+- <location>${storm-sink-legacy.dir}/target/ambari-metrics-storm-sink-legacy-with-common-${project.version}.jar</location>
+- </source>
+- </sources>
+- </mapping>
+ <mapping>
+ <directory>/usr/lib/ambari-metrics-kafka-sink</directory>
+ <sources>
+@@ -1041,16 +1031,6 @@
+ <prefix>/usr/lib/storm/lib</prefix>
+ </mapper>
+ </data>
+- <data>
+- <src>${storm-sink-legacy.dir}/target/${storm.sink.legacy.jar}</src>
+- <type>file</type>
+- <mapper>
+- <type>perm</type>
+- <filemode>644</filemode>
+- <dirmode>755</dirmode>
+- <prefix>/usr/lib/storm/lib</prefix>
+- </mapper>
+- </data>
+
+ <!-- kafka sink -->
+
+@@ -1357,11 +1337,6 @@
+ <artifactId>ambari-metrics-storm-sink</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+- <dependency>
+- <groupId>org.apache.ambari</groupId>
+- <artifactId>ambari-metrics-storm-sink-legacy</artifactId>
+- <version>${project.version}</version>
+- </dependency>
+ <dependency>
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-metrics-kafka-sink</artifactId>
+diff --git a/ambari-metrics/ambari-metrics-assembly/src/main/assembly/sink-windows.xml b/ambari-metrics/ambari-metrics-assembly/src/main/assembly/sink-windows.xml
+index 14b49b2b..5698a3b8 100644
+--- a/ambari-metrics/ambari-metrics-assembly/src/main/assembly/sink-windows.xml
++++ b/ambari-metrics/ambari-metrics-assembly/src/main/assembly/sink-windows.xml
+@@ -61,10 +61,6 @@
+ <source>${storm-sink.dir}/target/ambari-metrics-storm-sink-with-common-${project.version}.jar</source>
+ <outputDirectory>hadoop-sink</outputDirectory>
+ </file>
+- <file>
+- <source>${storm-sink-legacy.dir}/target/ambari-metrics-storm-sink-legacy-with-common-${project.version}.jar</source>
+- <outputDirectory>hadoop-sink</outputDirectory>
+- </file>
+ <file>
+ <source>${kafka-sink.dir}/target/ambari-metrics-kafka-sink-with-common-${project.version}.jar</source>
+ <outputDirectory>hadoop-sink</outputDirectory>
+diff --git a/ambari-metrics/ambari-metrics-assembly/src/main/assembly/sink.xml b/ambari-metrics/ambari-metrics-assembly/src/main/assembly/sink.xml
+index 34cdbc38..ac9f4ac8 100644
+--- a/ambari-metrics/ambari-metrics-assembly/src/main/assembly/sink.xml
++++ b/ambari-metrics/ambari-metrics-assembly/src/main/assembly/sink.xml
+@@ -64,11 +64,6 @@
+ <source>${storm-sink.dir}/target/ambari-metrics-storm-sink-with-common-${project.version}.jar</source>
+ <outputDirectory>hadoop-sink</outputDirectory>
+ </file>
+- <file>
+- <fileMode>644</fileMode>
+- <source>${storm-sink-legacy.dir}/target/ambari-metrics-storm-sink-legacy-with-common-${project.version}.jar</source>
+- <outputDirectory>hadoop-sink</outputDirectory>
+- </file>
+ <file>
+ <fileMode>644</fileMode>
+ <source>${kafka-sink.dir}/target/ambari-metrics-kafka-sink-with-common-${project.version}.jar</source>
+diff --git a/ambari-metrics/ambari-metrics-storm-sink-legacy/src/main/java/org/apache/hadoop/metrics2/sink/storm/StormTimelineMetricsReporter.java b/ambari-metrics/ambari-metrics-storm-sink-legacy/src/main/java/org/apache/hadoop/metrics2/sink/storm/StormTimelineMetricsReporter.java
+index 842fad8f..9ed8bfeb 100644
+--- a/ambari-metrics/ambari-metrics-storm-sink-legacy/src/main/java/org/apache/hadoop/metrics2/sink/storm/StormTimelineMetricsReporter.java
++++ b/ambari-metrics/ambari-metrics-storm-sink-legacy/src/main/java/org/apache/hadoop/metrics2/sink/storm/StormTimelineMetricsReporter.java
+@@ -34,12 +34,10 @@ import org.apache.hadoop.metrics2.sink.timeline.UnableToConnectException;
+ import backtype.storm.generated.ClusterSummary;
+ import backtype.storm.generated.SupervisorSummary;
+ import backtype.storm.generated.TopologySummary;
+-import backtype.storm.metric.IClusterReporter;
+ import backtype.storm.utils.NimbusClient;
+ import backtype.storm.utils.Utils;
+
+-public class StormTimelineMetricsReporter extends AbstractTimelineMetricsSink
+- implements IClusterReporter {
++public class StormTimelineMetricsReporter extends AbstractTimelineMetricsSink {
+
+ public static final String METRICS_COLLECTOR_CATEGORY = "metrics_collector";
+ public static final String APP_ID = "appId";
+@@ -113,7 +111,6 @@ public class StormTimelineMetricsReporter extends AbstractTimelineMetricsSink
+ return hostInMemoryAggregationProtocol;
+ }
+
+- @Override
+ public void prepare(Map conf) {
+ LOG.info("Preparing Storm Metrics Reporter");
+ try {
+diff --git a/ambari-metrics/ambari-metrics-timelineservice/pom.xml b/ambari-metrics/ambari-metrics-timelineservice/pom.xml
+index f8e34490..6311107c 100644
+--- a/ambari-metrics/ambari-metrics-timelineservice/pom.xml
++++ b/ambari-metrics/ambari-metrics-timelineservice/pom.xml
+@@ -323,7 +323,7 @@
+ <dependency>
+ <groupId>org.apache.zookeeper</groupId>
+ <artifactId>zookeeper</artifactId>
+- <version>3.4.5.1.3.0.0-107</version>
++ <version>3.4.5</version>
+ <exclusions>
+ <exclusion>
+ <artifactId>jline</artifactId>
+@@ -852,7 +852,7 @@
+ <dependency>
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-utility</artifactId>
+- <version>1.0.0.0-SNAPSHOT</version>
++ <version>2.7.5.0.0</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+diff --git a/ambari-metrics/pom.xml b/ambari-metrics/pom.xml
+index 1c499b1a..dd682fd2 100644
+--- a/ambari-metrics/pom.xml
++++ b/ambari-metrics/pom.xml
+@@ -28,7 +28,6 @@
+ <module>ambari-metrics-flume-sink</module>
+ <module>ambari-metrics-kafka-sink</module>
+ <module>ambari-metrics-storm-sink</module>
+- <module>ambari-metrics-storm-sink-legacy</module>
+ <module>ambari-metrics-timelineservice</module>
+ <module>ambari-metrics-host-monitoring</module>
+ <module>ambari-metrics-grafana</module>
+@@ -71,18 +70,6 @@
+ <url>${distMgmtSnapshotsUrl}</url>
+ </snapshotRepository>
+ </distributionManagement>
+- <repositories>
+- <repository>
+- <id>apache-hadoop</id>
+- <name>hdp</name>
+- <url>https://repo.hortonworks.com/content/groups/public/</url>
+- </repository>
+- <repository>
+- <id>apache-snapshots</id>
+- <name>snapshots</name>
+- <url>https://repository.apache.org/content/repositories/snapshots</url>
+- </repository>
+- </repositories>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+@@ -323,7 +310,7 @@
+ <dependency>
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-utility</artifactId>
+- <version>1.0.0.0-SNAPSHOT</version>
++ <version>2.7.5.0.0</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+@@ -338,7 +325,7 @@
+ <dependency>
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-utility</artifactId>
+- <version>1.0.0.0-SNAPSHOT</version>
++ <version>2.7.5.0.0</version>
+ </dependency>
+ </dependencies>
+ </profile>
+diff --git a/ambari-project/pom.xml b/ambari-project/pom.xml
+index e2010e37..62efdea5 100644
+--- a/ambari-project/pom.xml
++++ b/ambari-project/pom.xml
+@@ -705,7 +705,7 @@
+ <dependency>
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-utility</artifactId>
+- <version>1.0.0.0-SNAPSHOT</version>
++ <version>2.7.5.0.0</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+diff --git a/ambari-server/pom.xml b/ambari-server/pom.xml
+index 899c2641..d159e2ec 100644
+--- a/ambari-server/pom.xml
++++ b/ambari-server/pom.xml
+@@ -1776,7 +1776,7 @@
+ <dependency>
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-serviceadvisor</artifactId>
+- <version>1.0.0.0-SNAPSHOT</version>
++ <version>2.7.5.0.0</version>
+ <exclusions>
+ <exclusion>
+ <groupId>commons-httpclient</groupId>
+@@ -1789,7 +1789,7 @@
+ <dependency>
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-utility</artifactId>
+- <version>1.0.0.0-SNAPSHOT</version>
++ <version>2.7.5.0.0</version>
+ <scope>provided</scope> <!-- for @ApiIgnore -->
+ <exclusions>
+ <exclusion>
+diff --git a/ambari-server/pom.xml.orig b/ambari-server/pom.xml.orig
+index 63dd06fb..9ac41d7b 100644
+--- a/ambari-server/pom.xml.orig
++++ b/ambari-server/pom.xml.orig
+@@ -1776,7 +1776,7 @@
+ <dependency>
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-serviceadvisor</artifactId>
+- <version>1.0.0.0-SNAPSHOT</version>
++ <version>2.7.5.0.0</version>
+ <exclusions>
+ <exclusion>
+ <groupId>commons-httpclient</groupId>
+@@ -1789,7 +1789,7 @@
+ <dependency>
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-utility</artifactId>
+- <version>1.0.0.0-SNAPSHOT</version>
++ <version>2.7.5.0.0</version>
+ <scope>provided</scope> <!-- for @ApiIgnore -->
+ <exclusions>
+ <exclusion>
+diff --git a/ambari-serviceadvisor/pom.xml b/ambari-serviceadvisor/pom.xml
+index dbfbafad..68d24a97 100644
+--- a/ambari-serviceadvisor/pom.xml
++++ b/ambari-serviceadvisor/pom.xml
+@@ -16,7 +16,7 @@
+ limitations under the License.
+ -->
+ <project xmlns="http://maven.apache.org/POM/4.0.0"
+- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
++ xmlns:xsi="http://www .w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <!-- Can compile this project independently, cd ambari-serviceadvisor ; mvn clean package install
+@@ -27,7 +27,7 @@
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-serviceadvisor</artifactId>
+ <name>Ambari Service Advisor</name>
+- <version>1.0.0.0-SNAPSHOT</version>
++ <version>2.7.5.0.0</version>
+ <description>Service Advisor</description>
+
+ <dependencies>
+diff --git a/ambari-serviceadvisor/pom.xml.orig b/ambari-serviceadvisor/pom.xml.orig
Review comment:
done
--
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.
To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [bigtop] sekikn commented on pull request #870: BIGTOP-3649: Fix Nexus local mirror functionality
Posted by GitBox <gi...@apache.org>.
sekikn commented on pull request #870:
URL: https://github.com/apache/bigtop/pull/870#issuecomment-1059893280
The nexus-private repository seems to [come from Ambari](https://github.com/apache/ambari/blob/release-2.7.5/pom.xml#L135), and I'm not sure if Ambari is successfully built if we replace it with https://repo.hortonworks.com/content/groups/public/. I'll try it later.
--
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.
To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [bigtop] sekikn commented on pull request #870: BIGTOP-3649: Fix Nexus local mirror functionality
Posted by GitBox <gi...@apache.org>.
sekikn commented on pull request #870:
URL: https://github.com/apache/bigtop/pull/870#issuecomment-1060086848
@cheelio Thanks for updating! I agree to remove the ambari-metrics-storm-sink-legacy module and dependencies on the Hortonworks repository, because that module seems to support before Storm 1.0, which was released more than five years ago. In addition, Bigtop doesn't provide Storm as its component. Give me a few days to try to build and run Ambari with your PR.
--
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.
To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [bigtop] cheelio commented on pull request #870: BIGTOP-3649: Fix Nexus local mirror functionality
Posted by GitBox <gi...@apache.org>.
cheelio commented on pull request #870:
URL: https://github.com/apache/bigtop/pull/870#issuecomment-1059979448
Oh, and another thing that I had to do was changing the pom version of af bunch of modules from from 1.0.0.0-SNAPSHOT to 2.7.5.0.
--
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.
To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [bigtop] cheelio commented on pull request #870: BIGTOP-3649: Fix Nexus local mirror functionality
Posted by GitBox <gi...@apache.org>.
cheelio commented on pull request #870:
URL: https://github.com/apache/bigtop/pull/870#issuecomment-1057982759
On my local machine, build times are dramatically reduced.
--
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.
To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [bigtop] vivostar commented on pull request #870: BIGTOP-3649: Fix Nexus local mirror functionality
Posted by GitBox <gi...@apache.org>.
vivostar commented on pull request #870:
URL: https://github.com/apache/bigtop/pull/870#issuecomment-1059937111
BIGTOP-3607 is a temporary solution for Ambari dependencies download error. I think we should remove the patch file.
--
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.
To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [bigtop] sekikn merged pull request #870: BIGTOP-3649: Fix Nexus local mirror functionality
Posted by GitBox <gi...@apache.org>.
sekikn merged pull request #870:
URL: https://github.com/apache/bigtop/pull/870
--
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.
To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [bigtop] sekikn commented on pull request #870: BIGTOP-3649: Fix Nexus local mirror functionality
Posted by GitBox <gi...@apache.org>.
sekikn commented on pull request #870:
URL: https://github.com/apache/bigtop/pull/870#issuecomment-1058767708
@cheelio Great improvement, thank you for the contribution!
Just a quick question, is there any handy way to check if IDs defined in the repos variable covers all repositories used by the Bigtop components?
I'm worried that if some components change their repository definition with their upgrade, or are added/removed with their repo definition, we are likely to forget to update the value of the repos variable.
--
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.
To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [bigtop] cheelio edited a comment on pull request #870: BIGTOP-3649: Fix Nexus local mirror functionality
Posted by GitBox <gi...@apache.org>.
cheelio edited a comment on pull request #870:
URL: https://github.com/apache/bigtop/pull/870#issuecomment-1059754195
The `generate_nexus_tasks` function creates `configure-nexus-xxxxxx` gradle tasks for each `repo` in `repos`. These tasks create a proxy repository in Nexus.
The (new) `configure-nexus-public-group` gradle task is executed after the individual `configure-nexus-xxxxxx` nexus tasks and create/update the `public` repository group in nexus so that this group consists of all the individual proxy's in `repos`.
Finally, the `configure-nexus` task is the entry point. Because of the dependants, it will always first create/overwritte the proxy repo's followed by updating the group repo.
The task itself will write a settings.xml file pointing to the `public` group repo. The `mirrorOf`-attribute contains a comma separated string with repo IDs. These will match with the repo IDs in the individual `pom.xml` files.
In this way, when a new repository is added somewhere in a in a (new) module that isn't (yet) included in the `repos` variable, it will not be proxied by nexus to make sure the build will not fail.
--
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.
To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [bigtop] elukey commented on pull request #870: BIGTOP-3649: Fix Nexus local mirror functionality
Posted by GitBox <gi...@apache.org>.
elukey commented on pull request #870:
URL: https://github.com/apache/bigtop/pull/870#issuecomment-1059733354
@cheelio I tested your change with a debian-11 Docker image and it works great, I can see the nexus container showing up logs of requests and its cache storage growing as the builds proceed. I tried with a build of hive (note: I overrode the dh_strip_determinism step in the rules files since it is a step that takes ages) and it took ~12 mins on my laptop with an empty cache, ~6 mins with cache warmed up (basically an identical hive-clean hive-pkg executed afterwards). So this is really great!
I am trying to understand the nexus caching code in more details, so apologies if this question is trivial - is there a reason to have `configure-nexus-public-group` and `generate_nexus_tasks` initializing the same set of `repos` ?
--
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.
To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [bigtop] sekikn commented on a change in pull request #870: BIGTOP-3649: Fix Nexus local mirror functionality
Posted by GitBox <gi...@apache.org>.
sekikn commented on a change in pull request #870:
URL: https://github.com/apache/bigtop/pull/870#discussion_r820320081
##########
File path: bigtop-packages/src/common/ambari/patch9-z_bonus.diff
##########
@@ -0,0 +1,446 @@
+diff --git a/ambari-agent/pom.xml b/ambari-agent/pom.xml
+index 214aa851..3b0bef2d 100644
+--- a/ambari-agent/pom.xml
++++ b/ambari-agent/pom.xml
+@@ -159,7 +159,7 @@
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-utility</artifactId>
+ <scope>test</scope>
+- <version>1.0.0.0-SNAPSHOT</version>
++ <version>2.7.5.0.0</version>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+diff --git a/ambari-infra/pom.xml b/ambari-infra/pom.xml
+index 167bf5c6..c24bf9d3 100644
+--- a/ambari-infra/pom.xml
++++ b/ambari-infra/pom.xml
+@@ -33,7 +33,7 @@
+ <deb.dependency.list>${deb.python.ver}</deb.dependency.list>
+ <hadoop.version>3.0.0</hadoop.version>
+ <surefire.argLine>-Xmx1024m -Xms512m</surefire.argLine>
+- <zookeeper.version>3.4.6.2.3.0.0-2557</zookeeper.version>
++ <zookeeper.version>3.4.6</zookeeper.version>
+ <skipSurefireTests>false</skipSurefireTests>
+ <log4j2.version>2.11.0</log4j2.version>
+ </properties>
+@@ -55,11 +55,6 @@
+ </issueManagement>
+
+ <repositories>
+- <repository>
+- <id>apache-hadoop</id>
+- <name>hdp</name>
+- <url>https://repo.hortonworks.com/content/groups/public/</url>
+- </repository>
+ <repository>
+ <id>oss.sonatype.org</id>
+ <name>OSS Sonatype Staging</name>
+diff --git a/ambari-logsearch/pom.xml b/ambari-logsearch/pom.xml
+index c0f2494f..fd10e6b2 100644
+--- a/ambari-logsearch/pom.xml
++++ b/ambari-logsearch/pom.xml
+@@ -47,7 +47,7 @@
+ <solr.version>7.7.0</solr.version>
+ <hadoop.version>3.0.0</hadoop.version>
+ <common.io.version>2.5</common.io.version>
+- <zookeeper.version>3.4.6.2.3.0.0-2557</zookeeper.version>
++ <zookeeper.version>3.4.6</zookeeper.version>
+ <forkCount>4</forkCount>
+ <reuseForks>false</reuseForks>
+ <surefire.argLine>-Xmx1024m -Xms512m</surefire.argLine>
+@@ -71,11 +71,6 @@
+ </issueManagement>
+
+ <repositories>
+- <repository>
+- <id>apache-hadoop</id>
+- <name>hdp</name>
+- <url>https://repo.hortonworks.com/content/groups/public/</url>
+- </repository>
+ <repository>
+ <id>oss.sonatype.org</id>
+ <name>OSS Sonatype Staging</name>
+diff --git a/ambari-metrics/ambari-metrics-assembly/pom.xml b/ambari-metrics/ambari-metrics-assembly/pom.xml
+index d25b2926..2940d8a8 100644
+--- a/ambari-metrics/ambari-metrics-assembly/pom.xml
++++ b/ambari-metrics/ambari-metrics-assembly/pom.xml
+@@ -39,7 +39,6 @@
+ <grafana.dir>${project.basedir}/../ambari-metrics-grafana</grafana.dir>
+ <hadoop-sink.dir>${project.basedir}/../ambari-metrics-hadoop-sink</hadoop-sink.dir>
+ <storm-sink.dir>${project.basedir}/../ambari-metrics-storm-sink</storm-sink.dir>
+- <storm-sink-legacy.dir>${project.basedir}/../ambari-metrics-storm-sink-legacy</storm-sink-legacy.dir>
+ <flume-sink.dir>${project.basedir}/../ambari-metrics-flume-sink</flume-sink.dir>
+ <kafka-sink.dir>${project.basedir}/../ambari-metrics-kafka-sink</kafka-sink.dir>
+ <python.ver>python >= 2.6</python.ver>
+@@ -53,7 +52,6 @@
+ <deb.dependency.list>${deb.python.ver},python-dev,gcc</deb.dependency.list>
+ <hadoop.sink.jar>ambari-metrics-hadoop-sink-with-common-${project.version}.jar</hadoop.sink.jar>
+ <storm.sink.jar>ambari-metrics-storm-sink-with-common-${project.version}.jar</storm.sink.jar>
+- <storm.sink.legacy.jar>ambari-metrics-storm-sink-legacy-with-common-${project.version}.jar</storm.sink.legacy.jar>
+ <flume.sink.jar>ambari-metrics-flume-sink-with-common-${project.version}.jar</flume.sink.jar>
+ <kafka.sink.jar>ambari-metrics-kafka-sink-with-common-${project.version}.jar</kafka.sink.jar>
+ </properties>
+@@ -423,14 +421,6 @@
+ </source>
+ </sources>
+ </mapping>
+- <mapping>
+- <directory>/usr/lib/storm/lib</directory>
+- <sources>
+- <source>
+- <location>${storm-sink-legacy.dir}/target/ambari-metrics-storm-sink-legacy-with-common-${project.version}.jar</location>
+- </source>
+- </sources>
+- </mapping>
+ <mapping>
+ <directory>/usr/lib/ambari-metrics-kafka-sink</directory>
+ <sources>
+@@ -1041,16 +1031,6 @@
+ <prefix>/usr/lib/storm/lib</prefix>
+ </mapper>
+ </data>
+- <data>
+- <src>${storm-sink-legacy.dir}/target/${storm.sink.legacy.jar}</src>
+- <type>file</type>
+- <mapper>
+- <type>perm</type>
+- <filemode>644</filemode>
+- <dirmode>755</dirmode>
+- <prefix>/usr/lib/storm/lib</prefix>
+- </mapper>
+- </data>
+
+ <!-- kafka sink -->
+
+@@ -1357,11 +1337,6 @@
+ <artifactId>ambari-metrics-storm-sink</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+- <dependency>
+- <groupId>org.apache.ambari</groupId>
+- <artifactId>ambari-metrics-storm-sink-legacy</artifactId>
+- <version>${project.version}</version>
+- </dependency>
+ <dependency>
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-metrics-kafka-sink</artifactId>
+diff --git a/ambari-metrics/ambari-metrics-assembly/src/main/assembly/sink-windows.xml b/ambari-metrics/ambari-metrics-assembly/src/main/assembly/sink-windows.xml
+index 14b49b2b..5698a3b8 100644
+--- a/ambari-metrics/ambari-metrics-assembly/src/main/assembly/sink-windows.xml
++++ b/ambari-metrics/ambari-metrics-assembly/src/main/assembly/sink-windows.xml
+@@ -61,10 +61,6 @@
+ <source>${storm-sink.dir}/target/ambari-metrics-storm-sink-with-common-${project.version}.jar</source>
+ <outputDirectory>hadoop-sink</outputDirectory>
+ </file>
+- <file>
+- <source>${storm-sink-legacy.dir}/target/ambari-metrics-storm-sink-legacy-with-common-${project.version}.jar</source>
+- <outputDirectory>hadoop-sink</outputDirectory>
+- </file>
+ <file>
+ <source>${kafka-sink.dir}/target/ambari-metrics-kafka-sink-with-common-${project.version}.jar</source>
+ <outputDirectory>hadoop-sink</outputDirectory>
+diff --git a/ambari-metrics/ambari-metrics-assembly/src/main/assembly/sink.xml b/ambari-metrics/ambari-metrics-assembly/src/main/assembly/sink.xml
+index 34cdbc38..ac9f4ac8 100644
+--- a/ambari-metrics/ambari-metrics-assembly/src/main/assembly/sink.xml
++++ b/ambari-metrics/ambari-metrics-assembly/src/main/assembly/sink.xml
+@@ -64,11 +64,6 @@
+ <source>${storm-sink.dir}/target/ambari-metrics-storm-sink-with-common-${project.version}.jar</source>
+ <outputDirectory>hadoop-sink</outputDirectory>
+ </file>
+- <file>
+- <fileMode>644</fileMode>
+- <source>${storm-sink-legacy.dir}/target/ambari-metrics-storm-sink-legacy-with-common-${project.version}.jar</source>
+- <outputDirectory>hadoop-sink</outputDirectory>
+- </file>
+ <file>
+ <fileMode>644</fileMode>
+ <source>${kafka-sink.dir}/target/ambari-metrics-kafka-sink-with-common-${project.version}.jar</source>
+diff --git a/ambari-metrics/ambari-metrics-storm-sink-legacy/src/main/java/org/apache/hadoop/metrics2/sink/storm/StormTimelineMetricsReporter.java b/ambari-metrics/ambari-metrics-storm-sink-legacy/src/main/java/org/apache/hadoop/metrics2/sink/storm/StormTimelineMetricsReporter.java
+index 842fad8f..9ed8bfeb 100644
+--- a/ambari-metrics/ambari-metrics-storm-sink-legacy/src/main/java/org/apache/hadoop/metrics2/sink/storm/StormTimelineMetricsReporter.java
++++ b/ambari-metrics/ambari-metrics-storm-sink-legacy/src/main/java/org/apache/hadoop/metrics2/sink/storm/StormTimelineMetricsReporter.java
+@@ -34,12 +34,10 @@ import org.apache.hadoop.metrics2.sink.timeline.UnableToConnectException;
+ import backtype.storm.generated.ClusterSummary;
+ import backtype.storm.generated.SupervisorSummary;
+ import backtype.storm.generated.TopologySummary;
+-import backtype.storm.metric.IClusterReporter;
+ import backtype.storm.utils.NimbusClient;
+ import backtype.storm.utils.Utils;
+
+-public class StormTimelineMetricsReporter extends AbstractTimelineMetricsSink
+- implements IClusterReporter {
++public class StormTimelineMetricsReporter extends AbstractTimelineMetricsSink {
+
+ public static final String METRICS_COLLECTOR_CATEGORY = "metrics_collector";
+ public static final String APP_ID = "appId";
+@@ -113,7 +111,6 @@ public class StormTimelineMetricsReporter extends AbstractTimelineMetricsSink
+ return hostInMemoryAggregationProtocol;
+ }
+
+- @Override
+ public void prepare(Map conf) {
+ LOG.info("Preparing Storm Metrics Reporter");
+ try {
+diff --git a/ambari-metrics/ambari-metrics-timelineservice/pom.xml b/ambari-metrics/ambari-metrics-timelineservice/pom.xml
+index f8e34490..6311107c 100644
+--- a/ambari-metrics/ambari-metrics-timelineservice/pom.xml
++++ b/ambari-metrics/ambari-metrics-timelineservice/pom.xml
+@@ -323,7 +323,7 @@
+ <dependency>
+ <groupId>org.apache.zookeeper</groupId>
+ <artifactId>zookeeper</artifactId>
+- <version>3.4.5.1.3.0.0-107</version>
++ <version>3.4.5</version>
+ <exclusions>
+ <exclusion>
+ <artifactId>jline</artifactId>
+@@ -852,7 +852,7 @@
+ <dependency>
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-utility</artifactId>
+- <version>1.0.0.0-SNAPSHOT</version>
++ <version>2.7.5.0.0</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+diff --git a/ambari-metrics/pom.xml b/ambari-metrics/pom.xml
+index 1c499b1a..dd682fd2 100644
+--- a/ambari-metrics/pom.xml
++++ b/ambari-metrics/pom.xml
+@@ -28,7 +28,6 @@
+ <module>ambari-metrics-flume-sink</module>
+ <module>ambari-metrics-kafka-sink</module>
+ <module>ambari-metrics-storm-sink</module>
+- <module>ambari-metrics-storm-sink-legacy</module>
+ <module>ambari-metrics-timelineservice</module>
+ <module>ambari-metrics-host-monitoring</module>
+ <module>ambari-metrics-grafana</module>
+@@ -71,18 +70,6 @@
+ <url>${distMgmtSnapshotsUrl}</url>
+ </snapshotRepository>
+ </distributionManagement>
+- <repositories>
+- <repository>
+- <id>apache-hadoop</id>
+- <name>hdp</name>
+- <url>https://repo.hortonworks.com/content/groups/public/</url>
+- </repository>
+- <repository>
+- <id>apache-snapshots</id>
+- <name>snapshots</name>
+- <url>https://repository.apache.org/content/repositories/snapshots</url>
+- </repository>
+- </repositories>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+@@ -323,7 +310,7 @@
+ <dependency>
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-utility</artifactId>
+- <version>1.0.0.0-SNAPSHOT</version>
++ <version>2.7.5.0.0</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+@@ -338,7 +325,7 @@
+ <dependency>
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-utility</artifactId>
+- <version>1.0.0.0-SNAPSHOT</version>
++ <version>2.7.5.0.0</version>
+ </dependency>
+ </dependencies>
+ </profile>
+diff --git a/ambari-project/pom.xml b/ambari-project/pom.xml
+index e2010e37..62efdea5 100644
+--- a/ambari-project/pom.xml
++++ b/ambari-project/pom.xml
+@@ -705,7 +705,7 @@
+ <dependency>
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-utility</artifactId>
+- <version>1.0.0.0-SNAPSHOT</version>
++ <version>2.7.5.0.0</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+diff --git a/ambari-server/pom.xml b/ambari-server/pom.xml
+index 899c2641..d159e2ec 100644
+--- a/ambari-server/pom.xml
++++ b/ambari-server/pom.xml
+@@ -1776,7 +1776,7 @@
+ <dependency>
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-serviceadvisor</artifactId>
+- <version>1.0.0.0-SNAPSHOT</version>
++ <version>2.7.5.0.0</version>
+ <exclusions>
+ <exclusion>
+ <groupId>commons-httpclient</groupId>
+@@ -1789,7 +1789,7 @@
+ <dependency>
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-utility</artifactId>
+- <version>1.0.0.0-SNAPSHOT</version>
++ <version>2.7.5.0.0</version>
+ <scope>provided</scope> <!-- for @ApiIgnore -->
+ <exclusions>
+ <exclusion>
+diff --git a/ambari-server/pom.xml.orig b/ambari-server/pom.xml.orig
+index 63dd06fb..9ac41d7b 100644
+--- a/ambari-server/pom.xml.orig
++++ b/ambari-server/pom.xml.orig
+@@ -1776,7 +1776,7 @@
+ <dependency>
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-serviceadvisor</artifactId>
+- <version>1.0.0.0-SNAPSHOT</version>
++ <version>2.7.5.0.0</version>
+ <exclusions>
+ <exclusion>
+ <groupId>commons-httpclient</groupId>
+@@ -1789,7 +1789,7 @@
+ <dependency>
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-utility</artifactId>
+- <version>1.0.0.0-SNAPSHOT</version>
++ <version>2.7.5.0.0</version>
+ <scope>provided</scope> <!-- for @ApiIgnore -->
+ <exclusions>
+ <exclusion>
+diff --git a/ambari-serviceadvisor/pom.xml b/ambari-serviceadvisor/pom.xml
+index dbfbafad..68d24a97 100644
+--- a/ambari-serviceadvisor/pom.xml
++++ b/ambari-serviceadvisor/pom.xml
+@@ -16,7 +16,7 @@
+ limitations under the License.
+ -->
+ <project xmlns="http://maven.apache.org/POM/4.0.0"
+- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
++ xmlns:xsi="http://www .w3.org/2001/XMLSchema-instance"
Review comment:
Unintended whitespaces.
--
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.
To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [bigtop] cheelio commented on a change in pull request #870: BIGTOP-3649: Fix Nexus local mirror functionality
Posted by GitBox <gi...@apache.org>.
cheelio commented on a change in pull request #870:
URL: https://github.com/apache/bigtop/pull/870#discussion_r820447290
##########
File path: bigtop-packages/src/common/ambari/patch9-z_bonus.diff
##########
@@ -0,0 +1,446 @@
+diff --git a/ambari-agent/pom.xml b/ambari-agent/pom.xml
+index 214aa851..3b0bef2d 100644
+--- a/ambari-agent/pom.xml
++++ b/ambari-agent/pom.xml
+@@ -159,7 +159,7 @@
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-utility</artifactId>
+ <scope>test</scope>
+- <version>1.0.0.0-SNAPSHOT</version>
++ <version>2.7.5.0.0</version>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+diff --git a/ambari-infra/pom.xml b/ambari-infra/pom.xml
+index 167bf5c6..c24bf9d3 100644
+--- a/ambari-infra/pom.xml
++++ b/ambari-infra/pom.xml
+@@ -33,7 +33,7 @@
+ <deb.dependency.list>${deb.python.ver}</deb.dependency.list>
+ <hadoop.version>3.0.0</hadoop.version>
+ <surefire.argLine>-Xmx1024m -Xms512m</surefire.argLine>
+- <zookeeper.version>3.4.6.2.3.0.0-2557</zookeeper.version>
++ <zookeeper.version>3.4.6</zookeeper.version>
+ <skipSurefireTests>false</skipSurefireTests>
+ <log4j2.version>2.11.0</log4j2.version>
+ </properties>
+@@ -55,11 +55,6 @@
+ </issueManagement>
+
+ <repositories>
+- <repository>
+- <id>apache-hadoop</id>
+- <name>hdp</name>
+- <url>https://repo.hortonworks.com/content/groups/public/</url>
+- </repository>
+ <repository>
+ <id>oss.sonatype.org</id>
+ <name>OSS Sonatype Staging</name>
+diff --git a/ambari-logsearch/pom.xml b/ambari-logsearch/pom.xml
+index c0f2494f..fd10e6b2 100644
+--- a/ambari-logsearch/pom.xml
++++ b/ambari-logsearch/pom.xml
+@@ -47,7 +47,7 @@
+ <solr.version>7.7.0</solr.version>
+ <hadoop.version>3.0.0</hadoop.version>
+ <common.io.version>2.5</common.io.version>
+- <zookeeper.version>3.4.6.2.3.0.0-2557</zookeeper.version>
++ <zookeeper.version>3.4.6</zookeeper.version>
+ <forkCount>4</forkCount>
+ <reuseForks>false</reuseForks>
+ <surefire.argLine>-Xmx1024m -Xms512m</surefire.argLine>
+@@ -71,11 +71,6 @@
+ </issueManagement>
+
+ <repositories>
+- <repository>
+- <id>apache-hadoop</id>
+- <name>hdp</name>
+- <url>https://repo.hortonworks.com/content/groups/public/</url>
+- </repository>
+ <repository>
+ <id>oss.sonatype.org</id>
+ <name>OSS Sonatype Staging</name>
+diff --git a/ambari-metrics/ambari-metrics-assembly/pom.xml b/ambari-metrics/ambari-metrics-assembly/pom.xml
+index d25b2926..2940d8a8 100644
+--- a/ambari-metrics/ambari-metrics-assembly/pom.xml
++++ b/ambari-metrics/ambari-metrics-assembly/pom.xml
+@@ -39,7 +39,6 @@
+ <grafana.dir>${project.basedir}/../ambari-metrics-grafana</grafana.dir>
+ <hadoop-sink.dir>${project.basedir}/../ambari-metrics-hadoop-sink</hadoop-sink.dir>
+ <storm-sink.dir>${project.basedir}/../ambari-metrics-storm-sink</storm-sink.dir>
+- <storm-sink-legacy.dir>${project.basedir}/../ambari-metrics-storm-sink-legacy</storm-sink-legacy.dir>
+ <flume-sink.dir>${project.basedir}/../ambari-metrics-flume-sink</flume-sink.dir>
+ <kafka-sink.dir>${project.basedir}/../ambari-metrics-kafka-sink</kafka-sink.dir>
+ <python.ver>python >= 2.6</python.ver>
+@@ -53,7 +52,6 @@
+ <deb.dependency.list>${deb.python.ver},python-dev,gcc</deb.dependency.list>
+ <hadoop.sink.jar>ambari-metrics-hadoop-sink-with-common-${project.version}.jar</hadoop.sink.jar>
+ <storm.sink.jar>ambari-metrics-storm-sink-with-common-${project.version}.jar</storm.sink.jar>
+- <storm.sink.legacy.jar>ambari-metrics-storm-sink-legacy-with-common-${project.version}.jar</storm.sink.legacy.jar>
+ <flume.sink.jar>ambari-metrics-flume-sink-with-common-${project.version}.jar</flume.sink.jar>
+ <kafka.sink.jar>ambari-metrics-kafka-sink-with-common-${project.version}.jar</kafka.sink.jar>
+ </properties>
+@@ -423,14 +421,6 @@
+ </source>
+ </sources>
+ </mapping>
+- <mapping>
+- <directory>/usr/lib/storm/lib</directory>
+- <sources>
+- <source>
+- <location>${storm-sink-legacy.dir}/target/ambari-metrics-storm-sink-legacy-with-common-${project.version}.jar</location>
+- </source>
+- </sources>
+- </mapping>
+ <mapping>
+ <directory>/usr/lib/ambari-metrics-kafka-sink</directory>
+ <sources>
+@@ -1041,16 +1031,6 @@
+ <prefix>/usr/lib/storm/lib</prefix>
+ </mapper>
+ </data>
+- <data>
+- <src>${storm-sink-legacy.dir}/target/${storm.sink.legacy.jar}</src>
+- <type>file</type>
+- <mapper>
+- <type>perm</type>
+- <filemode>644</filemode>
+- <dirmode>755</dirmode>
+- <prefix>/usr/lib/storm/lib</prefix>
+- </mapper>
+- </data>
+
+ <!-- kafka sink -->
+
+@@ -1357,11 +1337,6 @@
+ <artifactId>ambari-metrics-storm-sink</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+- <dependency>
+- <groupId>org.apache.ambari</groupId>
+- <artifactId>ambari-metrics-storm-sink-legacy</artifactId>
+- <version>${project.version}</version>
+- </dependency>
+ <dependency>
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-metrics-kafka-sink</artifactId>
+diff --git a/ambari-metrics/ambari-metrics-assembly/src/main/assembly/sink-windows.xml b/ambari-metrics/ambari-metrics-assembly/src/main/assembly/sink-windows.xml
+index 14b49b2b..5698a3b8 100644
+--- a/ambari-metrics/ambari-metrics-assembly/src/main/assembly/sink-windows.xml
++++ b/ambari-metrics/ambari-metrics-assembly/src/main/assembly/sink-windows.xml
+@@ -61,10 +61,6 @@
+ <source>${storm-sink.dir}/target/ambari-metrics-storm-sink-with-common-${project.version}.jar</source>
+ <outputDirectory>hadoop-sink</outputDirectory>
+ </file>
+- <file>
+- <source>${storm-sink-legacy.dir}/target/ambari-metrics-storm-sink-legacy-with-common-${project.version}.jar</source>
+- <outputDirectory>hadoop-sink</outputDirectory>
+- </file>
+ <file>
+ <source>${kafka-sink.dir}/target/ambari-metrics-kafka-sink-with-common-${project.version}.jar</source>
+ <outputDirectory>hadoop-sink</outputDirectory>
+diff --git a/ambari-metrics/ambari-metrics-assembly/src/main/assembly/sink.xml b/ambari-metrics/ambari-metrics-assembly/src/main/assembly/sink.xml
+index 34cdbc38..ac9f4ac8 100644
+--- a/ambari-metrics/ambari-metrics-assembly/src/main/assembly/sink.xml
++++ b/ambari-metrics/ambari-metrics-assembly/src/main/assembly/sink.xml
+@@ -64,11 +64,6 @@
+ <source>${storm-sink.dir}/target/ambari-metrics-storm-sink-with-common-${project.version}.jar</source>
+ <outputDirectory>hadoop-sink</outputDirectory>
+ </file>
+- <file>
+- <fileMode>644</fileMode>
+- <source>${storm-sink-legacy.dir}/target/ambari-metrics-storm-sink-legacy-with-common-${project.version}.jar</source>
+- <outputDirectory>hadoop-sink</outputDirectory>
+- </file>
+ <file>
+ <fileMode>644</fileMode>
+ <source>${kafka-sink.dir}/target/ambari-metrics-kafka-sink-with-common-${project.version}.jar</source>
+diff --git a/ambari-metrics/ambari-metrics-storm-sink-legacy/src/main/java/org/apache/hadoop/metrics2/sink/storm/StormTimelineMetricsReporter.java b/ambari-metrics/ambari-metrics-storm-sink-legacy/src/main/java/org/apache/hadoop/metrics2/sink/storm/StormTimelineMetricsReporter.java
+index 842fad8f..9ed8bfeb 100644
+--- a/ambari-metrics/ambari-metrics-storm-sink-legacy/src/main/java/org/apache/hadoop/metrics2/sink/storm/StormTimelineMetricsReporter.java
++++ b/ambari-metrics/ambari-metrics-storm-sink-legacy/src/main/java/org/apache/hadoop/metrics2/sink/storm/StormTimelineMetricsReporter.java
+@@ -34,12 +34,10 @@ import org.apache.hadoop.metrics2.sink.timeline.UnableToConnectException;
+ import backtype.storm.generated.ClusterSummary;
+ import backtype.storm.generated.SupervisorSummary;
+ import backtype.storm.generated.TopologySummary;
+-import backtype.storm.metric.IClusterReporter;
+ import backtype.storm.utils.NimbusClient;
+ import backtype.storm.utils.Utils;
+
+-public class StormTimelineMetricsReporter extends AbstractTimelineMetricsSink
+- implements IClusterReporter {
++public class StormTimelineMetricsReporter extends AbstractTimelineMetricsSink {
+
+ public static final String METRICS_COLLECTOR_CATEGORY = "metrics_collector";
+ public static final String APP_ID = "appId";
+@@ -113,7 +111,6 @@ public class StormTimelineMetricsReporter extends AbstractTimelineMetricsSink
+ return hostInMemoryAggregationProtocol;
+ }
+
+- @Override
+ public void prepare(Map conf) {
+ LOG.info("Preparing Storm Metrics Reporter");
+ try {
+diff --git a/ambari-metrics/ambari-metrics-timelineservice/pom.xml b/ambari-metrics/ambari-metrics-timelineservice/pom.xml
+index f8e34490..6311107c 100644
+--- a/ambari-metrics/ambari-metrics-timelineservice/pom.xml
++++ b/ambari-metrics/ambari-metrics-timelineservice/pom.xml
+@@ -323,7 +323,7 @@
+ <dependency>
+ <groupId>org.apache.zookeeper</groupId>
+ <artifactId>zookeeper</artifactId>
+- <version>3.4.5.1.3.0.0-107</version>
++ <version>3.4.5</version>
+ <exclusions>
+ <exclusion>
+ <artifactId>jline</artifactId>
+@@ -852,7 +852,7 @@
+ <dependency>
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-utility</artifactId>
+- <version>1.0.0.0-SNAPSHOT</version>
++ <version>2.7.5.0.0</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+diff --git a/ambari-metrics/pom.xml b/ambari-metrics/pom.xml
+index 1c499b1a..dd682fd2 100644
+--- a/ambari-metrics/pom.xml
++++ b/ambari-metrics/pom.xml
+@@ -28,7 +28,6 @@
+ <module>ambari-metrics-flume-sink</module>
+ <module>ambari-metrics-kafka-sink</module>
+ <module>ambari-metrics-storm-sink</module>
+- <module>ambari-metrics-storm-sink-legacy</module>
+ <module>ambari-metrics-timelineservice</module>
+ <module>ambari-metrics-host-monitoring</module>
+ <module>ambari-metrics-grafana</module>
+@@ -71,18 +70,6 @@
+ <url>${distMgmtSnapshotsUrl}</url>
+ </snapshotRepository>
+ </distributionManagement>
+- <repositories>
+- <repository>
+- <id>apache-hadoop</id>
+- <name>hdp</name>
+- <url>https://repo.hortonworks.com/content/groups/public/</url>
+- </repository>
+- <repository>
+- <id>apache-snapshots</id>
+- <name>snapshots</name>
+- <url>https://repository.apache.org/content/repositories/snapshots</url>
+- </repository>
+- </repositories>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+@@ -323,7 +310,7 @@
+ <dependency>
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-utility</artifactId>
+- <version>1.0.0.0-SNAPSHOT</version>
++ <version>2.7.5.0.0</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+@@ -338,7 +325,7 @@
+ <dependency>
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-utility</artifactId>
+- <version>1.0.0.0-SNAPSHOT</version>
++ <version>2.7.5.0.0</version>
+ </dependency>
+ </dependencies>
+ </profile>
+diff --git a/ambari-project/pom.xml b/ambari-project/pom.xml
+index e2010e37..62efdea5 100644
+--- a/ambari-project/pom.xml
++++ b/ambari-project/pom.xml
+@@ -705,7 +705,7 @@
+ <dependency>
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-utility</artifactId>
+- <version>1.0.0.0-SNAPSHOT</version>
++ <version>2.7.5.0.0</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+diff --git a/ambari-server/pom.xml b/ambari-server/pom.xml
+index 899c2641..d159e2ec 100644
+--- a/ambari-server/pom.xml
++++ b/ambari-server/pom.xml
+@@ -1776,7 +1776,7 @@
+ <dependency>
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-serviceadvisor</artifactId>
+- <version>1.0.0.0-SNAPSHOT</version>
++ <version>2.7.5.0.0</version>
+ <exclusions>
+ <exclusion>
+ <groupId>commons-httpclient</groupId>
+@@ -1789,7 +1789,7 @@
+ <dependency>
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-utility</artifactId>
+- <version>1.0.0.0-SNAPSHOT</version>
++ <version>2.7.5.0.0</version>
+ <scope>provided</scope> <!-- for @ApiIgnore -->
+ <exclusions>
+ <exclusion>
+diff --git a/ambari-server/pom.xml.orig b/ambari-server/pom.xml.orig
+index 63dd06fb..9ac41d7b 100644
+--- a/ambari-server/pom.xml.orig
++++ b/ambari-server/pom.xml.orig
+@@ -1776,7 +1776,7 @@
+ <dependency>
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-serviceadvisor</artifactId>
+- <version>1.0.0.0-SNAPSHOT</version>
++ <version>2.7.5.0.0</version>
+ <exclusions>
+ <exclusion>
+ <groupId>commons-httpclient</groupId>
+@@ -1789,7 +1789,7 @@
+ <dependency>
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-utility</artifactId>
+- <version>1.0.0.0-SNAPSHOT</version>
++ <version>2.7.5.0.0</version>
+ <scope>provided</scope> <!-- for @ApiIgnore -->
+ <exclusions>
+ <exclusion>
+diff --git a/ambari-serviceadvisor/pom.xml b/ambari-serviceadvisor/pom.xml
+index dbfbafad..68d24a97 100644
+--- a/ambari-serviceadvisor/pom.xml
++++ b/ambari-serviceadvisor/pom.xml
+@@ -16,7 +16,7 @@
+ limitations under the License.
+ -->
+ <project xmlns="http://maven.apache.org/POM/4.0.0"
+- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
++ xmlns:xsi="http://www .w3.org/2001/XMLSchema-instance"
Review comment:
done
--
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.
To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [bigtop] elukey commented on pull request #870: BIGTOP-3649: Fix Nexus local mirror functionality
Posted by GitBox <gi...@apache.org>.
elukey commented on pull request #870:
URL: https://github.com/apache/bigtop/pull/870#issuecomment-1059783570
Yep LGTM! @oflebbe @sekikn I think that this change would be great even for the upcoming 3.0.1 release, lemme know what are your thoughts!
--
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.
To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [bigtop] sekikn commented on a change in pull request #870: BIGTOP-3649: Fix Nexus local mirror functionality
Posted by GitBox <gi...@apache.org>.
sekikn commented on a change in pull request #870:
URL: https://github.com/apache/bigtop/pull/870#discussion_r820318969
##########
File path: bigtop-packages/src/common/ambari/patch9-remove-not-working-plugin-repos.diff
##########
@@ -0,0 +1,70 @@
+diff --git a/ambari-server/pom.xml b/ambari-server/pom.xml
+index 8ff399051c..b268337ac8 100644
+--- a/ambari-server/pom.xml
++++ b/ambari-server/pom.xml
+@@ -1739,12 +1739,4 @@
+ </dependency>
+ </dependencies>
+
+- <pluginRepositories>
+- <pluginRepository>
+- <id>oss.sonatype.org</id>
+- <name>OSS Sonatype Staging</name>
+- <url>https://oss.sonatype.org/content/groups/staging</url>
+- </pluginRepository>
+- </pluginRepositories>
+-
+ </project>
+diff --git a/ambari-serviceadvisor/pom.xml b/ambari-serviceadvisor/pom.xml
+index 8719cd85de..58d5dc749c 100644
+--- a/ambari-serviceadvisor/pom.xml
++++ b/ambari-serviceadvisor/pom.xml
+@@ -47,14 +47,6 @@
+ </dependency>
+ </dependencies>
+
+- <pluginRepositories>
+- <pluginRepository>
+- <id>oss.sonatype.org</id>
+- <name>OSS Sonatype Staging</name>
+- <url>https://oss.sonatype.org/content/groups/staging</url>
+- </pluginRepository>
+- </pluginRepositories>
+-
Review comment:
After applying this patch, references to oss.sonatype.org still seem to remain in ambari-infra/pom.xml and ambari-logsearch/pom.xml. Should we remove them (and the entry from the repos variable in build.gradle) too?
--
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.
To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [bigtop] sekikn commented on pull request #870: BIGTOP-3649: Fix Nexus local mirror functionality
Posted by GitBox <gi...@apache.org>.
sekikn commented on pull request #870:
URL: https://github.com/apache/bigtop/pull/870#issuecomment-1060091641
@cheelio I left some comments on the latest PR. Would you address them during my trial?
--
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.
To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [bigtop] cheelio commented on a change in pull request #870: BIGTOP-3649: Fix Nexus local mirror functionality
Posted by GitBox <gi...@apache.org>.
cheelio commented on a change in pull request #870:
URL: https://github.com/apache/bigtop/pull/870#discussion_r820447004
##########
File path: bigtop-packages/src/common/ambari/patch9-z_bonus.diff
##########
@@ -0,0 +1,446 @@
+diff --git a/ambari-agent/pom.xml b/ambari-agent/pom.xml
+index 214aa851..3b0bef2d 100644
+--- a/ambari-agent/pom.xml
++++ b/ambari-agent/pom.xml
+@@ -159,7 +159,7 @@
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-utility</artifactId>
+ <scope>test</scope>
+- <version>1.0.0.0-SNAPSHOT</version>
++ <version>2.7.5.0.0</version>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+diff --git a/ambari-infra/pom.xml b/ambari-infra/pom.xml
+index 167bf5c6..c24bf9d3 100644
+--- a/ambari-infra/pom.xml
++++ b/ambari-infra/pom.xml
+@@ -33,7 +33,7 @@
+ <deb.dependency.list>${deb.python.ver}</deb.dependency.list>
+ <hadoop.version>3.0.0</hadoop.version>
+ <surefire.argLine>-Xmx1024m -Xms512m</surefire.argLine>
+- <zookeeper.version>3.4.6.2.3.0.0-2557</zookeeper.version>
++ <zookeeper.version>3.4.6</zookeeper.version>
+ <skipSurefireTests>false</skipSurefireTests>
+ <log4j2.version>2.11.0</log4j2.version>
+ </properties>
+@@ -55,11 +55,6 @@
+ </issueManagement>
+
+ <repositories>
+- <repository>
+- <id>apache-hadoop</id>
+- <name>hdp</name>
+- <url>https://repo.hortonworks.com/content/groups/public/</url>
+- </repository>
+ <repository>
+ <id>oss.sonatype.org</id>
+ <name>OSS Sonatype Staging</name>
+diff --git a/ambari-logsearch/pom.xml b/ambari-logsearch/pom.xml
+index c0f2494f..fd10e6b2 100644
+--- a/ambari-logsearch/pom.xml
++++ b/ambari-logsearch/pom.xml
+@@ -47,7 +47,7 @@
+ <solr.version>7.7.0</solr.version>
+ <hadoop.version>3.0.0</hadoop.version>
+ <common.io.version>2.5</common.io.version>
+- <zookeeper.version>3.4.6.2.3.0.0-2557</zookeeper.version>
++ <zookeeper.version>3.4.6</zookeeper.version>
+ <forkCount>4</forkCount>
+ <reuseForks>false</reuseForks>
+ <surefire.argLine>-Xmx1024m -Xms512m</surefire.argLine>
+@@ -71,11 +71,6 @@
+ </issueManagement>
+
+ <repositories>
+- <repository>
+- <id>apache-hadoop</id>
+- <name>hdp</name>
+- <url>https://repo.hortonworks.com/content/groups/public/</url>
+- </repository>
+ <repository>
+ <id>oss.sonatype.org</id>
+ <name>OSS Sonatype Staging</name>
+diff --git a/ambari-metrics/ambari-metrics-assembly/pom.xml b/ambari-metrics/ambari-metrics-assembly/pom.xml
+index d25b2926..2940d8a8 100644
+--- a/ambari-metrics/ambari-metrics-assembly/pom.xml
++++ b/ambari-metrics/ambari-metrics-assembly/pom.xml
+@@ -39,7 +39,6 @@
+ <grafana.dir>${project.basedir}/../ambari-metrics-grafana</grafana.dir>
+ <hadoop-sink.dir>${project.basedir}/../ambari-metrics-hadoop-sink</hadoop-sink.dir>
+ <storm-sink.dir>${project.basedir}/../ambari-metrics-storm-sink</storm-sink.dir>
+- <storm-sink-legacy.dir>${project.basedir}/../ambari-metrics-storm-sink-legacy</storm-sink-legacy.dir>
+ <flume-sink.dir>${project.basedir}/../ambari-metrics-flume-sink</flume-sink.dir>
+ <kafka-sink.dir>${project.basedir}/../ambari-metrics-kafka-sink</kafka-sink.dir>
+ <python.ver>python >= 2.6</python.ver>
+@@ -53,7 +52,6 @@
+ <deb.dependency.list>${deb.python.ver},python-dev,gcc</deb.dependency.list>
+ <hadoop.sink.jar>ambari-metrics-hadoop-sink-with-common-${project.version}.jar</hadoop.sink.jar>
+ <storm.sink.jar>ambari-metrics-storm-sink-with-common-${project.version}.jar</storm.sink.jar>
+- <storm.sink.legacy.jar>ambari-metrics-storm-sink-legacy-with-common-${project.version}.jar</storm.sink.legacy.jar>
+ <flume.sink.jar>ambari-metrics-flume-sink-with-common-${project.version}.jar</flume.sink.jar>
+ <kafka.sink.jar>ambari-metrics-kafka-sink-with-common-${project.version}.jar</kafka.sink.jar>
+ </properties>
+@@ -423,14 +421,6 @@
+ </source>
+ </sources>
+ </mapping>
+- <mapping>
+- <directory>/usr/lib/storm/lib</directory>
+- <sources>
+- <source>
+- <location>${storm-sink-legacy.dir}/target/ambari-metrics-storm-sink-legacy-with-common-${project.version}.jar</location>
+- </source>
+- </sources>
+- </mapping>
+ <mapping>
+ <directory>/usr/lib/ambari-metrics-kafka-sink</directory>
+ <sources>
+@@ -1041,16 +1031,6 @@
+ <prefix>/usr/lib/storm/lib</prefix>
+ </mapper>
+ </data>
+- <data>
+- <src>${storm-sink-legacy.dir}/target/${storm.sink.legacy.jar}</src>
+- <type>file</type>
+- <mapper>
+- <type>perm</type>
+- <filemode>644</filemode>
+- <dirmode>755</dirmode>
+- <prefix>/usr/lib/storm/lib</prefix>
+- </mapper>
+- </data>
+
+ <!-- kafka sink -->
+
+@@ -1357,11 +1337,6 @@
+ <artifactId>ambari-metrics-storm-sink</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+- <dependency>
+- <groupId>org.apache.ambari</groupId>
+- <artifactId>ambari-metrics-storm-sink-legacy</artifactId>
+- <version>${project.version}</version>
+- </dependency>
+ <dependency>
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-metrics-kafka-sink</artifactId>
+diff --git a/ambari-metrics/ambari-metrics-assembly/src/main/assembly/sink-windows.xml b/ambari-metrics/ambari-metrics-assembly/src/main/assembly/sink-windows.xml
+index 14b49b2b..5698a3b8 100644
+--- a/ambari-metrics/ambari-metrics-assembly/src/main/assembly/sink-windows.xml
++++ b/ambari-metrics/ambari-metrics-assembly/src/main/assembly/sink-windows.xml
+@@ -61,10 +61,6 @@
+ <source>${storm-sink.dir}/target/ambari-metrics-storm-sink-with-common-${project.version}.jar</source>
+ <outputDirectory>hadoop-sink</outputDirectory>
+ </file>
+- <file>
+- <source>${storm-sink-legacy.dir}/target/ambari-metrics-storm-sink-legacy-with-common-${project.version}.jar</source>
+- <outputDirectory>hadoop-sink</outputDirectory>
+- </file>
+ <file>
+ <source>${kafka-sink.dir}/target/ambari-metrics-kafka-sink-with-common-${project.version}.jar</source>
+ <outputDirectory>hadoop-sink</outputDirectory>
+diff --git a/ambari-metrics/ambari-metrics-assembly/src/main/assembly/sink.xml b/ambari-metrics/ambari-metrics-assembly/src/main/assembly/sink.xml
+index 34cdbc38..ac9f4ac8 100644
+--- a/ambari-metrics/ambari-metrics-assembly/src/main/assembly/sink.xml
++++ b/ambari-metrics/ambari-metrics-assembly/src/main/assembly/sink.xml
+@@ -64,11 +64,6 @@
+ <source>${storm-sink.dir}/target/ambari-metrics-storm-sink-with-common-${project.version}.jar</source>
+ <outputDirectory>hadoop-sink</outputDirectory>
+ </file>
+- <file>
+- <fileMode>644</fileMode>
+- <source>${storm-sink-legacy.dir}/target/ambari-metrics-storm-sink-legacy-with-common-${project.version}.jar</source>
+- <outputDirectory>hadoop-sink</outputDirectory>
+- </file>
+ <file>
+ <fileMode>644</fileMode>
+ <source>${kafka-sink.dir}/target/ambari-metrics-kafka-sink-with-common-${project.version}.jar</source>
+diff --git a/ambari-metrics/ambari-metrics-storm-sink-legacy/src/main/java/org/apache/hadoop/metrics2/sink/storm/StormTimelineMetricsReporter.java b/ambari-metrics/ambari-metrics-storm-sink-legacy/src/main/java/org/apache/hadoop/metrics2/sink/storm/StormTimelineMetricsReporter.java
+index 842fad8f..9ed8bfeb 100644
+--- a/ambari-metrics/ambari-metrics-storm-sink-legacy/src/main/java/org/apache/hadoop/metrics2/sink/storm/StormTimelineMetricsReporter.java
++++ b/ambari-metrics/ambari-metrics-storm-sink-legacy/src/main/java/org/apache/hadoop/metrics2/sink/storm/StormTimelineMetricsReporter.java
+@@ -34,12 +34,10 @@ import org.apache.hadoop.metrics2.sink.timeline.UnableToConnectException;
+ import backtype.storm.generated.ClusterSummary;
+ import backtype.storm.generated.SupervisorSummary;
+ import backtype.storm.generated.TopologySummary;
+-import backtype.storm.metric.IClusterReporter;
+ import backtype.storm.utils.NimbusClient;
+ import backtype.storm.utils.Utils;
+
+-public class StormTimelineMetricsReporter extends AbstractTimelineMetricsSink
+- implements IClusterReporter {
++public class StormTimelineMetricsReporter extends AbstractTimelineMetricsSink {
+
+ public static final String METRICS_COLLECTOR_CATEGORY = "metrics_collector";
+ public static final String APP_ID = "appId";
+@@ -113,7 +111,6 @@ public class StormTimelineMetricsReporter extends AbstractTimelineMetricsSink
+ return hostInMemoryAggregationProtocol;
+ }
+
+- @Override
+ public void prepare(Map conf) {
+ LOG.info("Preparing Storm Metrics Reporter");
+ try {
+diff --git a/ambari-metrics/ambari-metrics-timelineservice/pom.xml b/ambari-metrics/ambari-metrics-timelineservice/pom.xml
+index f8e34490..6311107c 100644
+--- a/ambari-metrics/ambari-metrics-timelineservice/pom.xml
++++ b/ambari-metrics/ambari-metrics-timelineservice/pom.xml
+@@ -323,7 +323,7 @@
+ <dependency>
+ <groupId>org.apache.zookeeper</groupId>
+ <artifactId>zookeeper</artifactId>
+- <version>3.4.5.1.3.0.0-107</version>
++ <version>3.4.5</version>
+ <exclusions>
+ <exclusion>
+ <artifactId>jline</artifactId>
+@@ -852,7 +852,7 @@
+ <dependency>
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-utility</artifactId>
+- <version>1.0.0.0-SNAPSHOT</version>
++ <version>2.7.5.0.0</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+diff --git a/ambari-metrics/pom.xml b/ambari-metrics/pom.xml
+index 1c499b1a..dd682fd2 100644
+--- a/ambari-metrics/pom.xml
++++ b/ambari-metrics/pom.xml
+@@ -28,7 +28,6 @@
+ <module>ambari-metrics-flume-sink</module>
+ <module>ambari-metrics-kafka-sink</module>
+ <module>ambari-metrics-storm-sink</module>
+- <module>ambari-metrics-storm-sink-legacy</module>
+ <module>ambari-metrics-timelineservice</module>
+ <module>ambari-metrics-host-monitoring</module>
+ <module>ambari-metrics-grafana</module>
+@@ -71,18 +70,6 @@
+ <url>${distMgmtSnapshotsUrl}</url>
+ </snapshotRepository>
+ </distributionManagement>
+- <repositories>
+- <repository>
+- <id>apache-hadoop</id>
+- <name>hdp</name>
+- <url>https://repo.hortonworks.com/content/groups/public/</url>
+- </repository>
+- <repository>
+- <id>apache-snapshots</id>
+- <name>snapshots</name>
+- <url>https://repository.apache.org/content/repositories/snapshots</url>
+- </repository>
+- </repositories>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+@@ -323,7 +310,7 @@
+ <dependency>
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-utility</artifactId>
+- <version>1.0.0.0-SNAPSHOT</version>
++ <version>2.7.5.0.0</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+@@ -338,7 +325,7 @@
+ <dependency>
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-utility</artifactId>
+- <version>1.0.0.0-SNAPSHOT</version>
++ <version>2.7.5.0.0</version>
+ </dependency>
+ </dependencies>
+ </profile>
+diff --git a/ambari-project/pom.xml b/ambari-project/pom.xml
+index e2010e37..62efdea5 100644
+--- a/ambari-project/pom.xml
++++ b/ambari-project/pom.xml
+@@ -705,7 +705,7 @@
+ <dependency>
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-utility</artifactId>
+- <version>1.0.0.0-SNAPSHOT</version>
++ <version>2.7.5.0.0</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+diff --git a/ambari-server/pom.xml b/ambari-server/pom.xml
+index 899c2641..d159e2ec 100644
+--- a/ambari-server/pom.xml
++++ b/ambari-server/pom.xml
+@@ -1776,7 +1776,7 @@
+ <dependency>
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-serviceadvisor</artifactId>
+- <version>1.0.0.0-SNAPSHOT</version>
++ <version>2.7.5.0.0</version>
+ <exclusions>
+ <exclusion>
+ <groupId>commons-httpclient</groupId>
+@@ -1789,7 +1789,7 @@
+ <dependency>
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-utility</artifactId>
+- <version>1.0.0.0-SNAPSHOT</version>
++ <version>2.7.5.0.0</version>
+ <scope>provided</scope> <!-- for @ApiIgnore -->
+ <exclusions>
+ <exclusion>
+diff --git a/ambari-server/pom.xml.orig b/ambari-server/pom.xml.orig
Review comment:
Yes, done.
--
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.
To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [bigtop] cheelio edited a comment on pull request #870: BIGTOP-3649: Fix Nexus local mirror functionality
Posted by GitBox <gi...@apache.org>.
cheelio edited a comment on pull request #870:
URL: https://github.com/apache/bigtop/pull/870#issuecomment-1059977347
@sekikn @oflebbe @elukey
Ok, I got two flavours:
First commit has everything you asked for.
Second commit removes all 'dependencies' to Hortonworks repositories. I think I sleep much better at night, knowing that this build will always succeed, even if Cloudera decides to shutdown all their public Nexus repositories. I guess that could be a serious scenario.
What I had to do to make that work is removing the `ambari-metrics-storm-sink-legacy` module from the project. This module contains references 'backtype.storm.metric.IClusterReporter' which only seems available in `org.apache.storm:storm-core:0.10.0.2.3.0.0-2557`. Sources of this interface aren't available anywhere online. By removing `ambari-metrics-storm-sink-legacy` (I think the word 'legacy' tells me that it won't hurt that much), as a module from the build, I can eliminiate *all* references to Hortonworks Nexus repositories from ambari.
Let me know what you think!
--
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.
To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [bigtop] cheelio commented on a change in pull request #870: BIGTOP-3649: Fix Nexus local mirror functionality
Posted by GitBox <gi...@apache.org>.
cheelio commented on a change in pull request #870:
URL: https://github.com/apache/bigtop/pull/870#discussion_r820446230
##########
File path: bigtop-packages/src/common/ambari/patch9-remove-not-working-plugin-repos.diff
##########
@@ -0,0 +1,70 @@
+diff --git a/ambari-server/pom.xml b/ambari-server/pom.xml
+index 8ff399051c..b268337ac8 100644
+--- a/ambari-server/pom.xml
++++ b/ambari-server/pom.xml
+@@ -1739,12 +1739,4 @@
+ </dependency>
+ </dependencies>
+
+- <pluginRepositories>
+- <pluginRepository>
+- <id>oss.sonatype.org</id>
+- <name>OSS Sonatype Staging</name>
+- <url>https://oss.sonatype.org/content/groups/staging</url>
+- </pluginRepository>
+- </pluginRepositories>
+-
+ </project>
+diff --git a/ambari-serviceadvisor/pom.xml b/ambari-serviceadvisor/pom.xml
+index 8719cd85de..58d5dc749c 100644
+--- a/ambari-serviceadvisor/pom.xml
++++ b/ambari-serviceadvisor/pom.xml
+@@ -47,14 +47,6 @@
+ </dependency>
+ </dependencies>
+
+- <pluginRepositories>
+- <pluginRepository>
+- <id>oss.sonatype.org</id>
+- <name>OSS Sonatype Staging</name>
+- <url>https://oss.sonatype.org/content/groups/staging</url>
+- </pluginRepository>
+- </pluginRepositories>
+-
Review comment:
Agreed, removed it!
--
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.
To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [bigtop] cheelio commented on pull request #870: BIGTOP-3649: Fix Nexus local mirror functionality
Posted by GitBox <gi...@apache.org>.
cheelio commented on pull request #870:
URL: https://github.com/apache/bigtop/pull/870#issuecomment-1059754195
The `generate_nexus_tasks` function creates `configure-nexus-xxxxxx` gradle tasks for each `repo` in `repos`. These tasks create a proxy repository in Nexus.
The (new) `configure-nexus-public-group` gradle task is executed after the individual nexus tasks and create/update the `public` repository group in nexus so that this group consists of all the individual proxy's in `repos`.
Finally, the `configure-nexus` task is the entry point. Because of the dependants, it will always first create/update the proxy repo followed by updating the group repo.
The task itself will write a settings.xml file pointing to the `public` group repo. The `mirrorOf`-attribute contains a comma separated string with repo IDs. These will match with the repo IDs in the individual `pom.xml` files.
In this way, when a new repository is added somewhere in a in a (new) module that isn't (yet) included in the `repos` variable, it will not be proxied by nexus to make sure the build will not fail.
--
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.
To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [bigtop] cheelio edited a comment on pull request #870: BIGTOP-3649: Fix Nexus local mirror functionality
Posted by GitBox <gi...@apache.org>.
cheelio edited a comment on pull request #870:
URL: https://github.com/apache/bigtop/pull/870#issuecomment-1058891060
Epic oneliner (to run in separate jenkins alert job or something):
```
[[ $(grep "Downloading from" ~/bigtop/build.txt | grep -v "Downloading from default" | wc -l ) = "0" ]] && echo "Build contains external repositories that are not added to 'repos'-variable in build.gradle. Please consider updating the variable."
```
--
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.
To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [bigtop] cheelio commented on pull request #870: BIGTOP-3649: Fix Nexus local mirror functionality
Posted by GitBox <gi...@apache.org>.
cheelio commented on pull request #870:
URL: https://github.com/apache/bigtop/pull/870#issuecomment-1058891060
Epic oneliner (to run in separate jenkins alert job or something):
```
[[ $(grep "Downloading from" ~/bigtop/build.txt | grep -v "Downloading from default" | wc -l ) = "0" ]] && echo "Build contains external repositories that are not added to 'repos'-variable in buid.gradle. Please consider updating the variable."
```
--
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.
To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [bigtop] oflebbe commented on pull request #870: BIGTOP-3649: Fix Nexus local mirror functionality
Posted by GitBox <gi...@apache.org>.
oflebbe commented on pull request #870:
URL: https://github.com/apache/bigtop/pull/870#issuecomment-1059834068
Hi @elukey , please do what makes sense. The usage of the private repository nexus-private raises airbrows for me.
shouldn't we use http://repo.hortonworks.com/content/groups/public instead? .
--
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.
To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [bigtop] cheelio commented on pull request #870: BIGTOP-3649: Fix Nexus local mirror functionality
Posted by GitBox <gi...@apache.org>.
cheelio commented on pull request #870:
URL: https://github.com/apache/bigtop/pull/870#issuecomment-1059977347
@sekikn @oflebbe @elukey
Ok, I got two flavours:
First commit has everything you asked for.
Second commit removes all 'dependencies' to Hortonworks repositories. I think I sleep much better at night, knowing that this build will always succeed, even if Cloudera decides to shutdown all their public Nexus repositories. I guess that could be a serious scenario.
What I had to do to make that work is removing the `ambari-metrics-storm-sink-legacy` module from the project. This module contains references 'backtype.storm.metric.IClusterReporter' which only seems available in `org.apache.storm:storm-core:0.10.0.2.3.0.0-2557`. Sources of this interface aren't available anywhere online. By removing `ambari-metrics-storm-sink-legacy` (I think the word 'legacy' tells me that it won't hurt that much), as a module from the build, I can eliminiate *all* references to Hortonworks Nexus repositories from ambari.
Let me know what you think!
Please tell me what you think.
--
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.
To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [bigtop] sekikn commented on a change in pull request #870: BIGTOP-3649: Fix Nexus local mirror functionality
Posted by GitBox <gi...@apache.org>.
sekikn commented on a change in pull request #870:
URL: https://github.com/apache/bigtop/pull/870#discussion_r820319586
##########
File path: bigtop-packages/src/common/ambari/patch9-z_bonus.diff
##########
@@ -0,0 +1,446 @@
+diff --git a/ambari-agent/pom.xml b/ambari-agent/pom.xml
+index 214aa851..3b0bef2d 100644
+--- a/ambari-agent/pom.xml
++++ b/ambari-agent/pom.xml
+@@ -159,7 +159,7 @@
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-utility</artifactId>
+ <scope>test</scope>
+- <version>1.0.0.0-SNAPSHOT</version>
++ <version>2.7.5.0.0</version>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+diff --git a/ambari-infra/pom.xml b/ambari-infra/pom.xml
+index 167bf5c6..c24bf9d3 100644
+--- a/ambari-infra/pom.xml
++++ b/ambari-infra/pom.xml
+@@ -33,7 +33,7 @@
+ <deb.dependency.list>${deb.python.ver}</deb.dependency.list>
+ <hadoop.version>3.0.0</hadoop.version>
+ <surefire.argLine>-Xmx1024m -Xms512m</surefire.argLine>
+- <zookeeper.version>3.4.6.2.3.0.0-2557</zookeeper.version>
++ <zookeeper.version>3.4.6</zookeeper.version>
+ <skipSurefireTests>false</skipSurefireTests>
+ <log4j2.version>2.11.0</log4j2.version>
+ </properties>
+@@ -55,11 +55,6 @@
+ </issueManagement>
+
+ <repositories>
+- <repository>
+- <id>apache-hadoop</id>
+- <name>hdp</name>
+- <url>https://repo.hortonworks.com/content/groups/public/</url>
+- </repository>
+ <repository>
+ <id>oss.sonatype.org</id>
+ <name>OSS Sonatype Staging</name>
+diff --git a/ambari-logsearch/pom.xml b/ambari-logsearch/pom.xml
+index c0f2494f..fd10e6b2 100644
+--- a/ambari-logsearch/pom.xml
++++ b/ambari-logsearch/pom.xml
+@@ -47,7 +47,7 @@
+ <solr.version>7.7.0</solr.version>
+ <hadoop.version>3.0.0</hadoop.version>
+ <common.io.version>2.5</common.io.version>
+- <zookeeper.version>3.4.6.2.3.0.0-2557</zookeeper.version>
++ <zookeeper.version>3.4.6</zookeeper.version>
+ <forkCount>4</forkCount>
+ <reuseForks>false</reuseForks>
+ <surefire.argLine>-Xmx1024m -Xms512m</surefire.argLine>
+@@ -71,11 +71,6 @@
+ </issueManagement>
+
+ <repositories>
+- <repository>
+- <id>apache-hadoop</id>
+- <name>hdp</name>
+- <url>https://repo.hortonworks.com/content/groups/public/</url>
+- </repository>
+ <repository>
+ <id>oss.sonatype.org</id>
+ <name>OSS Sonatype Staging</name>
+diff --git a/ambari-metrics/ambari-metrics-assembly/pom.xml b/ambari-metrics/ambari-metrics-assembly/pom.xml
+index d25b2926..2940d8a8 100644
+--- a/ambari-metrics/ambari-metrics-assembly/pom.xml
++++ b/ambari-metrics/ambari-metrics-assembly/pom.xml
+@@ -39,7 +39,6 @@
+ <grafana.dir>${project.basedir}/../ambari-metrics-grafana</grafana.dir>
+ <hadoop-sink.dir>${project.basedir}/../ambari-metrics-hadoop-sink</hadoop-sink.dir>
+ <storm-sink.dir>${project.basedir}/../ambari-metrics-storm-sink</storm-sink.dir>
+- <storm-sink-legacy.dir>${project.basedir}/../ambari-metrics-storm-sink-legacy</storm-sink-legacy.dir>
+ <flume-sink.dir>${project.basedir}/../ambari-metrics-flume-sink</flume-sink.dir>
+ <kafka-sink.dir>${project.basedir}/../ambari-metrics-kafka-sink</kafka-sink.dir>
+ <python.ver>python >= 2.6</python.ver>
+@@ -53,7 +52,6 @@
+ <deb.dependency.list>${deb.python.ver},python-dev,gcc</deb.dependency.list>
+ <hadoop.sink.jar>ambari-metrics-hadoop-sink-with-common-${project.version}.jar</hadoop.sink.jar>
+ <storm.sink.jar>ambari-metrics-storm-sink-with-common-${project.version}.jar</storm.sink.jar>
+- <storm.sink.legacy.jar>ambari-metrics-storm-sink-legacy-with-common-${project.version}.jar</storm.sink.legacy.jar>
+ <flume.sink.jar>ambari-metrics-flume-sink-with-common-${project.version}.jar</flume.sink.jar>
+ <kafka.sink.jar>ambari-metrics-kafka-sink-with-common-${project.version}.jar</kafka.sink.jar>
+ </properties>
+@@ -423,14 +421,6 @@
+ </source>
+ </sources>
+ </mapping>
+- <mapping>
+- <directory>/usr/lib/storm/lib</directory>
+- <sources>
+- <source>
+- <location>${storm-sink-legacy.dir}/target/ambari-metrics-storm-sink-legacy-with-common-${project.version}.jar</location>
+- </source>
+- </sources>
+- </mapping>
+ <mapping>
+ <directory>/usr/lib/ambari-metrics-kafka-sink</directory>
+ <sources>
+@@ -1041,16 +1031,6 @@
+ <prefix>/usr/lib/storm/lib</prefix>
+ </mapper>
+ </data>
+- <data>
+- <src>${storm-sink-legacy.dir}/target/${storm.sink.legacy.jar}</src>
+- <type>file</type>
+- <mapper>
+- <type>perm</type>
+- <filemode>644</filemode>
+- <dirmode>755</dirmode>
+- <prefix>/usr/lib/storm/lib</prefix>
+- </mapper>
+- </data>
+
+ <!-- kafka sink -->
+
+@@ -1357,11 +1337,6 @@
+ <artifactId>ambari-metrics-storm-sink</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+- <dependency>
+- <groupId>org.apache.ambari</groupId>
+- <artifactId>ambari-metrics-storm-sink-legacy</artifactId>
+- <version>${project.version}</version>
+- </dependency>
+ <dependency>
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-metrics-kafka-sink</artifactId>
+diff --git a/ambari-metrics/ambari-metrics-assembly/src/main/assembly/sink-windows.xml b/ambari-metrics/ambari-metrics-assembly/src/main/assembly/sink-windows.xml
+index 14b49b2b..5698a3b8 100644
+--- a/ambari-metrics/ambari-metrics-assembly/src/main/assembly/sink-windows.xml
++++ b/ambari-metrics/ambari-metrics-assembly/src/main/assembly/sink-windows.xml
+@@ -61,10 +61,6 @@
+ <source>${storm-sink.dir}/target/ambari-metrics-storm-sink-with-common-${project.version}.jar</source>
+ <outputDirectory>hadoop-sink</outputDirectory>
+ </file>
+- <file>
+- <source>${storm-sink-legacy.dir}/target/ambari-metrics-storm-sink-legacy-with-common-${project.version}.jar</source>
+- <outputDirectory>hadoop-sink</outputDirectory>
+- </file>
+ <file>
+ <source>${kafka-sink.dir}/target/ambari-metrics-kafka-sink-with-common-${project.version}.jar</source>
+ <outputDirectory>hadoop-sink</outputDirectory>
+diff --git a/ambari-metrics/ambari-metrics-assembly/src/main/assembly/sink.xml b/ambari-metrics/ambari-metrics-assembly/src/main/assembly/sink.xml
+index 34cdbc38..ac9f4ac8 100644
+--- a/ambari-metrics/ambari-metrics-assembly/src/main/assembly/sink.xml
++++ b/ambari-metrics/ambari-metrics-assembly/src/main/assembly/sink.xml
+@@ -64,11 +64,6 @@
+ <source>${storm-sink.dir}/target/ambari-metrics-storm-sink-with-common-${project.version}.jar</source>
+ <outputDirectory>hadoop-sink</outputDirectory>
+ </file>
+- <file>
+- <fileMode>644</fileMode>
+- <source>${storm-sink-legacy.dir}/target/ambari-metrics-storm-sink-legacy-with-common-${project.version}.jar</source>
+- <outputDirectory>hadoop-sink</outputDirectory>
+- </file>
+ <file>
+ <fileMode>644</fileMode>
+ <source>${kafka-sink.dir}/target/ambari-metrics-kafka-sink-with-common-${project.version}.jar</source>
+diff --git a/ambari-metrics/ambari-metrics-storm-sink-legacy/src/main/java/org/apache/hadoop/metrics2/sink/storm/StormTimelineMetricsReporter.java b/ambari-metrics/ambari-metrics-storm-sink-legacy/src/main/java/org/apache/hadoop/metrics2/sink/storm/StormTimelineMetricsReporter.java
+index 842fad8f..9ed8bfeb 100644
+--- a/ambari-metrics/ambari-metrics-storm-sink-legacy/src/main/java/org/apache/hadoop/metrics2/sink/storm/StormTimelineMetricsReporter.java
++++ b/ambari-metrics/ambari-metrics-storm-sink-legacy/src/main/java/org/apache/hadoop/metrics2/sink/storm/StormTimelineMetricsReporter.java
+@@ -34,12 +34,10 @@ import org.apache.hadoop.metrics2.sink.timeline.UnableToConnectException;
+ import backtype.storm.generated.ClusterSummary;
+ import backtype.storm.generated.SupervisorSummary;
+ import backtype.storm.generated.TopologySummary;
+-import backtype.storm.metric.IClusterReporter;
+ import backtype.storm.utils.NimbusClient;
+ import backtype.storm.utils.Utils;
+
+-public class StormTimelineMetricsReporter extends AbstractTimelineMetricsSink
+- implements IClusterReporter {
++public class StormTimelineMetricsReporter extends AbstractTimelineMetricsSink {
+
+ public static final String METRICS_COLLECTOR_CATEGORY = "metrics_collector";
+ public static final String APP_ID = "appId";
+@@ -113,7 +111,6 @@ public class StormTimelineMetricsReporter extends AbstractTimelineMetricsSink
+ return hostInMemoryAggregationProtocol;
+ }
+
+- @Override
+ public void prepare(Map conf) {
+ LOG.info("Preparing Storm Metrics Reporter");
+ try {
+diff --git a/ambari-metrics/ambari-metrics-timelineservice/pom.xml b/ambari-metrics/ambari-metrics-timelineservice/pom.xml
+index f8e34490..6311107c 100644
+--- a/ambari-metrics/ambari-metrics-timelineservice/pom.xml
++++ b/ambari-metrics/ambari-metrics-timelineservice/pom.xml
+@@ -323,7 +323,7 @@
+ <dependency>
+ <groupId>org.apache.zookeeper</groupId>
+ <artifactId>zookeeper</artifactId>
+- <version>3.4.5.1.3.0.0-107</version>
++ <version>3.4.5</version>
+ <exclusions>
+ <exclusion>
+ <artifactId>jline</artifactId>
+@@ -852,7 +852,7 @@
+ <dependency>
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-utility</artifactId>
+- <version>1.0.0.0-SNAPSHOT</version>
++ <version>2.7.5.0.0</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+diff --git a/ambari-metrics/pom.xml b/ambari-metrics/pom.xml
+index 1c499b1a..dd682fd2 100644
+--- a/ambari-metrics/pom.xml
++++ b/ambari-metrics/pom.xml
+@@ -28,7 +28,6 @@
+ <module>ambari-metrics-flume-sink</module>
+ <module>ambari-metrics-kafka-sink</module>
+ <module>ambari-metrics-storm-sink</module>
+- <module>ambari-metrics-storm-sink-legacy</module>
+ <module>ambari-metrics-timelineservice</module>
+ <module>ambari-metrics-host-monitoring</module>
+ <module>ambari-metrics-grafana</module>
+@@ -71,18 +70,6 @@
+ <url>${distMgmtSnapshotsUrl}</url>
+ </snapshotRepository>
+ </distributionManagement>
+- <repositories>
+- <repository>
+- <id>apache-hadoop</id>
+- <name>hdp</name>
+- <url>https://repo.hortonworks.com/content/groups/public/</url>
+- </repository>
+- <repository>
+- <id>apache-snapshots</id>
+- <name>snapshots</name>
+- <url>https://repository.apache.org/content/repositories/snapshots</url>
+- </repository>
+- </repositories>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+@@ -323,7 +310,7 @@
+ <dependency>
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-utility</artifactId>
+- <version>1.0.0.0-SNAPSHOT</version>
++ <version>2.7.5.0.0</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+@@ -338,7 +325,7 @@
+ <dependency>
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-utility</artifactId>
+- <version>1.0.0.0-SNAPSHOT</version>
++ <version>2.7.5.0.0</version>
+ </dependency>
+ </dependencies>
+ </profile>
+diff --git a/ambari-project/pom.xml b/ambari-project/pom.xml
+index e2010e37..62efdea5 100644
+--- a/ambari-project/pom.xml
++++ b/ambari-project/pom.xml
+@@ -705,7 +705,7 @@
+ <dependency>
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-utility</artifactId>
+- <version>1.0.0.0-SNAPSHOT</version>
++ <version>2.7.5.0.0</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+diff --git a/ambari-server/pom.xml b/ambari-server/pom.xml
+index 899c2641..d159e2ec 100644
+--- a/ambari-server/pom.xml
++++ b/ambari-server/pom.xml
+@@ -1776,7 +1776,7 @@
+ <dependency>
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-serviceadvisor</artifactId>
+- <version>1.0.0.0-SNAPSHOT</version>
++ <version>2.7.5.0.0</version>
+ <exclusions>
+ <exclusion>
+ <groupId>commons-httpclient</groupId>
+@@ -1789,7 +1789,7 @@
+ <dependency>
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-utility</artifactId>
+- <version>1.0.0.0-SNAPSHOT</version>
++ <version>2.7.5.0.0</version>
+ <scope>provided</scope> <!-- for @ApiIgnore -->
+ <exclusions>
+ <exclusion>
+diff --git a/ambari-server/pom.xml.orig b/ambari-server/pom.xml.orig
+index 63dd06fb..9ac41d7b 100644
+--- a/ambari-server/pom.xml.orig
++++ b/ambari-server/pom.xml.orig
+@@ -1776,7 +1776,7 @@
+ <dependency>
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-serviceadvisor</artifactId>
+- <version>1.0.0.0-SNAPSHOT</version>
++ <version>2.7.5.0.0</version>
+ <exclusions>
+ <exclusion>
+ <groupId>commons-httpclient</groupId>
+@@ -1789,7 +1789,7 @@
+ <dependency>
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-utility</artifactId>
+- <version>1.0.0.0-SNAPSHOT</version>
++ <version>2.7.5.0.0</version>
+ <scope>provided</scope> <!-- for @ApiIgnore -->
+ <exclusions>
+ <exclusion>
+diff --git a/ambari-serviceadvisor/pom.xml b/ambari-serviceadvisor/pom.xml
+index dbfbafad..68d24a97 100644
+--- a/ambari-serviceadvisor/pom.xml
++++ b/ambari-serviceadvisor/pom.xml
+@@ -16,7 +16,7 @@
+ limitations under the License.
+ -->
+ <project xmlns="http://maven.apache.org/POM/4.0.0"
+- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
++ xmlns:xsi="http://www .w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <!-- Can compile this project independently, cd ambari-serviceadvisor ; mvn clean package install
+@@ -27,7 +27,7 @@
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-serviceadvisor</artifactId>
+ <name>Ambari Service Advisor</name>
+- <version>1.0.0.0-SNAPSHOT</version>
++ <version>2.7.5.0.0</version>
+ <description>Service Advisor</description>
+
+ <dependencies>
+diff --git a/ambari-serviceadvisor/pom.xml.orig b/ambari-serviceadvisor/pom.xml.orig
Review comment:
Same as the patch for ambari-server/pom.xml.orig.
--
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.
To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [bigtop] sekikn commented on a change in pull request #870: BIGTOP-3649: Fix Nexus local mirror functionality
Posted by GitBox <gi...@apache.org>.
sekikn commented on a change in pull request #870:
URL: https://github.com/apache/bigtop/pull/870#discussion_r820319483
##########
File path: bigtop-packages/src/common/ambari/patch9-z_bonus.diff
##########
@@ -0,0 +1,446 @@
+diff --git a/ambari-agent/pom.xml b/ambari-agent/pom.xml
+index 214aa851..3b0bef2d 100644
+--- a/ambari-agent/pom.xml
++++ b/ambari-agent/pom.xml
+@@ -159,7 +159,7 @@
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-utility</artifactId>
+ <scope>test</scope>
+- <version>1.0.0.0-SNAPSHOT</version>
++ <version>2.7.5.0.0</version>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+diff --git a/ambari-infra/pom.xml b/ambari-infra/pom.xml
+index 167bf5c6..c24bf9d3 100644
+--- a/ambari-infra/pom.xml
++++ b/ambari-infra/pom.xml
+@@ -33,7 +33,7 @@
+ <deb.dependency.list>${deb.python.ver}</deb.dependency.list>
+ <hadoop.version>3.0.0</hadoop.version>
+ <surefire.argLine>-Xmx1024m -Xms512m</surefire.argLine>
+- <zookeeper.version>3.4.6.2.3.0.0-2557</zookeeper.version>
++ <zookeeper.version>3.4.6</zookeeper.version>
+ <skipSurefireTests>false</skipSurefireTests>
+ <log4j2.version>2.11.0</log4j2.version>
+ </properties>
+@@ -55,11 +55,6 @@
+ </issueManagement>
+
+ <repositories>
+- <repository>
+- <id>apache-hadoop</id>
+- <name>hdp</name>
+- <url>https://repo.hortonworks.com/content/groups/public/</url>
+- </repository>
+ <repository>
+ <id>oss.sonatype.org</id>
+ <name>OSS Sonatype Staging</name>
+diff --git a/ambari-logsearch/pom.xml b/ambari-logsearch/pom.xml
+index c0f2494f..fd10e6b2 100644
+--- a/ambari-logsearch/pom.xml
++++ b/ambari-logsearch/pom.xml
+@@ -47,7 +47,7 @@
+ <solr.version>7.7.0</solr.version>
+ <hadoop.version>3.0.0</hadoop.version>
+ <common.io.version>2.5</common.io.version>
+- <zookeeper.version>3.4.6.2.3.0.0-2557</zookeeper.version>
++ <zookeeper.version>3.4.6</zookeeper.version>
+ <forkCount>4</forkCount>
+ <reuseForks>false</reuseForks>
+ <surefire.argLine>-Xmx1024m -Xms512m</surefire.argLine>
+@@ -71,11 +71,6 @@
+ </issueManagement>
+
+ <repositories>
+- <repository>
+- <id>apache-hadoop</id>
+- <name>hdp</name>
+- <url>https://repo.hortonworks.com/content/groups/public/</url>
+- </repository>
+ <repository>
+ <id>oss.sonatype.org</id>
+ <name>OSS Sonatype Staging</name>
+diff --git a/ambari-metrics/ambari-metrics-assembly/pom.xml b/ambari-metrics/ambari-metrics-assembly/pom.xml
+index d25b2926..2940d8a8 100644
+--- a/ambari-metrics/ambari-metrics-assembly/pom.xml
++++ b/ambari-metrics/ambari-metrics-assembly/pom.xml
+@@ -39,7 +39,6 @@
+ <grafana.dir>${project.basedir}/../ambari-metrics-grafana</grafana.dir>
+ <hadoop-sink.dir>${project.basedir}/../ambari-metrics-hadoop-sink</hadoop-sink.dir>
+ <storm-sink.dir>${project.basedir}/../ambari-metrics-storm-sink</storm-sink.dir>
+- <storm-sink-legacy.dir>${project.basedir}/../ambari-metrics-storm-sink-legacy</storm-sink-legacy.dir>
+ <flume-sink.dir>${project.basedir}/../ambari-metrics-flume-sink</flume-sink.dir>
+ <kafka-sink.dir>${project.basedir}/../ambari-metrics-kafka-sink</kafka-sink.dir>
+ <python.ver>python >= 2.6</python.ver>
+@@ -53,7 +52,6 @@
+ <deb.dependency.list>${deb.python.ver},python-dev,gcc</deb.dependency.list>
+ <hadoop.sink.jar>ambari-metrics-hadoop-sink-with-common-${project.version}.jar</hadoop.sink.jar>
+ <storm.sink.jar>ambari-metrics-storm-sink-with-common-${project.version}.jar</storm.sink.jar>
+- <storm.sink.legacy.jar>ambari-metrics-storm-sink-legacy-with-common-${project.version}.jar</storm.sink.legacy.jar>
+ <flume.sink.jar>ambari-metrics-flume-sink-with-common-${project.version}.jar</flume.sink.jar>
+ <kafka.sink.jar>ambari-metrics-kafka-sink-with-common-${project.version}.jar</kafka.sink.jar>
+ </properties>
+@@ -423,14 +421,6 @@
+ </source>
+ </sources>
+ </mapping>
+- <mapping>
+- <directory>/usr/lib/storm/lib</directory>
+- <sources>
+- <source>
+- <location>${storm-sink-legacy.dir}/target/ambari-metrics-storm-sink-legacy-with-common-${project.version}.jar</location>
+- </source>
+- </sources>
+- </mapping>
+ <mapping>
+ <directory>/usr/lib/ambari-metrics-kafka-sink</directory>
+ <sources>
+@@ -1041,16 +1031,6 @@
+ <prefix>/usr/lib/storm/lib</prefix>
+ </mapper>
+ </data>
+- <data>
+- <src>${storm-sink-legacy.dir}/target/${storm.sink.legacy.jar}</src>
+- <type>file</type>
+- <mapper>
+- <type>perm</type>
+- <filemode>644</filemode>
+- <dirmode>755</dirmode>
+- <prefix>/usr/lib/storm/lib</prefix>
+- </mapper>
+- </data>
+
+ <!-- kafka sink -->
+
+@@ -1357,11 +1337,6 @@
+ <artifactId>ambari-metrics-storm-sink</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+- <dependency>
+- <groupId>org.apache.ambari</groupId>
+- <artifactId>ambari-metrics-storm-sink-legacy</artifactId>
+- <version>${project.version}</version>
+- </dependency>
+ <dependency>
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-metrics-kafka-sink</artifactId>
+diff --git a/ambari-metrics/ambari-metrics-assembly/src/main/assembly/sink-windows.xml b/ambari-metrics/ambari-metrics-assembly/src/main/assembly/sink-windows.xml
+index 14b49b2b..5698a3b8 100644
+--- a/ambari-metrics/ambari-metrics-assembly/src/main/assembly/sink-windows.xml
++++ b/ambari-metrics/ambari-metrics-assembly/src/main/assembly/sink-windows.xml
+@@ -61,10 +61,6 @@
+ <source>${storm-sink.dir}/target/ambari-metrics-storm-sink-with-common-${project.version}.jar</source>
+ <outputDirectory>hadoop-sink</outputDirectory>
+ </file>
+- <file>
+- <source>${storm-sink-legacy.dir}/target/ambari-metrics-storm-sink-legacy-with-common-${project.version}.jar</source>
+- <outputDirectory>hadoop-sink</outputDirectory>
+- </file>
+ <file>
+ <source>${kafka-sink.dir}/target/ambari-metrics-kafka-sink-with-common-${project.version}.jar</source>
+ <outputDirectory>hadoop-sink</outputDirectory>
+diff --git a/ambari-metrics/ambari-metrics-assembly/src/main/assembly/sink.xml b/ambari-metrics/ambari-metrics-assembly/src/main/assembly/sink.xml
+index 34cdbc38..ac9f4ac8 100644
+--- a/ambari-metrics/ambari-metrics-assembly/src/main/assembly/sink.xml
++++ b/ambari-metrics/ambari-metrics-assembly/src/main/assembly/sink.xml
+@@ -64,11 +64,6 @@
+ <source>${storm-sink.dir}/target/ambari-metrics-storm-sink-with-common-${project.version}.jar</source>
+ <outputDirectory>hadoop-sink</outputDirectory>
+ </file>
+- <file>
+- <fileMode>644</fileMode>
+- <source>${storm-sink-legacy.dir}/target/ambari-metrics-storm-sink-legacy-with-common-${project.version}.jar</source>
+- <outputDirectory>hadoop-sink</outputDirectory>
+- </file>
+ <file>
+ <fileMode>644</fileMode>
+ <source>${kafka-sink.dir}/target/ambari-metrics-kafka-sink-with-common-${project.version}.jar</source>
+diff --git a/ambari-metrics/ambari-metrics-storm-sink-legacy/src/main/java/org/apache/hadoop/metrics2/sink/storm/StormTimelineMetricsReporter.java b/ambari-metrics/ambari-metrics-storm-sink-legacy/src/main/java/org/apache/hadoop/metrics2/sink/storm/StormTimelineMetricsReporter.java
+index 842fad8f..9ed8bfeb 100644
+--- a/ambari-metrics/ambari-metrics-storm-sink-legacy/src/main/java/org/apache/hadoop/metrics2/sink/storm/StormTimelineMetricsReporter.java
++++ b/ambari-metrics/ambari-metrics-storm-sink-legacy/src/main/java/org/apache/hadoop/metrics2/sink/storm/StormTimelineMetricsReporter.java
+@@ -34,12 +34,10 @@ import org.apache.hadoop.metrics2.sink.timeline.UnableToConnectException;
+ import backtype.storm.generated.ClusterSummary;
+ import backtype.storm.generated.SupervisorSummary;
+ import backtype.storm.generated.TopologySummary;
+-import backtype.storm.metric.IClusterReporter;
+ import backtype.storm.utils.NimbusClient;
+ import backtype.storm.utils.Utils;
+
+-public class StormTimelineMetricsReporter extends AbstractTimelineMetricsSink
+- implements IClusterReporter {
++public class StormTimelineMetricsReporter extends AbstractTimelineMetricsSink {
+
+ public static final String METRICS_COLLECTOR_CATEGORY = "metrics_collector";
+ public static final String APP_ID = "appId";
+@@ -113,7 +111,6 @@ public class StormTimelineMetricsReporter extends AbstractTimelineMetricsSink
+ return hostInMemoryAggregationProtocol;
+ }
+
+- @Override
+ public void prepare(Map conf) {
+ LOG.info("Preparing Storm Metrics Reporter");
+ try {
+diff --git a/ambari-metrics/ambari-metrics-timelineservice/pom.xml b/ambari-metrics/ambari-metrics-timelineservice/pom.xml
+index f8e34490..6311107c 100644
+--- a/ambari-metrics/ambari-metrics-timelineservice/pom.xml
++++ b/ambari-metrics/ambari-metrics-timelineservice/pom.xml
+@@ -323,7 +323,7 @@
+ <dependency>
+ <groupId>org.apache.zookeeper</groupId>
+ <artifactId>zookeeper</artifactId>
+- <version>3.4.5.1.3.0.0-107</version>
++ <version>3.4.5</version>
+ <exclusions>
+ <exclusion>
+ <artifactId>jline</artifactId>
+@@ -852,7 +852,7 @@
+ <dependency>
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-utility</artifactId>
+- <version>1.0.0.0-SNAPSHOT</version>
++ <version>2.7.5.0.0</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+diff --git a/ambari-metrics/pom.xml b/ambari-metrics/pom.xml
+index 1c499b1a..dd682fd2 100644
+--- a/ambari-metrics/pom.xml
++++ b/ambari-metrics/pom.xml
+@@ -28,7 +28,6 @@
+ <module>ambari-metrics-flume-sink</module>
+ <module>ambari-metrics-kafka-sink</module>
+ <module>ambari-metrics-storm-sink</module>
+- <module>ambari-metrics-storm-sink-legacy</module>
+ <module>ambari-metrics-timelineservice</module>
+ <module>ambari-metrics-host-monitoring</module>
+ <module>ambari-metrics-grafana</module>
+@@ -71,18 +70,6 @@
+ <url>${distMgmtSnapshotsUrl}</url>
+ </snapshotRepository>
+ </distributionManagement>
+- <repositories>
+- <repository>
+- <id>apache-hadoop</id>
+- <name>hdp</name>
+- <url>https://repo.hortonworks.com/content/groups/public/</url>
+- </repository>
+- <repository>
+- <id>apache-snapshots</id>
+- <name>snapshots</name>
+- <url>https://repository.apache.org/content/repositories/snapshots</url>
+- </repository>
+- </repositories>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+@@ -323,7 +310,7 @@
+ <dependency>
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-utility</artifactId>
+- <version>1.0.0.0-SNAPSHOT</version>
++ <version>2.7.5.0.0</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+@@ -338,7 +325,7 @@
+ <dependency>
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-utility</artifactId>
+- <version>1.0.0.0-SNAPSHOT</version>
++ <version>2.7.5.0.0</version>
+ </dependency>
+ </dependencies>
+ </profile>
+diff --git a/ambari-project/pom.xml b/ambari-project/pom.xml
+index e2010e37..62efdea5 100644
+--- a/ambari-project/pom.xml
++++ b/ambari-project/pom.xml
+@@ -705,7 +705,7 @@
+ <dependency>
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-utility</artifactId>
+- <version>1.0.0.0-SNAPSHOT</version>
++ <version>2.7.5.0.0</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+diff --git a/ambari-server/pom.xml b/ambari-server/pom.xml
+index 899c2641..d159e2ec 100644
+--- a/ambari-server/pom.xml
++++ b/ambari-server/pom.xml
+@@ -1776,7 +1776,7 @@
+ <dependency>
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-serviceadvisor</artifactId>
+- <version>1.0.0.0-SNAPSHOT</version>
++ <version>2.7.5.0.0</version>
+ <exclusions>
+ <exclusion>
+ <groupId>commons-httpclient</groupId>
+@@ -1789,7 +1789,7 @@
+ <dependency>
+ <groupId>org.apache.ambari</groupId>
+ <artifactId>ambari-utility</artifactId>
+- <version>1.0.0.0-SNAPSHOT</version>
++ <version>2.7.5.0.0</version>
+ <scope>provided</scope> <!-- for @ApiIgnore -->
+ <exclusions>
+ <exclusion>
+diff --git a/ambari-server/pom.xml.orig b/ambari-server/pom.xml.orig
Review comment:
This patch seems unnecessary. Also, would you rename this file to a more explict/descriptive one? (and when renaming, note that Bigtop sorts patches in alphabetical order before applying)
--
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.
To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [bigtop] sekikn commented on pull request #870: BIGTOP-3649: Fix Nexus local mirror functionality
Posted by GitBox <gi...@apache.org>.
sekikn commented on pull request #870:
URL: https://github.com/apache/bigtop/pull/870#issuecomment-1064794361
Merged into master and branch-3.0. Thanks a lot @cheelio!
--
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.
To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org