HDFS-7675. Remove unused member DFSClient.spanReceiverHost (cmccabe)
(cherry picked from commit d12dd47f45
)
This commit is contained in:
parent
3ac8f88989
commit
ad865b1cd0
|
@ -271,6 +271,8 @@ Release 2.7.0 - UNRELEASED
|
||||||
HDFS-7683. Combine usages and percent stats in NameNode UI.
|
HDFS-7683. Combine usages and percent stats in NameNode UI.
|
||||||
(Vinayakumar B via wheat9)
|
(Vinayakumar B via wheat9)
|
||||||
|
|
||||||
|
HDFS-7675. Remove unused member DFSClient#spanReceiverHost (cmccabe)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
HDFS-7454. Reduce memory footprint for AclEntries in NameNode.
|
HDFS-7454. Reduce memory footprint for AclEntries in NameNode.
|
||||||
|
|
|
@ -282,7 +282,6 @@ public class DFSClient implements java.io.Closeable, RemotePeerFactory,
|
||||||
private static ThreadPoolExecutor HEDGED_READ_THREAD_POOL;
|
private static ThreadPoolExecutor HEDGED_READ_THREAD_POOL;
|
||||||
@VisibleForTesting
|
@VisibleForTesting
|
||||||
KeyProvider provider;
|
KeyProvider provider;
|
||||||
private final SpanReceiverHost spanReceiverHost;
|
|
||||||
private final Sampler<?> traceSampler;
|
private final Sampler<?> traceSampler;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -627,7 +626,7 @@ public class DFSClient implements java.io.Closeable, RemotePeerFactory,
|
||||||
public DFSClient(URI nameNodeUri, ClientProtocol rpcNamenode,
|
public DFSClient(URI nameNodeUri, ClientProtocol rpcNamenode,
|
||||||
Configuration conf, FileSystem.Statistics stats)
|
Configuration conf, FileSystem.Statistics stats)
|
||||||
throws IOException {
|
throws IOException {
|
||||||
spanReceiverHost = SpanReceiverHost.getInstance(conf);
|
SpanReceiverHost.getInstance(conf);
|
||||||
traceSampler = TraceSamplerFactory.createSampler(conf);
|
traceSampler = TraceSamplerFactory.createSampler(conf);
|
||||||
// Copy only the required DFSClient configuration
|
// Copy only the required DFSClient configuration
|
||||||
this.dfsClientConf = new Conf(conf);
|
this.dfsClientConf = new Conf(conf);
|
||||||
|
|
Loading…
Reference in New Issue