You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by zh...@apache.org on 2025/01/13 12:32:21 UTC

(hbase) branch branch-2.6 updated (5bed0054318 -> ef3642cdd07)

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

zhangduo pushed a change to branch branch-2.6
in repository https://gitbox.apache.org/repos/asf/hbase.git


    from 5bed0054318 HBASE-29067 Stagger the nightly tests on jenkins (#6595)
     new f1d45b8fa09 HBASE-29040 Fix description of "sampleRate" of PerformanceEvaluation (#6558)
     new ef3642cdd07 HBASE-29067 Addendum fix syntax error

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 dev-support/Jenkinsfile                                              | 2 +-
 .../src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java | 5 ++---
 2 files changed, 3 insertions(+), 4 deletions(-)


(hbase) 01/02: HBASE-29040 Fix description of "sampleRate" of PerformanceEvaluation (#6558)

Posted by zh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit f1d45b8fa09aad509d621f633402b0ab24b0f38f
Author: Junegunn Choi <ju...@gmail.com>
AuthorDate: Mon Jan 13 20:41:00 2025 +0900

    HBASE-29040 Fix description of "sampleRate" of PerformanceEvaluation (#6558)
    
    Signed-off-by: Duo Zhang <zh...@apache.org>
    (cherry picked from commit 670deaa1d6020b1f603819504f95e016c1e06dbb)
---
 .../src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java b/hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java
index 83d339fefc7..a68070bf0b6 100644
--- a/hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java
+++ b/hbase-mapreduce/src/test/java/org/apache/hadoop/hbase/PerformanceEvaluation.java
@@ -1171,7 +1171,7 @@ public class PerformanceEvaluation extends Configured implements Tool {
       this.opts = options;
       this.status = status;
       this.testName = this.getClass().getSimpleName();
-      everyN = (long) (opts.totalRows / (opts.totalRows * opts.sampleRate));
+      everyN = (long) (1 / opts.sampleRate);
       if (options.isValueZipf()) {
         this.zipf =
           new RandomDistribution.Zipf(ThreadLocalRandom.current(), 1, options.getValueSize(), 1.2);
@@ -2675,8 +2675,7 @@ public class PerformanceEvaluation extends Configured implements Tool {
       + "Default: depend on oneCon parameter. if oneCon set to true, then connCount=1, "
       + "if not, connCount=thread number");
 
-    System.err.println(" sampleRate      Execute test on a sample of total "
-      + "rows. Only supported by randomRead. Default: 1.0");
+    System.err.println(" sampleRate      Execute test on a sample of total rows. Default: 1.0");
     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.");


(hbase) 02/02: HBASE-29067 Addendum fix syntax error

Posted by zh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit ef3642cdd072ea666fd455bd446ffc2a7968ba59
Author: Duo Zhang <zh...@apache.org>
AuthorDate: Mon Jan 13 20:31:26 2025 +0800

    HBASE-29067 Addendum fix syntax error
    
    (cherry picked from commit 1e740bcd0bd91290580bc759d89fe5bbac5029ed)
---
 dev-support/Jenkinsfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-support/Jenkinsfile b/dev-support/Jenkinsfile
index 5b9a08545ed..4e7fba68aa0 100644
--- a/dev-support/Jenkinsfile
+++ b/dev-support/Jenkinsfile
@@ -25,7 +25,7 @@ pipeline {
       pollSCM('H H 1-31/3 * *')
     } else if (env.BRANCH_NAME == 'branch-3') {
       pollSCM('H H 1-31/3 * *')
-    else if (env.BRANCH_NAME == 'branch-2') {
+    } else if (env.BRANCH_NAME == 'branch-2') {
       pollSCM('H H 2-31/3 * *')
     } else {
       pollSCM('H H 3-31/3 * *')