From db3ed5df521ece57f3047aa1b765b48442c1115d Mon Sep 17 00:00:00 2001 From: Brandon Li Date: Thu, 21 Nov 2013 23:59:22 +0000 Subject: [PATCH] HDFS-5407. Merging change r1544362 from trunk git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1544378 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/hadoop/hdfs/nfs/nfs3/DFSClientCache.java | 4 ++-- hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs-nfs/src/main/java/org/apache/hadoop/hdfs/nfs/nfs3/DFSClientCache.java b/hadoop-hdfs-project/hadoop-hdfs-nfs/src/main/java/org/apache/hadoop/hdfs/nfs/nfs3/DFSClientCache.java index 8ec99de4860..fcd22c8ed61 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-nfs/src/main/java/org/apache/hadoop/hdfs/nfs/nfs3/DFSClientCache.java +++ b/hadoop-hdfs-project/hadoop-hdfs-nfs/src/main/java/org/apache/hadoop/hdfs/nfs/nfs3/DFSClientCache.java @@ -99,7 +99,7 @@ class DFSClientCache { this.config = config; this.clientCache = CacheBuilder.newBuilder() .maximumSize(clientCache) - .removalListener(clientRemovealListener()) + .removalListener(clientRemovalListener()) .build(clientLoader()); this.inputstreamCache = CacheBuilder.newBuilder() @@ -127,7 +127,7 @@ class DFSClientCache { }; } - private RemovalListener clientRemovealListener() { + private RemovalListener clientRemovalListener() { return new RemovalListener() { @Override public void onRemoval(RemovalNotification notification) { diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index c3dca7bc2f1..913d49fac8c 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -313,6 +313,8 @@ Release 2.2.1 - UNRELEASED HDFS-5288. Close idle connections in portmap (Haohui Mai via brandonli) + HDFS-5407. Fix typos in DFSClientCache (Haohui Mai via brandonli) + Release 2.2.0 - 2013-10-13 INCOMPATIBLE CHANGES