This is an automated email from the ASF dual-hosted git repository.
chandra pushed a commit to branch branch-2
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2 by this push:
new 230385fdadd HBASE-29132 [REST] Add missing Query Parameters to the
trace log in TableResource (#6725)(#6704)
230385fdadd is described below
commit 230385fdaddd5e20798e070b37be23120fb56de9
Author: Chandra Sekhar K <[email protected]>
AuthorDate: Tue Nov 18 09:00:21 2025 +0530
HBASE-29132 [REST] Add missing Query Parameters to the trace log in
TableResource (#6725)(#6704)
Signed-off-by: Pankaj Kumar <[email protected]>
Signed-off-by: Dávid Paksy <[email protected]>
(cherry picked from commit 17a8bcabd173b880ba57a910cc79bf2eeaa0beac)
---
.../main/java/org/apache/hadoop/hbase/rest/TableResource.java | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git
a/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/TableResource.java
b/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/TableResource.java
index 61d517848b4..15e55939363 100644
--- a/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/TableResource.java
+++ b/hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/TableResource.java
@@ -147,12 +147,11 @@ public class TableResource extends ResourceBase {
tableScan.withStartRow(prefixBytes, includeStartRow);
}
}
- if (LOG.isTraceEnabled()) {
- LOG.trace("Query parameters : Table Name = > " + this.table + " Start
Row => " + startRow
- + " End Row => " + endRow + " Columns => " + column + " Start Time
=> " + startTime
- + " End Time => " + endTime + " Cache Blocks => " + cacheBlocks + "
Max Versions => "
- + maxVersions + " Batch Size => " + batchSize);
- }
+ LOG.trace(
+ "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 => {}",
+ this.table, startRow, endRow, column, startTime, endTime, cacheBlocks,
maxVersions,
+ batchSize, reversed, userRequestedLimit, paramFilter, paramFilterB64,
includeStartRow,
+ includeStopRow);
Table hTable = RESTServlet.getInstance().getTable(this.table);
tableScan.setBatch(batchSize);
tableScan.setMaxVersions(maxVersions);