This is an automated email from the ASF dual-hosted git repository.
vogievetsky pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git
The following commit(s) were added to refs/heads/master by this push:
new 9eb20e5e7c Remove dependency on jvm-attach. (#12989)
9eb20e5e7c is described below
commit 9eb20e5e7cffb4064b405085979f679ccb246048
Author: Gian Merlino <[email protected]>
AuthorDate: Mon Aug 29 14:18:33 2022 -0700
Remove dependency on jvm-attach. (#12989)
This dependency was no longer needed after #12481, but remained because
it was used for a (now useless) test. This patch removes the test and
the dependency.
---
core/pom.xml | 4 ---
.../apache/druid/java/util/metrics/GcNameTest.java | 33 ----------------------
licenses.yaml | 10 -------
pom.xml | 5 ----
4 files changed, 52 deletions(-)
diff --git a/core/pom.xml b/core/pom.xml
index a0f96fc2f3..d588045cf5 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -276,10 +276,6 @@
dependency are copied as resources. See maven-dependency-plugin
configuration and <resources> below. -->
<scope>provided</scope>
</dependency>
- <dependency>
- <groupId>org.gridkit.lab</groupId>
- <artifactId>jvm-attach-api</artifactId>
- </dependency>
<!-- Extra dependency for http-client -->
<dependency>
diff --git
a/core/src/test/java/org/apache/druid/java/util/metrics/GcNameTest.java
b/core/src/test/java/org/apache/druid/java/util/metrics/GcNameTest.java
deleted file mode 100644
index 7574b9c817..0000000000
--- a/core/src/test/java/org/apache/druid/java/util/metrics/GcNameTest.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-package org.apache.druid.java.util.metrics;
-
-import org.gridkit.lab.jvm.perfdata.JStatData;
-
-public class GcNameTest
-{
-
- public static void main(String[] args)
- {
- JStatData jStatData = JStatData.connect(SigarUtil.getCurrentProcessId());
-
System.out.println(jStatData.getAllCounters().get("sun.gc.collector.0.name").getValue());
-
System.out.println(jStatData.getAllCounters().get("sun.gc.collector.1.name").getValue());
- }
-}
diff --git a/licenses.yaml b/licenses.yaml
index 426dab2da0..50cddbdbba 100644
--- a/licenses.yaml
+++ b/licenses.yaml
@@ -2160,16 +2160,6 @@ notice: |
---
-name: JVM Attach API
-license_category: binary
-module: java-core
-license_name: Apache License version 2.0
-version: 1.5
-libraries:
- - org.gridkit.lab: jvm-attach-api
-
----
-
name: Hibernate Validator Engine
license_category: binary
module: java-core
diff --git a/pom.xml b/pom.xml
index df3cb2562c..5f5f6d59d9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -841,11 +841,6 @@
<!-- Uses Netty 4.1.x -->
<version>2.5.3</version>
</dependency>
- <dependency>
- <groupId>org.gridkit.lab</groupId>
- <artifactId>jvm-attach-api</artifactId>
- <version>1.5</version>
- </dependency>
<dependency>
<groupId>net.java.dev.jna</groupId>
<artifactId>jna</artifactId>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]