Skip to content

Commit ddbad74

Browse files
HBASE-29132 [REST] Add missing Query Parameters to the trace log in TableResource (#6704)
Signed-off-by: Pankaj Kumar <[email protected]> Signed-off-by: Dávid Paksy <[email protected]>
1 parent b8d803c commit ddbad74

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/TableResource.java

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -147,12 +147,11 @@ public TableScanResource getScanResource(final @PathParam("scanspec") String sca
147147
tableScan.withStartRow(prefixBytes, includeStartRow);
148148
}
149149
}
150-
if (LOG.isTraceEnabled()) {
151-
LOG.trace("Query parameters : Table Name = > " + this.table + " Start Row => " + startRow
152-
+ " End Row => " + endRow + " Columns => " + column + " Start Time => " + startTime
153-
+ " End Time => " + endTime + " Cache Blocks => " + cacheBlocks + " Max Versions => "
154-
+ maxVersions + " Batch Size => " + batchSize);
155-
}
150+
LOG.trace(
151+
"Query parameters : Table Name = > {} Start Row => {} End Row => {} Columns => {} Start Time => {} End Time => {} Cache Blocks => {} Max Versions => {} Batch Size => {} Reversed => {} LIMIT => {} FILTER => {} FILTER_B64 => {} Include Start Row => {} Include Stop Row => {}",
152+
this.table, startRow, endRow, column, startTime, endTime, cacheBlocks, maxVersions,
153+
batchSize, reversed, userRequestedLimit, paramFilter, paramFilterB64, includeStartRow,
154+
includeStopRow);
156155
Table hTable = RESTServlet.getInstance().getTable(this.table);
157156
tableScan.setBatch(batchSize);
158157
tableScan.readVersions(maxVersions);

0 commit comments

Comments
 (0)