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 2023/03/15 03:06:11 UTC

[hbase] branch branch-2 updated (6920e72f50b -> b5dcd48c643)

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

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


    from 6920e72f50b HBASE-27688 HFile splitting occurs during bulkload, the CREATE_TIME_TS of hfileinfo is 0 (#5097)
     new e051400a6d5 HBASE-27714 WALEntryStreamTestBase creates a new HBTU in startCluster method which causes all sub classes are testing default configurations (#5101)
     new b5dcd48c643 HBASE-27716 Fix TestWALOpenAfterDNRollingStart (#5102)

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:
 .../hadoop/hbase/replication/regionserver/WALEntryStreamTestBase.java   | 1 -
 .../org/apache/hadoop/hbase/wal/TestWALOpenAfterDNRollingStart.java     | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)


[hbase] 01/02: HBASE-27714 WALEntryStreamTestBase creates a new HBTU in startCluster method which causes all sub classes are testing default configurations (#5101)

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
in repository https://gitbox.apache.org/repos/asf/hbase.git

commit e051400a6d50cff3ab168cd7c2aec44769ede835
Author: Duo Zhang <zh...@apache.org>
AuthorDate: Wed Mar 15 10:39:33 2023 +0800

    HBASE-27714 WALEntryStreamTestBase creates a new HBTU in startCluster method which causes all sub classes are testing default configurations (#5101)
    
    Signed-off-by: Guanghao Zhang <zg...@apache.org>
    (cherry picked from commit ce7b1d4e4ff2b5456c8655558378a127f3274107)
---
 .../hadoop/hbase/replication/regionserver/WALEntryStreamTestBase.java    | 1 -
 1 file changed, 1 deletion(-)

diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/replication/regionserver/WALEntryStreamTestBase.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/replication/regionserver/WALEntryStreamTestBase.java
index 5f29cb3553c..b21675df2e4 100644
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/replication/regionserver/WALEntryStreamTestBase.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/replication/regionserver/WALEntryStreamTestBase.java
@@ -130,7 +130,6 @@ public abstract class WALEntryStreamTestBase {
   protected final MultiVersionConcurrencyControl mvcc = new MultiVersionConcurrencyControl();
 
   protected static void startCluster() throws Exception {
-    TEST_UTIL = new HBaseTestingUtility();
     CONF = TEST_UTIL.getConfiguration();
     CONF.setLong("replication.source.sleepforretries", 10);
     TEST_UTIL.startMiniDFSCluster(3);


[hbase] 02/02: HBASE-27716 Fix TestWALOpenAfterDNRollingStart (#5102)

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
in repository https://gitbox.apache.org/repos/asf/hbase.git

commit b5dcd48c64366963376c0b50c6e4011e8769ebdb
Author: Duo Zhang <zh...@apache.org>
AuthorDate: Wed Mar 15 10:40:03 2023 +0800

    HBASE-27716 Fix TestWALOpenAfterDNRollingStart (#5102)
    
    Signed-off-by: Guanghao Zhang <zg...@apache.org>
    (cherry picked from commit c8bee238fc51b82215cea844030a7a4dc9f6499c)
---
 .../org/apache/hadoop/hbase/wal/TestWALOpenAfterDNRollingStart.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/wal/TestWALOpenAfterDNRollingStart.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/wal/TestWALOpenAfterDNRollingStart.java
index 096ebe020a9..1fbe8f24656 100644
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/wal/TestWALOpenAfterDNRollingStart.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/wal/TestWALOpenAfterDNRollingStart.java
@@ -121,7 +121,7 @@ public class TestWALOpenAfterDNRollingStart {
       currentFile = new Path(oldLogDir, currentFile.getName());
     }
     // if the log is not rolled, then we can never open this wal forever.
-    try (WALStreamReader reader = WALFactory.createStreamReader(TEST_UTIL.getTestFileSystem(),
+    try (WALStreamReader reader = NoEOFWALStreamReader.create(TEST_UTIL.getTestFileSystem(),
       currentFile, TEST_UTIL.getConfiguration())) {
       reader.next();
     }