Fix NPE in LoadBalancer that I added with my commit of HBASE-2979
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@997510 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
fb42084ba9
commit
eecc426f78
|
@ -591,7 +591,8 @@ public class LoadBalancer {
|
|||
@Override
|
||||
public String toString() {
|
||||
return "hri=" + this.hri.getRegionNameAsString() + ", src=" +
|
||||
this.source.getServerName() + ", dest=" + this.dest.getServerName();
|
||||
(this.source == null? "": this.source.getServerName()) +
|
||||
", dest=" + this.dest.getServerName();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue