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:
parent
a43afa3576
commit
cc1e19879d
|
@ -162,7 +162,7 @@ class IPCUtil {
|
||||||
|
|
||||||
private static String getCallTarget(InetSocketAddress addr, RegionInfo regionInfo) {
|
private static String getCallTarget(InetSocketAddress addr, RegionInfo regionInfo) {
|
||||||
return "address=" + addr +
|
return "address=" + addr +
|
||||||
(regionInfo != null? ", region=" + regionInfo.getRegionNameAsString(): null);
|
(regionInfo != null? ", region=" + regionInfo.getRegionNameAsString(): "");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue