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

Reviewed-by: Tamanna Mehta
Signed-off-by: Viraj Jasani <vjasani@apache.org>
(cherry picked from commit 528f543e23)
This commit is contained in:
Bharath Vissapragada 2021-05-30 21:06:57 -07:00
parent a43afa3576
commit cc1e19879d
No known key found for this signature in database
GPG Key ID: 18AE42A0B5A93FA7
1 changed files with 1 additions and 1 deletions

View File

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