Skip to content

HBASE-28631 Show the create time of the replication peer - #5954

Open
wangxin97-02 wants to merge 1 commit into
apache:masterfrom
wangxin97-02:master
Open

HBASE-28631 Show the create time of the replication peer#5954
wangxin97-02 wants to merge 1 commit into
apache:masterfrom
wangxin97-02:master

Conversation

@wangxin97-02

Copy link
Copy Markdown
Contributor

When the table data needs to be migrated due to the closure of the computer room or the business side needs to have a primary and standby table, we need to create a peer.
By checking the creation time of the peer, we can understand when and what operations were performed, and the impact of these operations on the HBase system status.
When there is a problem with the HBase cluster, such as abnormal data synchronization, performance degradation, etc., displaying the creation time of the peer can help us quickly locate the possible source of the problem. For example, if a peer has a problem shortly after it is created, we can prioritize checking the configuration and status of the peer, optimize the related configuration of replication, etc.
Recording the creation time of the peer helps to audit and track system changes, ensuring that any changes to the replication configuration can be traced. This is very important for meeting data governance, security compliance, and business continuity requirements.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 44sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+0 🆗prototool0m 0sprototool was not available.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
_ master Compile Tests _
+0 🆗mvndep0m 11sMaven dependency ordering for branch
+1 💚mvninstall3m 53smaster passed
+1 💚compile5m 36smaster passed
+1 💚checkstyle1m 11smaster passed
+1 💚spotless0m 59sbranch has no errors when running spotless:check.
+1 💚spotbugs5m 42smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 15sMaven dependency ordering for patch
+1 💚mvninstall3m 51sthe patch passed
+1 💚compile5m 0sthe patch passed
+1 💚cc5m 0sthe patch passed
-0 ⚠️javac3m 23shbase-server generated 1 new + 194 unchanged - 1 fixed = 195 total (was 195)
+1 💚checkstyle1m 43sthe patch passed
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚hadoopcheck6m 30sPatch does not cause any errors with Hadoop 3.3.6.
+1 💚hbaseprotoc1m 36sthe patch passed
-1 ❌spotless0m 21spatch has 23 errors when running spotless:check, run spotless:apply to fix.
-1 ❌spotbugs2m 0shbase-server generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
_ Other Tests _
+1 💚asflicense0m 32sThe patch does not generate ASF License warnings.
51m 48s
ReasonTests
FindBugsmodule:hbase-server
Call to method of static java.text.DateFormat in org.apache.hadoop.hbase.master.replication.ReplicationPeerManager.addPeer(String, ReplicationPeerConfig, boolean) At ReplicationPeerManager.java:java.text.DateFormat in org.apache.hadoop.hbase.master.replication.ReplicationPeerManager.addPeer(String, ReplicationPeerConfig, boolean) At ReplicationPeerManager.java:[line 296]
SubsystemReport/Notes
DockerClientAPI=1.45 ServerAPI=1.45 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/1/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#5954
Optional Testsdupname asflicense javac spotbugs hadoopcheck hbaseanti spotless checkstyle compile cc hbaseprotoc prototool
unameLinux 8a0d5530f5a3 5.4.0-182-generic #202-Ubuntu SMP Fri Apr 26 12:29:36 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / cd0b29c
Default JavaEclipse Adoptium-11.0.17+8
javachttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/1/artifact/yetus-general-check/output/diff-compile-javac-hbase-server.txt
spotlesshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/1/artifact/yetus-general-check/output/patch-spotless.txt
spotbugshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/1/artifact/yetus-general-check/output/new-spotbugs-hbase-server.html
Max. process+thread count80 (vs. ulimit of 30000)
modulesC: hbase-protocol-shaded hbase-client hbase-server U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/1/console
versionsgit=2.34.1 maven=3.8.6 spotbugs=4.7.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 26sDocker mode activated.
-0 ⚠️yetus0m 2sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 13sMaven dependency ordering for branch
+1 💚mvninstall2m 55smaster passed
+1 💚compile1m 35smaster passed
+1 💚shadedjars5m 35sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc0m 47smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 12sMaven dependency ordering for patch
+1 💚mvninstall2m 41sthe patch passed
+1 💚compile1m 35sthe patch passed
+1 💚javac1m 35sthe patch passed
+1 💚shadedjars5m 36spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc0m 46sthe patch passed
_ Other Tests _
+1 💚unit0m 33shbase-protocol-shaded in the patch passed.
-1 ❌unit1m 14shbase-client in the patch failed.
+1 💚unit226m 59shbase-server in the patch passed.
255m 48s
SubsystemReport/Notes
DockerClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR#5954
Optional Testsjavac javadoc unit shadedjars compile
unameLinux ebe11d20c37d 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / cd0b29c
Default JavaEclipse Adoptium-11.0.17+8
unithttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/1/artifact/yetus-jdk11-hadoop3-check/output/patch-unit-hbase-client.txt
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/1/testReport/
Max. process+thread count5220 (vs. ulimit of 30000)
modulesC: hbase-protocol-shaded hbase-client hbase-server U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/1/console
versionsgit=2.34.1 maven=3.8.6
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 24sDocker mode activated.
-0 ⚠️yetus0m 3sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 12sMaven dependency ordering for branch
+1 💚mvninstall2m 55smaster passed
+1 💚compile1m 39smaster passed
+1 💚shadedjars5m 29sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc0m 49smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 11sMaven dependency ordering for patch
+1 💚mvninstall2m 43sthe patch passed
+1 💚compile1m 41sthe patch passed
+1 💚javac1m 41sthe patch passed
+1 💚shadedjars5m 27spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc0m 48sthe patch passed
_ Other Tests _
+1 💚unit0m 31shbase-protocol-shaded in the patch passed.
-1 ❌unit1m 12shbase-client in the patch failed.
+1 💚unit229m 43shbase-server in the patch passed.
259m 17s
SubsystemReport/Notes
DockerClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/1/artifact/yetus-jdk17-hadoop3-check/output/Dockerfile
GITHUB PR#5954
Optional Testsjavac javadoc unit shadedjars compile
unameLinux a1108b0b59b5 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / cd0b29c
Default JavaEclipse Adoptium-17.0.10+7
unithttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/1/artifact/yetus-jdk17-hadoop3-check/output/patch-unit-hbase-client.txt
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/1/testReport/
Max. process+thread count5470 (vs. ulimit of 30000)
modulesC: hbase-protocol-shaded hbase-client hbase-server U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/1/console
versionsgit=2.34.1 maven=3.8.6
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 25sDocker mode activated.
-0 ⚠️yetus0m 3sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 16sMaven dependency ordering for branch
+1 💚mvninstall2m 49smaster passed
+1 💚compile1m 24smaster passed
+1 💚shadedjars5m 49sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc0m 48smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 12sMaven dependency ordering for patch
+1 💚mvninstall2m 29sthe patch passed
+1 💚compile1m 23sthe patch passed
+1 💚javac1m 23sthe patch passed
+1 💚shadedjars5m 44spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc0m 44sthe patch passed
_ Other Tests _
+1 💚unit0m 28shbase-protocol-shaded in the patch passed.
-1 ❌unit1m 6shbase-client in the patch failed.
+1 💚unit238m 37shbase-server in the patch passed.
266m 49s
SubsystemReport/Notes
DockerClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/1/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile
GITHUB PR#5954
Optional Testsjavac javadoc unit shadedjars compile
unameLinux 1f807dec3bd7 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / cd0b29c
Default JavaTemurin-1.8.0_352-b08
unithttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/1/artifact/yetus-jdk8-hadoop3-check/output/patch-unit-hbase-client.txt
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/1/testReport/
Max. process+thread count4638 (vs. ulimit of 30000)
modulesC: hbase-protocol-shaded hbase-client hbase-server U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/1/console
versionsgit=2.34.1 maven=3.8.6
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache9Apache9 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better add this to ReplicationPeerDescription instead of ReplicationPeerConfig?

It is not a config...

@wangxin97-02

Copy link
Copy Markdown
ContributorAuthor

Ok, I understand
Now, the create time of the peer needs to be recorded separately on the zk node for persistence, so I need to create a new node under /hbase/replication/peers/peerId, called the create-time.
Do you think that's okay? @Apache9

@Apache9

Copy link
Copy Markdown
Contributor

Ok, I understand Now, the create time of the peer needs to be recorded separately on the zk node for persistence, so I need to create a new node under /hbase/replication/peers/peerId, called the create-time. Do you think that's okay? @Apache9

Could we just use the creation time of the peer id znode or directory? If this is not stable, we could introduce a separated znode or file to store it.

@wangxin97-02

Copy link
Copy Markdown
ContributorAuthor

Ok, I understand Now, the create time of the peer needs to be recorded separately on the zk node for persistence, so I need to create a new node under /hbase/replication/peers/peerId, called the create-time. Do you think that's okay? @Apache9

Could we just use the creation time of the peer id znode or directory? If this is not stable, we could introduce a separated znode or file to store it.

The latest code has been submitted, please review it if you have time. I use the creation time of the peer id znode to get the create time of the peer.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 49sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
_ master Compile Tests _
+0 🆗mvndep0m 12sMaven dependency ordering for branch
+1 💚mvninstall4m 22smaster passed
+1 💚compile5m 3smaster passed
+1 💚checkstyle1m 14smaster passed
+1 💚spotless0m 51sbranch has no errors when running spotless:check.
+1 💚spotbugs3m 49smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 15sMaven dependency ordering for patch
+1 💚mvninstall3m 58sthe patch passed
+1 💚compile4m 48sthe patch passed
-0 ⚠️javac3m 9shbase-server generated 1 new + 194 unchanged - 1 fixed = 195 total (was 195)
-0 ⚠️checkstyle0m 37shbase-server: The patch generated 2 new + 0 unchanged - 0 fixed = 2 total (was 0)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚hadoopcheck6m 40sPatch does not cause any errors with Hadoop 3.3.6.
-1 ❌spotless1m 6spatch has 35 errors when running spotless:check, run spotless:apply to fix.
-1 ❌spotbugs2m 58shbase-server generated 2 new + 0 unchanged - 0 fixed = 2 total (was 0)
_ Other Tests _
+1 💚asflicense1m 4sThe patch does not generate ASF License warnings.
52m 38s
ReasonTests
FindBugsmodule:hbase-server
Call to method of static java.text.DateFormat in org.apache.hadoop.hbase.master.replication.ReplicationPeerManager.addPeer(String, ReplicationPeerConfig, boolean) At ReplicationPeerManager.java:java.text.DateFormat in org.apache.hadoop.hbase.master.replication.ReplicationPeerManager.addPeer(String, ReplicationPeerConfig, boolean) At ReplicationPeerManager.java:[line 301]
Call to method of static java.text.DateFormat in org.apache.hadoop.hbase.master.replication.ReplicationPeerManager.create(MasterServices, String) At ReplicationPeerManager.java:java.text.DateFormat in org.apache.hadoop.hbase.master.replication.ReplicationPeerManager.create(MasterServices, String) At ReplicationPeerManager.java:[line 724]
SubsystemReport/Notes
DockerClientAPI=1.45 ServerAPI=1.45 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/2/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#5954
Optional Testsdupname asflicense javac spotbugs hadoopcheck hbaseanti spotless checkstyle compile
unameLinux a96a7e1f67b0 5.4.0-174-generic #193-Ubuntu SMP Thu Mar 7 14:29:28 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / f136f0a
Default JavaEclipse Adoptium-11.0.17+8
javachttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/2/artifact/yetus-general-check/output/diff-compile-javac-hbase-server.txt
checkstylehttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/2/artifact/yetus-general-check/output/diff-checkstyle-hbase-server.txt
spotlesshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/2/artifact/yetus-general-check/output/patch-spotless.txt
spotbugshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/2/artifact/yetus-general-check/output/new-spotbugs-hbase-server.html
Max. process+thread count79 (vs. ulimit of 30000)
modulesC: hbase-client hbase-zookeeper hbase-replication hbase-server U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/2/console
versionsgit=2.34.1 maven=3.8.6 spotbugs=4.7.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 35sDocker mode activated.
-0 ⚠️yetus0m 3sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 11sMaven dependency ordering for branch
+1 💚mvninstall2m 57smaster passed
+1 💚compile1m 44smaster passed
+1 💚shadedjars5m 17sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc1m 9smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 12sMaven dependency ordering for patch
+1 💚mvninstall2m 50sthe patch passed
+1 💚compile1m 45sthe patch passed
+1 💚javac1m 45sthe patch passed
+1 💚shadedjars5m 13spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc1m 12sthe patch passed
_ Other Tests _
+1 💚unit1m 34shbase-client in the patch passed.
+1 💚unit0m 43shbase-zookeeper in the patch passed.
+1 💚unit0m 35shbase-replication in the patch passed.
+1 💚unit223m 21shbase-server in the patch passed.
254m 25s
SubsystemReport/Notes
DockerClientAPI=1.45 ServerAPI=1.45 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/2/artifact/yetus-jdk17-hadoop3-check/output/Dockerfile
GITHUB PR#5954
Optional Testsjavac javadoc unit shadedjars compile
unameLinux cb4dbdb30f3c 5.4.0-177-generic #197-Ubuntu SMP Thu Mar 28 22:45:47 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / f136f0a
Default JavaEclipse Adoptium-17.0.10+7
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/2/testReport/
Max. process+thread count5076 (vs. ulimit of 30000)
modulesC: hbase-client hbase-zookeeper hbase-replication hbase-server U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/2/console
versionsgit=2.34.1 maven=3.8.6
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 26sDocker mode activated.
-0 ⚠️yetus0m 2sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 12sMaven dependency ordering for branch
+1 💚mvninstall2m 43smaster passed
+1 💚compile1m 22smaster passed
+1 💚shadedjars5m 46sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc0m 57smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 12sMaven dependency ordering for patch
+1 💚mvninstall2m 27sthe patch passed
+1 💚compile1m 20sthe patch passed
+1 💚javac1m 20sthe patch passed
+1 💚shadedjars5m 43spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc0m 56sthe patch passed
_ Other Tests _
+1 💚unit1m 28shbase-client in the patch passed.
+1 💚unit0m 36shbase-zookeeper in the patch passed.
+1 💚unit0m 25shbase-replication in the patch passed.
+1 💚unit231m 46shbase-server in the patch passed.
260m 46s
SubsystemReport/Notes
DockerClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/2/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile
GITHUB PR#5954
Optional Testsjavac javadoc unit shadedjars compile
unameLinux 6c842a2797da 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / f136f0a
Default JavaTemurin-1.8.0_352-b08
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/2/testReport/
Max. process+thread count5162 (vs. ulimit of 30000)
modulesC: hbase-client hbase-zookeeper hbase-replication hbase-server U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/2/console
versionsgit=2.34.1 maven=3.8.6
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 53sDocker mode activated.
-0 ⚠️yetus0m 3sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 12sMaven dependency ordering for branch
+1 💚mvninstall4m 22smaster passed
+1 💚compile2m 14smaster passed
+1 💚shadedjars6m 26sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc1m 31smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 15sMaven dependency ordering for patch
+1 💚mvninstall3m 58sthe patch passed
+1 💚compile2m 6sthe patch passed
+1 💚javac2m 6sthe patch passed
+1 💚shadedjars6m 21spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc1m 25sthe patch passed
_ Other Tests _
+1 💚unit1m 57shbase-client in the patch passed.
+1 💚unit0m 41shbase-zookeeper in the patch passed.
+1 💚unit0m 35shbase-replication in the patch passed.
-1 ❌unit239m 18shbase-server in the patch failed.
277m 27s
SubsystemReport/Notes
DockerClientAPI=1.45 ServerAPI=1.45 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/2/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR#5954
Optional Testsjavac javadoc unit shadedjars compile
unameLinux 04182d19c222 5.4.0-174-generic #193-Ubuntu SMP Thu Mar 7 14:29:28 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / f136f0a
Default JavaEclipse Adoptium-11.0.17+8
unithttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/2/artifact/yetus-jdk11-hadoop3-check/output/patch-unit-hbase-server.txt
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/2/testReport/
Max. process+thread count4615 (vs. ulimit of 30000)
modulesC: hbase-client hbase-zookeeper hbase-replication hbase-server U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/2/console
versionsgit=2.34.1 maven=3.8.6
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

public long getPeerCreateTime(String peerId) throws ReplicationException {
long createTimeIfNodeExists;
try {
createTimeIfNodeExists = ZKUtil.getCreateTimeIfNodeExists(zookeeper, getPeerNode(peerId));

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not just return here? And what is the return value if the znode does not exist?

public static long getCreateTimeIfNodeExists(ZKWatcher zkw, String znode) throws KeeperException {
try {
Stat s = zkw.getRecoverableZooKeeper().exists(znode, false);
return s != null ? s.getCtime() : -1;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, -1, then we'd better have a constant in the ReplicationPeerStorage interface so all the implementations follow the same pattern?

} catch (KeeperException e) {
LOG.warn(zkw.prefix("Unable to get create time on znode (" + znode + ")"), e);
zkw.keeperException(e);
return -1;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we return -1 here instead of throwing exception out?

@wangxin97-02
wangxin97-02force-pushed the master branch 2 times, most recently from de4d772 to b1d16ffCompareJune 12, 2024 15:11
@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 50sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
_ master Compile Tests _
+0 🆗mvndep0m 11sMaven dependency ordering for branch
+1 💚mvninstall3m 23smaster passed
+1 💚compile4m 58smaster passed
+1 💚checkstyle1m 25smaster passed
+1 💚spotless0m 58sbranch has no errors when running spotless:check.
+1 💚spotbugs3m 34smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 12sMaven dependency ordering for patch
+1 💚mvninstall3m 38sthe patch passed
+1 💚compile5m 16sthe patch passed
-0 ⚠️javac0m 21shbase-zookeeper generated 1 new + 49 unchanged - 0 fixed = 50 total (was 49)
-0 ⚠️javac3m 36shbase-server generated 1 new + 194 unchanged - 1 fixed = 195 total (was 195)
-0 ⚠️checkstyle0m 9shbase-replication: The patch generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
-0 ⚠️checkstyle0m 48shbase-server: The patch generated 2 new + 0 unchanged - 0 fixed = 2 total (was 0)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚hadoopcheck7m 14sPatch does not cause any errors with Hadoop 3.3.6.
-1 ❌spotless0m 21spatch has 24 errors when running spotless:check, run spotless:apply to fix.
-1 ❌spotbugs2m 24shbase-server generated 2 new + 0 unchanged - 0 fixed = 2 total (was 0)
_ Other Tests _
+1 💚asflicense0m 43sThe patch does not generate ASF License warnings.
47m 7s
ReasonTests
FindBugsmodule:hbase-server
Call to method of static java.text.DateFormat in org.apache.hadoop.hbase.master.replication.ReplicationPeerManager.addPeer(String, ReplicationPeerConfig, boolean) At ReplicationPeerManager.java:java.text.DateFormat in org.apache.hadoop.hbase.master.replication.ReplicationPeerManager.addPeer(String, ReplicationPeerConfig, boolean) At ReplicationPeerManager.java:[line 301]
Call to method of static java.text.DateFormat in org.apache.hadoop.hbase.master.replication.ReplicationPeerManager.create(MasterServices, String) At ReplicationPeerManager.java:java.text.DateFormat in org.apache.hadoop.hbase.master.replication.ReplicationPeerManager.create(MasterServices, String) At ReplicationPeerManager.java:[line 724]
SubsystemReport/Notes
DockerClientAPI=1.45 ServerAPI=1.45 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/3/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#5954
Optional Testsdupname asflicense javac spotbugs hadoopcheck hbaseanti spotless checkstyle compile
unameLinux 833afd05de30 5.4.0-182-generic #202-Ubuntu SMP Fri Apr 26 12:29:36 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / 9bdee6d
Default JavaEclipse Adoptium-11.0.17+8
javachttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/3/artifact/yetus-general-check/output/diff-compile-javac-hbase-zookeeper.txt
javachttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/3/artifact/yetus-general-check/output/diff-compile-javac-hbase-server.txt
checkstylehttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/3/artifact/yetus-general-check/output/diff-checkstyle-hbase-replication.txt
checkstylehttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/3/artifact/yetus-general-check/output/diff-checkstyle-hbase-server.txt
spotlesshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/3/artifact/yetus-general-check/output/patch-spotless.txt
spotbugshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/3/artifact/yetus-general-check/output/new-spotbugs-hbase-server.html
Max. process+thread count79 (vs. ulimit of 30000)
modulesC: hbase-client hbase-zookeeper hbase-replication hbase-server U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/3/console
versionsgit=2.34.1 maven=3.8.6 spotbugs=4.7.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 46sDocker mode activated.
-0 ⚠️yetus0m 3sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 14sMaven dependency ordering for branch
+1 💚mvninstall4m 8smaster passed
+1 💚compile2m 5smaster passed
+1 💚shadedjars7m 5sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc1m 38smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 11sMaven dependency ordering for patch
+1 💚mvninstall3m 55sthe patch passed
+1 💚compile2m 10sthe patch passed
+1 💚javac2m 10sthe patch passed
+1 💚shadedjars6m 28spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc1m 38sthe patch passed
_ Other Tests _
+1 💚unit2m 34shbase-client in the patch passed.
+1 💚unit0m 50shbase-zookeeper in the patch passed.
+1 💚unit0m 26shbase-replication in the patch passed.
+1 💚unit227m 47shbase-server in the patch passed.
267m 10s
SubsystemReport/Notes
DockerClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/3/artifact/yetus-jdk17-hadoop3-check/output/Dockerfile
GITHUB PR#5954
Optional Testsjavac javadoc unit shadedjars compile
unameLinux 930fbab079e6 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / 9bdee6d
Default JavaEclipse Adoptium-17.0.10+7
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/3/testReport/
Max. process+thread count4422 (vs. ulimit of 30000)
modulesC: hbase-client hbase-zookeeper hbase-replication hbase-server U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/3/console
versionsgit=2.34.1 maven=3.8.6
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 42sDocker mode activated.
-0 ⚠️yetus0m 3sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 11sMaven dependency ordering for branch
+1 💚mvninstall3m 40smaster passed
+1 💚compile1m 40smaster passed
+1 💚shadedjars5m 14sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc1m 10smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 14sMaven dependency ordering for patch
+1 💚mvninstall2m 47sthe patch passed
+1 💚compile1m 38sthe patch passed
+1 💚javac1m 38sthe patch passed
+1 💚shadedjars5m 7spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc1m 9sthe patch passed
_ Other Tests _
+1 💚unit1m 39shbase-client in the patch passed.
+1 💚unit0m 41shbase-zookeeper in the patch passed.
+1 💚unit0m 34shbase-replication in the patch passed.
-1 ❌unit238m 52shbase-server in the patch failed.
270m 36s
SubsystemReport/Notes
DockerClientAPI=1.45 ServerAPI=1.45 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/3/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR#5954
Optional Testsjavac javadoc unit shadedjars compile
unameLinux b44755ffe00e 5.4.0-174-generic #193-Ubuntu SMP Thu Mar 7 14:29:28 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / 9bdee6d
Default JavaEclipse Adoptium-11.0.17+8
unithttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/3/artifact/yetus-jdk11-hadoop3-check/output/patch-unit-hbase-server.txt
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/3/testReport/
Max. process+thread count4609 (vs. ulimit of 30000)
modulesC: hbase-client hbase-zookeeper hbase-replication hbase-server U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/3/console
versionsgit=2.34.1 maven=3.8.6
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 25sDocker mode activated.
-0 ⚠️yetus0m 3sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 12sMaven dependency ordering for branch
+1 💚mvninstall2m 43smaster passed
+1 💚compile1m 21smaster passed
+1 💚shadedjars5m 46sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc0m 58smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 12sMaven dependency ordering for patch
+1 💚mvninstall2m 26sthe patch passed
+1 💚compile1m 19sthe patch passed
+1 💚javac1m 19sthe patch passed
+1 💚shadedjars5m 43spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc0m 56sthe patch passed
_ Other Tests _
+1 💚unit1m 27shbase-client in the patch passed.
+1 💚unit0m 36shbase-zookeeper in the patch passed.
+1 💚unit0m 24shbase-replication in the patch passed.
-1 ❌unit243m 19shbase-server in the patch failed.
272m 36s
SubsystemReport/Notes
DockerClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/3/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile
GITHUB PR#5954
Optional Testsjavac javadoc unit shadedjars compile
unameLinux 6ccb2ca3f37e 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / 9bdee6d
Default JavaTemurin-1.8.0_352-b08
unithttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/3/artifact/yetus-jdk8-hadoop3-check/output/patch-unit-hbase-server.txt
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/3/testReport/
Max. process+thread count5284 (vs. ulimit of 30000)
modulesC: hbase-client hbase-zookeeper hbase-replication hbase-server U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/3/console
versionsgit=2.34.1 maven=3.8.6
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec1m 13sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
+1 💚@author0m 0sThe patch does not contain any @author tags.
_ master Compile Tests _
+0 🆗mvndep0m 16sMaven dependency ordering for branch
+1 💚mvninstall3m 21smaster passed
+1 💚compile4m 54smaster passed
+1 💚checkstyle1m 18smaster passed
+1 💚spotless0m 49sbranch has no errors when running spotless:check.
+1 💚spotbugs3m 41smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 11sMaven dependency ordering for patch
+1 💚mvninstall3m 28sthe patch passed
+1 💚compile4m 44sthe patch passed
-0 ⚠️javac0m 21shbase-zookeeper generated 1 new + 49 unchanged - 0 fixed = 50 total (was 49)
-0 ⚠️javac3m 16shbase-server generated 1 new + 194 unchanged - 1 fixed = 195 total (was 195)
-0 ⚠️checkstyle0m 10shbase-replication: The patch generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
-0 ⚠️checkstyle0m 48shbase-server: The patch generated 2 new + 0 unchanged - 0 fixed = 2 total (was 0)
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚hadoopcheck6m 15sPatch does not cause any errors with Hadoop 3.3.6.
-1 ❌spotless0m 22spatch has 24 errors when running spotless:check, run spotless:apply to fix.
-1 ❌spotbugs2m 14shbase-server generated 2 new + 0 unchanged - 0 fixed = 2 total (was 0)
_ Other Tests _
+1 💚asflicense0m 37sThe patch does not generate ASF License warnings.
45m 57s
ReasonTests
FindBugsmodule:hbase-server
Call to method of static java.text.DateFormat in org.apache.hadoop.hbase.master.replication.ReplicationPeerManager.addPeer(String, ReplicationPeerConfig, boolean) At ReplicationPeerManager.java:java.text.DateFormat in org.apache.hadoop.hbase.master.replication.ReplicationPeerManager.addPeer(String, ReplicationPeerConfig, boolean) At ReplicationPeerManager.java:[line 301]
Call to method of static java.text.DateFormat in org.apache.hadoop.hbase.master.replication.ReplicationPeerManager.create(MasterServices, String) At ReplicationPeerManager.java:java.text.DateFormat in org.apache.hadoop.hbase.master.replication.ReplicationPeerManager.create(MasterServices, String) At ReplicationPeerManager.java:[line 724]
SubsystemReport/Notes
DockerClientAPI=1.45 ServerAPI=1.45 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/4/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#5954
Optional Testsdupname asflicense javac spotbugs hadoopcheck hbaseanti spotless checkstyle compile
unameLinux 928747c95cf8 5.4.0-182-generic #202-Ubuntu SMP Fri Apr 26 12:29:36 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / 62e7fe8
Default JavaEclipse Adoptium-11.0.17+8
javachttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/4/artifact/yetus-general-check/output/diff-compile-javac-hbase-zookeeper.txt
javachttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/4/artifact/yetus-general-check/output/diff-compile-javac-hbase-server.txt
checkstylehttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/4/artifact/yetus-general-check/output/diff-checkstyle-hbase-replication.txt
checkstylehttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/4/artifact/yetus-general-check/output/diff-checkstyle-hbase-server.txt
spotlesshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/4/artifact/yetus-general-check/output/patch-spotless.txt
spotbugshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/4/artifact/yetus-general-check/output/new-spotbugs-hbase-server.html
Max. process+thread count78 (vs. ulimit of 30000)
modulesC: hbase-client hbase-zookeeper hbase-replication hbase-server U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/4/console
versionsgit=2.34.1 maven=3.8.6 spotbugs=4.7.3
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 27sDocker mode activated.
-0 ⚠️yetus0m 2sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 11sMaven dependency ordering for branch
+1 💚mvninstall2m 53smaster passed
+1 💚compile1m 31smaster passed
+1 💚shadedjars5m 18sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc1m 1smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 10sMaven dependency ordering for patch
+1 💚mvninstall2m 43sthe patch passed
+1 💚compile1m 30sthe patch passed
+1 💚javac1m 30sthe patch passed
+1 💚shadedjars5m 15spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc0m 58sthe patch passed
_ Other Tests _
+1 💚unit1m 29shbase-client in the patch passed.
+1 💚unit0m 37shbase-zookeeper in the patch passed.
+1 💚unit0m 25shbase-replication in the patch passed.
+1 💚unit209m 56shbase-server in the patch passed.
239m 1s
SubsystemReport/Notes
DockerClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/4/artifact/yetus-jdk17-hadoop3-check/output/Dockerfile
GITHUB PR#5954
Optional Testsjavac javadoc unit shadedjars compile
unameLinux 6b8be09274b3 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / 62e7fe8
Default JavaEclipse Adoptium-17.0.10+7
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/4/testReport/
Max. process+thread count5089 (vs. ulimit of 30000)
modulesC: hbase-client hbase-zookeeper hbase-replication hbase-server U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/4/console
versionsgit=2.34.1 maven=3.8.6
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 36sDocker mode activated.
-0 ⚠️yetus0m 3sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 11sMaven dependency ordering for branch
+1 💚mvninstall2m 55smaster passed
+1 💚compile1m 43smaster passed
+1 💚shadedjars5m 17sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc1m 11smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 14sMaven dependency ordering for patch
+1 💚mvninstall2m 50sthe patch passed
+1 💚compile1m 40sthe patch passed
+1 💚javac1m 40sthe patch passed
+1 💚shadedjars5m 17spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc1m 9sthe patch passed
_ Other Tests _
+1 💚unit1m 40shbase-client in the patch passed.
+1 💚unit0m 44shbase-zookeeper in the patch passed.
+1 💚unit0m 34shbase-replication in the patch passed.
+1 💚unit231m 15shbase-server in the patch passed.
262m 32s
SubsystemReport/Notes
DockerClientAPI=1.45 ServerAPI=1.45 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/4/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR#5954
Optional Testsjavac javadoc unit shadedjars compile
unameLinux 63e3f93e4f56 5.4.0-174-generic #193-Ubuntu SMP Thu Mar 7 14:29:28 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / 62e7fe8
Default JavaEclipse Adoptium-11.0.17+8
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/4/testReport/
Max. process+thread count4806 (vs. ulimit of 30000)
modulesC: hbase-client hbase-zookeeper hbase-replication hbase-server U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/4/console
versionsgit=2.34.1 maven=3.8.6
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 41sDocker mode activated.
-0 ⚠️yetus0m 2sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 35sMaven dependency ordering for branch
+1 💚mvninstall3m 59smaster passed
+1 💚compile2m 15smaster passed
+1 💚shadedjars7m 57sbranch has no errors when building our shaded downstream artifacts.
+1 💚javadoc1m 22smaster passed
_ Patch Compile Tests _
+0 🆗mvndep0m 15sMaven dependency ordering for patch
+1 💚mvninstall3m 29sthe patch passed
+1 💚compile2m 13sthe patch passed
+1 💚javac2m 13sthe patch passed
+1 💚shadedjars8m 19spatch has no errors when building our shaded downstream artifacts.
+1 💚javadoc1m 23sthe patch passed
_ Other Tests _
+1 💚unit1m 57shbase-client in the patch passed.
+1 💚unit0m 55shbase-zookeeper in the patch passed.
+1 💚unit0m 45shbase-replication in the patch passed.
+1 💚unit281m 13shbase-server in the patch passed.
322m 32s
SubsystemReport/Notes
DockerClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/4/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile
GITHUB PR#5954
Optional Testsjavac javadoc unit shadedjars compile
unameLinux e4063bb84bda 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / 62e7fe8
Default JavaTemurin-1.8.0_352-b08
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/4/testReport/
Max. process+thread count5203 (vs. ulimit of 30000)
modulesC: hbase-client hbase-zookeeper hbase-replication hbase-server U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/4/console
versionsgit=2.34.1 maven=3.8.6
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

if (!enabled) {
fs.createNewFile(new Path(peerDir, DISABLED_FILE));
}
write(fs, peerDir, CREATE_TIME_FILE,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For create time I do not think we need to use the special write method here? As we will never change it...

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeLogfileComment
+0 🆗reexec0m 47sDocker mode activated.
-0 ⚠️yetus0m 2sUnprocessed flag(s): --blanks-eol-ignore-list --blanks-tabs-ignore-list
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+0 🆗codespell0m 0scodespell was not available.
+0 🆗detsecrets0m 0sdetect-secrets was not available.
+1 💚@author0m 0sThe patch does not contain any @author tags.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
_ master Compile Tests _
+0 🆗mvndep0m 15sMaven dependency ordering for branch
+1 💚mvninstall3m 0smaster passed
+1 💚compile4m 5smaster passed
+1 💚checkstyle1m 11smaster passed
+1 💚spotbugs3m 2smaster passed
+1 💚spotless0m 43sbranch has no errors when running spotless:check.
_ Patch Compile Tests _
+0 🆗mvndep0m 12sMaven dependency ordering for patch
+1 💚mvninstall2m 48sthe patch passed
+1 💚compile4m 2sthe patch passed
-0 ⚠️javac0m 20s/results-compile-javac-hbase-zookeeper.txthbase-zookeeper generated 1 new + 49 unchanged - 0 fixed = 50 total (was 49)
-0 ⚠️javac2m 43s/results-compile-javac-hbase-server.txthbase-server generated 1 new + 194 unchanged - 1 fixed = 195 total (was 195)
+1 💚blanks0m 0sThe patch has no blanks issues.
-0 ⚠️checkstyle0m 8s/results-checkstyle-hbase-replication.txthbase-replication: The patch generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
-0 ⚠️checkstyle0m 37s/results-checkstyle-hbase-server.txthbase-server: The patch generated 2 new + 0 unchanged - 0 fixed = 2 total (was 0)
-1 ❌spotbugs1m 42s/new-spotbugs-hbase-server.htmlhbase-server generated 2 new + 0 unchanged - 0 fixed = 2 total (was 0)
+1 💚hadoopcheck5m 2sPatch does not cause any errors with Hadoop 3.3.6.
-1 ❌spotless0m 21spatch has 24 errors when running spotless:check, run spotless:apply to fix.
_ Other Tests _
+1 💚asflicense0m 40sThe patch does not generate ASF License warnings.
37m 51s
ReasonTests
SpotBugsmodule:hbase-server
Call to method of static java.text.DateFormat in org.apache.hadoop.hbase.master.replication.ReplicationPeerManager.addPeer(String, ReplicationPeerConfig, boolean) At ReplicationPeerManager.java:java.text.DateFormat in org.apache.hadoop.hbase.master.replication.ReplicationPeerManager.addPeer(String, ReplicationPeerConfig, boolean) At ReplicationPeerManager.java:[line 301]
Call to method of static java.text.DateFormat in org.apache.hadoop.hbase.master.replication.ReplicationPeerManager.create(MasterServices, String) At ReplicationPeerManager.java:java.text.DateFormat in org.apache.hadoop.hbase.master.replication.ReplicationPeerManager.create(MasterServices, String) At ReplicationPeerManager.java:[line 724]
SubsystemReport/Notes
DockerClientAPI=1.45 ServerAPI=1.45 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/5/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#5954
Optional Testsdupname asflicense javac spotbugs checkstyle codespell detsecrets compile hadoopcheck hbaseanti spotless
unameLinux 9cbba48096a5 5.4.0-182-generic #202-Ubuntu SMP Fri Apr 26 12:29:36 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / ad97646
Default JavaEclipse Adoptium-11.0.17+8
spotlesshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/5/artifact/yetus-general-check/output/patch-spotless.txt
Max. process+thread count79 (vs. ulimit of 30000)
modulesC: hbase-client hbase-zookeeper hbase-replication hbase-server U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/5/console
versionsgit=2.34.1 maven=3.8.6 spotbugs=4.7.3
Powered byApache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeLogfileComment
+0 🆗reexec0m 31sDocker mode activated.
-0 ⚠️yetus0m 2sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --author-ignore-list --blanks-eol-ignore-list --blanks-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 46sMaven dependency ordering for branch
+1 💚mvninstall3m 23smaster passed
+1 💚compile1m 35smaster passed
+1 💚javadoc1m 0smaster passed
+1 💚shadedjars5m 38sbranch has no errors when building our shaded downstream artifacts.
_ Patch Compile Tests _
+0 🆗mvndep0m 10sMaven dependency ordering for patch
+1 💚mvninstall2m 54sthe patch passed
+1 💚compile1m 37sthe patch passed
+1 💚javac1m 37sthe patch passed
+1 💚javadoc1m 1sthe patch passed
+1 💚shadedjars5m 38spatch has no errors when building our shaded downstream artifacts.
_ Other Tests _
+1 💚unit1m 32shbase-client in the patch passed.
+1 💚unit0m 37shbase-zookeeper in the patch passed.
+1 💚unit0m 26shbase-replication in the patch passed.
+1 💚unit207m 8shbase-server in the patch passed.
238m 18s
SubsystemReport/Notes
DockerClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/5/artifact/yetus-jdk17-hadoop3-check/output/Dockerfile
GITHUB PR#5954
Optional Testsjavac javadoc unit compile shadedjars
unameLinux e1acf2996d53 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / ad97646
Default JavaEclipse Adoptium-17.0.10+7
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/5/testReport/
Max. process+thread count5213 (vs. ulimit of 30000)
modulesC: hbase-client hbase-zookeeper hbase-replication hbase-server U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/5/console
versionsgit=2.34.1 maven=3.8.6
Powered byApache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeLogfileComment
+0 🆗reexec0m 31sDocker mode activated.
-0 ⚠️yetus0m 2sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --author-ignore-list --blanks-eol-ignore-list --blanks-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 15sMaven dependency ordering for branch
+1 💚mvninstall3m 14smaster passed
+1 💚compile1m 30smaster passed
+1 💚javadoc1m 3smaster passed
+1 💚shadedjars5m 56sbranch has no errors when building our shaded downstream artifacts.
_ Patch Compile Tests _
+0 🆗mvndep0m 13sMaven dependency ordering for patch
+1 💚mvninstall3m 1sthe patch passed
+1 💚compile1m 31sthe patch passed
+1 💚javac1m 31sthe patch passed
+1 💚javadoc1m 1sthe patch passed
+1 💚shadedjars5m 52spatch has no errors when building our shaded downstream artifacts.
_ Other Tests _
+1 💚unit1m 37shbase-client in the patch passed.
+1 💚unit0m 40shbase-zookeeper in the patch passed.
+1 💚unit0m 27shbase-replication in the patch passed.
+1 💚unit221m 40shbase-server in the patch passed.
252m 50s
SubsystemReport/Notes
DockerClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/5/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile
GITHUB PR#5954
Optional Testsjavac javadoc unit compile shadedjars
unameLinux 299584c7fe55 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / ad97646
Default JavaEclipse Adoptium-11.0.17+8
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/5/testReport/
Max. process+thread count5642 (vs. ulimit of 30000)
modulesC: hbase-client hbase-zookeeper hbase-replication hbase-server U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/5/console
versionsgit=2.34.1 maven=3.8.6
Powered byApache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeLogfileComment
+0 🆗reexec0m 41sDocker mode activated.
-0 ⚠️yetus0m 4sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --author-ignore-list --blanks-eol-ignore-list --blanks-tabs-ignore-list --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+0 🆗mvndep0m 9sMaven dependency ordering for branch
+1 💚mvninstall2m 33smaster passed
+1 💚compile1m 28smaster passed
+1 💚javadoc1m 4smaster passed
+1 💚shadedjars5m 8sbranch has no errors when building our shaded downstream artifacts.
_ Patch Compile Tests _
+0 🆗mvndep0m 14sMaven dependency ordering for patch
+1 💚mvninstall2m 34sthe patch passed
+1 💚compile1m 26sthe patch passed
+1 💚javac1m 26sthe patch passed
+1 💚javadoc1m 0sthe patch passed
+1 💚shadedjars5m 9spatch has no errors when building our shaded downstream artifacts.
_ Other Tests _
+1 💚unit1m 22shbase-client in the patch passed.
+1 💚unit0m 40shbase-zookeeper in the patch passed.
+1 💚unit0m 32shbase-replication in the patch passed.
+1 💚unit235m 35shbase-server in the patch passed.
264m 37s
SubsystemReport/Notes
DockerClientAPI=1.45 ServerAPI=1.45 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/5/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile
GITHUB PR#5954
Optional Testsjavac javadoc unit compile shadedjars
unameLinux 484b77e3094b 5.4.0-186-generic #206-Ubuntu SMP Fri Apr 26 12:31:10 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / ad97646
Default JavaTemurin-1.8.0_352-b08
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/5/testReport/
Max. process+thread count5645 (vs. ulimit of 30000)
modulesC: hbase-client hbase-zookeeper hbase-replication hbase-server U: .
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5954/5/console
versionsgit=2.34.1 maven=3.8.6
Powered byApache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

if (!enabled) {
fs.createNewFile(new Path(peerDir, DISABLED_FILE));
}
fs.createNewFile(new Path(peerDir, CREATE_TIME_FILE));

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have changed it to just create this file and not add content. So I can use fs.getFileStatus(createTimeFile).getModificationTime() to get peer create time. @Apache9

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@wangxin97-02@Apache-HBase@Apache9