HBASE-18225 Avoid toString() on an array

This commit is contained in:
Josh Elser 2017-06-15 17:47:50 -07:00
parent c20d9cb1a2
commit c7a64a8313
1 changed files with 1 additions and 1 deletions

View File

@ -2808,7 +2808,7 @@ public class RSRpcServices implements HBaseRPCErrorHandler,
// Yes, should be the same instance
if (regionServer.getOnlineRegion(hri.getRegionName()) != rsh.r) {
String msg = "Region has changed on the scanner " + scannerName + ": regionName="
+ hri.getRegionName() + ", scannerRegionName=" + rsh.r;
+ hri.getRegionNameAsString() + ", scannerRegionName=" + rsh.r;
LOG.warn(msg + ", closing...");
scanners.remove(scannerName);
try {