From 82d0e820d0cf8f076f968a9031fd52776d815a0a Mon Sep 17 00:00:00 2001 From: Brandon Li Date: Thu, 21 Nov 2013 23:08:40 +0000 Subject: [PATCH] HDFS-5407. Fix typos in DFSClientCache. Contributed by Haohui Mai git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1544362 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 363f0a31856..ea98d315f2c 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