HBASE-25942: Get rid of null regioninfo in wrapped connection exceptions (#3337)

Reviewed-by: Tamanna Mehta
Signed-off-by: Viraj Jasani <vjasani@apache.org>
This commit is contained in:
Bharath Vissapragada 2021-05-30 21:06:57 -07:00 committed by GitHub
parent f2ff816532
commit 528f543e23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ class IPCUtil {
private static String getCallTarget(Address addr, RegionInfo regionInfo) {
return "address=" + addr +
(regionInfo != null? ", region=" + regionInfo.getRegionNameAsString(): null);
(regionInfo != null? ", region=" + regionInfo.getRegionNameAsString(): "");
}
/**