Repository: hadoop Updated Branches: refs/heads/trunk ee1e06a3a -> d12dd47f4
HDFS-7675. Remove unused member DFSClient.spanReceiverHost (cmccabe) Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/d12dd47f Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/d12dd47f Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/d12dd47f Branch: refs/heads/trunk Commit: d12dd47f4516fe125221ae073f1bc88b702b122f Parents: ee1e06a 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:02 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/d12dd47f/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 1f036b8..973f2f0 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -554,6 +554,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/d12dd47f/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 8512156..b4d541e 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 @@ -275,7 +275,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; /** @@ -620,7 +619,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);
