This is an automated email from the ASF dual-hosted git repository.

niuyulin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/master by this push:
     new 7466e08  HBASE-26008 Fix typo in AsyncConnectionImpl (#3391)
7466e08 is described below

commit 7466e08aec99b24d7317b9d760ae1f6933557d00
Author: niuyulin <[email protected]>
AuthorDate: Wed Jun 16 19:00:03 2021 +0800

    HBASE-26008 Fix typo in AsyncConnectionImpl (#3391)
    
    Signed-off-by: Duo Zhang <[email protected]>
---
 .../java/org/apache/hadoop/hbase/client/AsyncConnectionImpl.java     | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git 
a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncConnectionImpl.java
 
b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncConnectionImpl.java
index e5dc413..25a98ed 100644
--- 
a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncConnectionImpl.java
+++ 
b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncConnectionImpl.java
@@ -103,7 +103,8 @@ class AsyncConnectionImpl implements AsyncConnection {
   private final NonceGenerator nonceGenerator;
 
   private final ConcurrentMap<String, ClientService.Interface> rsStubs = new 
ConcurrentHashMap<>();
-  private final ConcurrentMap<String, AdminService.Interface> adminSubs = new 
ConcurrentHashMap<>();
+  private final ConcurrentMap<String, AdminService.Interface> adminStubs =
+      new ConcurrentHashMap<>();
 
   private final AtomicReference<MasterService.Interface> masterStub = new 
AtomicReference<>();
 
@@ -283,7 +284,7 @@ class AsyncConnectionImpl implements AsyncConnection {
   }
 
   AdminService.Interface getAdminStub(ServerName serverName) throws 
IOException {
-    return ConcurrentMapUtils.computeIfAbsentEx(adminSubs,
+    return ConcurrentMapUtils.computeIfAbsentEx(adminStubs,
       getStubKey(AdminService.getDescriptor().getName(), serverName),
       () -> createAdminServerStub(serverName));
   }

Reply via email to