ndimiduk commented on pull request #3445:
URL: https://github.com/apache/hadoop/pull/3445#issuecomment-966523434
This isn't right, but it's along the path,
```
diff --git a/hadoop-client-modules/hadoop-client/pom.xml
b/hadoop-client-modules/hadoop-client/pom.xml
index dced359b286..82f38cc77ec 100644
--- a/hadoop-client-modules/hadoop-client/pom.xml
+++ b/hadoop-client-modules/hadoop-client/pom.xml
@@ -98,6 +98,10 @@
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>io.opentelemetry.javaagent</groupId>
+ <artifactId>opentelemetry-javaagent</artifactId>
+ </exclusion>
</exclusions>
</dependency>
diff --git a/hadoop-common-project/hadoop-common/pom.xml
b/hadoop-common-project/hadoop-common/pom.xml
index 969a9a751d4..42fe7747bb3 100644
--- a/hadoop-common-project/hadoop-common/pom.xml
+++ b/hadoop-common-project/hadoop-common/pom.xml
@@ -380,6 +380,12 @@
<artifactId>opentelemetry-api</artifactId>
<version>${opentelemetry.version}</version>
</dependency>
+ <dependency>
+ <groupId>io.opentelemetry.javaagent</groupId>
+ <artifactId>opentelemetry-javaagent</artifactId>
+ <version>${opentelemetry-agent.version}</version>
+ <classifier>all</classifier>
+ </dependency>
</dependencies>
<build>
diff --git a/hadoop-project/pom.xml b/hadoop-project/pom.xml
index 76f39bf8590..1486ff8ef33 100644
--- a/hadoop-project/pom.xml
+++ b/hadoop-project/pom.xml
@@ -214,6 +214,7 @@
<apache-ant.version>1.10.11</apache-ant.version>
<opentelemetry.version>1.3.0</opentelemetry.version>
<opentelemetry-instrumentation.version>1.3.0</opentelemetry-instrumentation.version>
+ <opentelemetry-agent.version>1.0.1</opentelemetry-agent.version>
</properties>
<dependencyManagement>
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]