Skip to content

Commit 73759be

Browse files
authored
HBASE-27296 Some Cell's implementation of toString() such as IndividualBytesFieldCell prints out value and tags which is too verbose (#4695)
Signed-off-by: Nick Dimiduk <[email protected]>
1 parent 97fb5cc commit 73759be

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

hbase-common/src/main/java/org/apache/hadoop/hbase/ByteBufferKeyValue.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ public void write(ByteBuffer buf, int offset) {
294294

295295
@Override
296296
public String toString() {
297-
return CellUtil.toString(this, true);
297+
return CellUtil.toString(this, false);
298298
}
299299

300300
@Override

hbase-common/src/main/java/org/apache/hadoop/hbase/IndividualBytesFieldCell.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,6 @@ public void setTimestamp(byte[] ts) {
288288

289289
@Override
290290
public String toString() {
291-
return CellUtil.toString(this, true);
291+
return CellUtil.toString(this, false);
292292
}
293293
}

hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/HFileReaderImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1510,7 +1510,7 @@ public Cell getCell() {
15101510

15111511
@Override
15121512
public String getKeyString() {
1513-
return CellUtil.toString(getKey(), true);
1513+
return CellUtil.toString(getKey(), false);
15141514
}
15151515

15161516
@Override

0 commit comments

Comments
 (0)