HBASE-18225 Avoid toString() on an array
This commit is contained in:
parent
7c15e57005
commit
2ef80ab39a
|
@ -2808,7 +2808,7 @@ public class RSRpcServices implements HBaseRPCErrorHandler,
|
||||||
// Yes, should be the same instance
|
// Yes, should be the same instance
|
||||||
if (regionServer.getOnlineRegion(hri.getRegionName()) != rsh.r) {
|
if (regionServer.getOnlineRegion(hri.getRegionName()) != rsh.r) {
|
||||||
String msg = "Region has changed on the scanner " + scannerName + ": regionName="
|
String msg = "Region has changed on the scanner " + scannerName + ": regionName="
|
||||||
+ hri.getRegionName() + ", scannerRegionName=" + rsh.r;
|
+ hri.getRegionNameAsString() + ", scannerRegionName=" + rsh.r;
|
||||||
LOG.warn(msg + ", closing...");
|
LOG.warn(msg + ", closing...");
|
||||||
scanners.remove(scannerName);
|
scanners.remove(scannerName);
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue