-
Couldn't load subscription status.
- Fork 9.1k
HADOOP-17424. Replace HTrace with No-Op tracer #3520
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HADOOP-17424. Replace HTrace with No-Op tracer #3520
Conversation
|
htrace-core-3.1.0-incubating is bundled as transitive dependency of hadoop-yarn-server-timelineservice-hbase while it does not appear in the regular classpath. |
|
💔 -1 overall
This message was automatically generated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's a few checkstyles, but I don't want to diverge from what's in trunk. The only changes I'd recommend is purging those unused imports, as they only complicate further backports (especially the .thirdparty guava)
./hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FsTracer.java:20:import org.apache.hadoop.thirdparty.com.google.common.annotations.VisibleForTesting;:8: Unused import - org.apache.hadoop.thirdparty.com.google.common.annotations.VisibleForTesting. [UnusedImports]
./hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/tracing/Tracer.java:25: private static final Tracer globalTracer = null;:31: Name 'globalTracer' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'. [ConstantName]
./hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/tracing/Tracer.java:80: static Tracer globalTracer;:19: Variable 'globalTracer' must be private and have accessor methods. [VisibilityModifier]
./hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/tracing/TraceScope.java:23: Span span;:8: Variable 'span' must be private and have accessor methods. [VisibilityModifier]
./hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DFSPacket.java:304: public void addTraceParent(Span span) {:35: 'span' hides a field. [HiddenField]
./hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocol/datatransfer/Receiver.java:35:import org.apache.hadoop.hdfs.protocol.proto.DataTransferProtos.DataTransferTraceInfoProto;:8: Unused import - org.apache.hadoop.hdfs.protocol.proto.DataTransferProtos.DataTransferTraceInfoProto. [UnusedImports]
+1 pending the import tuning
|
💔 -1 overall
This message was automatically generated. |
(cherry picked from commit 1a205cc) Conflicts: hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DataStreamer.java hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataNode.java hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/tracing/TestTracing.java
f7d078e to
8ddf763
Compare
|
rebased. |
|
💔 -1 overall
This message was automatically generated. |
|
Test failures are not related to the patch and not reproducible on my local. |
|
I'm merging this based on the +1 of @steveloughran. |
(cherry picked from commit 1a205cc) Conflicts: hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DataStreamer.java hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataNode.java hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/tracing/TestTracing.java Co-authored-by: Siyao Meng <[email protected]>
this is backport to branch-3.3 of HADOOP-17424.