Repository: hadoop Updated Branches: refs/heads/branch-2 3ac8f8898 -> ad865b1cd
HDFS-7675. Remove unused member DFSClient.spanReceiverHost (cmccabe) (cherry picked from commit d12dd47f4516fe125221ae073f1bc88b702b122f) Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/ad865b1c Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/ad865b1c Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/ad865b1c Branch: refs/heads/branch-2 Commit: ad865b1cd0526e39e190cf837629a2888a38478b Parents: 3ac8f88 Author: Colin Patrick Mccabe <[email protected]> Authored: Tue Jan 27 17:04:20 2015 -0800 Committer: Colin Patrick Mccabe <[email protected]> Committed: Tue Jan 27 20:52:53 2015 -0800 ---------------------------------------------------------------------- hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt | 2 ++ .../src/main/java/org/apache/hadoop/hdfs/DFSClient.java | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/ad865b1c/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt ---------------------------------------------------------------------- diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index 2c73143..77e7bb3 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -271,6 +271,8 @@ Release 2.7.0 - UNRELEASED HDFS-7683. Combine usages and percent stats in NameNode UI. (Vinayakumar B via wheat9) + HDFS-7675. Remove unused member DFSClient#spanReceiverHost (cmccabe) + OPTIMIZATIONS HDFS-7454. Reduce memory footprint for AclEntries in NameNode. http://git-wip-us.apache.org/repos/asf/hadoop/blob/ad865b1c/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSClient.java ---------------------------------------------------------------------- diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSClient.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSClient.java index c130d2f..9102430 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSClient.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSClient.java @@ -282,7 +282,6 @@ public class DFSClient implements java.io.Closeable, RemotePeerFactory, private static ThreadPoolExecutor HEDGED_READ_THREAD_POOL; @VisibleForTesting KeyProvider provider; - private final SpanReceiverHost spanReceiverHost; private final Sampler<?> traceSampler; /** @@ -627,7 +626,7 @@ public class DFSClient implements java.io.Closeable, RemotePeerFactory, public DFSClient(URI nameNodeUri, ClientProtocol rpcNamenode, Configuration conf, FileSystem.Statistics stats) throws IOException { - spanReceiverHost = SpanReceiverHost.getInstance(conf); + SpanReceiverHost.getInstance(conf); traceSampler = TraceSamplerFactory.createSampler(conf); // Copy only the required DFSClient configuration this.dfsClientConf = new Conf(conf);
