HBASE-682 Regularize toString
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@667296 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4a04330d7f
commit
43841d04f0
|
@ -339,12 +339,14 @@ public class HRegionInfo implements WritableComparable {
|
|||
*/
|
||||
@Override
|
||||
public String toString() {
|
||||
return "regionname: " + this.regionNameStr + ", startKey: <" +
|
||||
Bytes.toString(this.startKey) + ">, endKey: <" +
|
||||
return "REGION => {" + HColumnDescriptor.NAME + " => '" +
|
||||
this.regionNameStr +
|
||||
"', STARTKEY => '" +
|
||||
Bytes.toString(this.startKey) + "', ENDKEY => '" +
|
||||
Bytes.toString(this.endKey) +
|
||||
">, encodedName: " + getEncodedName() + "," +
|
||||
(isOffline()? " offline: true,": "") + (isSplit()? " split: true,": "") +
|
||||
" tableDesc: {" + this.tableDesc.toString() + "}";
|
||||
"', ENCODED => " + getEncodedName() + "," +
|
||||
(isOffline()? " OFFLINE => true,": "") + (isSplit()? " SPLIT => true,": "") +
|
||||
" TABLE => {" + this.tableDesc.toString() + "}";
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue