[ 
https://issues.apache.org/jira/browse/HBASE-30095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18110705#comment-18110705
 ] 

Hudson commented on HBASE-30095:
--------------------------------

Results for branch branch-3
        [build #146 on 
builds.a.o|https://ci-hbase.apache.org/job/HBase-Integration-Test/job/branch-3/146/]:
 (/) *{color:green}+1 overall{color}*
----
details (if available):



(/) {color:green}+1 client integration test for 3.3.5 {color}
(/) {color:green}+1 client integration test for 3.3.5 with shaded hadoop 
client{color}


(/) {color:green}+1 client integration test for 3.3.6 {color}
(/) {color:green}+1 client integration test for 3.3.6 with shaded hadoop 
client{color}


(/) {color:green}+1 client integration test for 3.4.0 {color}
(/) {color:green}+1 client integration test for 3.4.0 with shaded hadoop 
client{color}


(/) {color:green}+1 client integration test for 3.4.1 {color}
(/) {color:green}+1 client integration test for 3.4.1 with shaded hadoop 
client{color}


(/) {color:green}+1 client integration test for 3.4.2 {color}
(/) {color:green}+1 client integration test for 3.4.2 with shaded hadoop 
client{color}


(/) {color:green}+1 client integration test for 3.4.3 {color}
(/) {color:green}+1 client integration test for 3.4.3 with shaded hadoop 
client{color}


> Remove duplicated startMiniDFSCluste call in TestZooKeeper
> ----------------------------------------------------------
>
>                 Key: HBASE-30095
>                 URL: https://issues.apache.org/jira/browse/HBASE-30095
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>            Reporter: Duo Zhang
>            Assignee: mazhengxuan
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0-alpha-1, 2.7.0, 3.1.0, 3.0.1, 2.6.8, 2.5.17
>
>
> Sonnet 4.5(4.6?) summary
> TestZooKeeper
> Problem Identified:
> Line 78 had a duplicate call to TEST_UTIL.startMiniDFSCluster(2)
> This violated the "can only create one" constraint and caused HDFS namespace 
> conflicts when tests ran in parallel
> Why it was flaky:
> ✅ Local/isolated runs: Worked because no leftover HDFS state
> ❌ CI/parallel runs: Failed when other ZooKeeper tests ran first, leaving 
> behind HDFS data with incompatible namespaceID
> Fix Applied:
> Removed the duplicate call on line 78. The test now properly:
> Starts Mini DFS Cluster (line 71)
> Starts Mini ZK Cluster (line 72)
> Configures settings (lines 73-77)
> Done! (no duplicate cluster start)
> This matches the pattern used in other similar tests like 
> TestClusterBootOrder and aligns with the comment's intent: "Test we can first 
> start the ZK cluster by itself."
> The test should now be stable across both local and CI environments. You can 
> verify by running the test suite again to ensure TestZooKeeper no longer 
> fails with InconsistentFSStateException.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to