Skip to content

Commit 83bd41b

Browse files
committed
Fix TraceScope NPE.
Change-Id: I1c9c0a02ed0752a40e32f9e9519b48e7ca046102
1 parent 7115681 commit 83bd41b

File tree

1 file changed

+1
-0
lines changed
  • hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/tracing

1 file changed

+1
-0
lines changed

hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/tracing/TraceScope.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ public class TraceScope implements Closeable {
2323
Span span;
2424

2525
public TraceScope(Span span) {
26+
this.span = span;
2627
}
2728

2829
// Add tag to the span

0 commit comments

Comments
 (0)