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 8ec99de486..fcd22c8ed6 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 @@ public int hashCode() { this.config = config; this.clientCache = CacheBuilder.newBuilder() .maximumSize(clientCache) - .removalListener(clientRemovealListener()) + .removalListener(clientRemovalListener()) .build(clientLoader()); this.inputstreamCache = CacheBuilder.newBuilder() @@ -127,7 +127,7 @@ public DFSClient run() throws IOException { }; } - 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 363f0a3185..ea98d315f2 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -716,6 +716,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