This is an automated email from the ASF dual-hosted git repository.

zhangduo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/master by this push:
     new 763ed36f47a HBASE-29486 Add deprecation cycle for traceRate field in 
PerformanceEvaluation (#7211)
763ed36f47a is described below

commit 763ed36f47ab716a240c66e32aee701189236fb8
Author: Duo Zhang <[email protected]>
AuthorDate: Sun Aug 10 21:48:59 2025 +0800

    HBASE-29486 Add deprecation cycle for traceRate field in 
PerformanceEvaluation (#7211)
    
    Co-authored-by: Copilot <[email protected]>
    
    Signed-off-by: Nihal Jain <[email protected]>
---
 .../main/java/org/apache/hadoop/hbase/PerformanceEvaluation.java    | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/hbase-diagnostics/src/main/java/org/apache/hadoop/hbase/PerformanceEvaluation.java
 
b/hbase-diagnostics/src/main/java/org/apache/hadoop/hbase/PerformanceEvaluation.java
index 3af33f8a834..0f10765b279 100644
--- 
a/hbase-diagnostics/src/main/java/org/apache/hadoop/hbase/PerformanceEvaluation.java
+++ 
b/hbase-diagnostics/src/main/java/org/apache/hadoop/hbase/PerformanceEvaluation.java
@@ -748,7 +748,7 @@ public class PerformanceEvaluation extends Configured 
implements Tool {
     int measureAfter = 0;
     float sampleRate = 1.0f;
     /**
-     * @deprecated Useless after switching to OpenTelemetry
+     * @deprecated Since 3.0.0, will be removed in 4.0.0. Useless after 
switching to OpenTelemetry
      */
     @Deprecated
     double traceRate = 0.0;
@@ -2739,8 +2739,8 @@ public class PerformanceEvaluation extends Configured 
implements Tool {
     System.err.println(" period          Report every 'period' rows: "
       + "Default: opts.perClientRunRows / 10 = " + 
DEFAULT_OPTS.getPerClientRunRows() / 10);
     System.err.println(" cycles          How many times to cycle the test. 
Defaults: 1.");
-    System.err.println(
-      " traceRate       Enable HTrace spans. Initiate tracing every N rows. " 
+ "Default: 0");
+    System.err.println(" traceRate       Legacy option for enabling HTrace, no 
effect now."
+      + " Will be removed in 4.0.0 release. Default: 0");
     System.err.println(" latency         Set to report operation latencies. 
Default: False");
     System.err.println(" latencyThreshold  Set to report number of operations 
with latency "
       + "over lantencyThreshold, unit in millisecond, default 0");

Reply via email to