javeme commented on code in PR #1864:
URL:
https://github.com/apache/incubator-hugegraph/pull/1864#discussion_r867663309
##########
hugegraph-hbase/src/main/java/com/baidu/hugegraph/backend/store/hbase/HbaseSessions.java:
##########
@@ -793,18 +798,17 @@ public long storeSize(String table) throws IOException {
*/
@SuppressWarnings("unused")
private void dump(String table, Scan scan) throws IOException {
- System.out.println(String.format(">>>> scan table %s with %s",
- table, scan));
+ LOG.info(String.format(">>>> scan table {} with {}", table, scan));
RowIterator iterator = this.scan(table, scan);
while (iterator.hasNext()) {
Result row = iterator.next();
- System.out.println(StringEncoding.format(row.getRow()));
+ LOG.info(StringEncoding.format(row.getRow()));
CellScanner cellScanner = row.cellScanner();
while (cellScanner.advance()) {
Cell cell = cellScanner.current();
byte[] key = CellUtil.cloneQualifier(cell);
byte[] val = CellUtil.cloneValue(cell);
- System.out.println(String.format(" %s=%s",
+ LOG.info(String.format(" {}={}",
Review Comment:
remove String.format and update alignment
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]