You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Hudson (Jira)" <ji...@apache.org> on 2025/08/25 23:42:00 UTC
[jira] [Commented] (HBASE-29543) TestFileChangeWatcher fails with Java 8 due to file modification time granularity issue
[ https://issues.apache.org/jira/browse/HBASE-29543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18016151#comment-18016151 ]
Hudson commented on HBASE-29543:
--------------------------------
Results for branch branch-2
[build #1314 on builds.a.o|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2/1314/]: (x) *{color:red}-1 overall{color}*
----
details (if available):
(/) {color:green}+1 general checks{color}
-- For more information [see general report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2/1314/General_20Nightly_20Build_20Report/]
(x) {color:red}-1 jdk8 hadoop2 checks{color}
-- For more information [see jdk8 (hadoop2) report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2/1314/JDK8_20Nightly_20Build_20Report_20_28Hadoop2_29/]
(x) {color:red}-1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3) report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2/1314/JDK8_20Nightly_20Build_20Report_20_28Hadoop3_29/]
(/) {color:green}+1 jdk11 hadoop3 checks{color}
-- For more information [see jdk11 report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2/1314/JDK11_20Nightly_20Build_20Report_20_28Hadoop3_29/]
(x) {color:red}-1 jdk17 hadoop3 checks{color}
-- For more information [see jdk17 report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2/1314/JDK17_20Nightly_20Build_20Report_20_28Hadoop3_29/]
(/) {color:green}+1 jdk17 hadoop 3.3.5 backward compatibility checks{color}
-- For more information [see jdk17 report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2/1314/JDK17_20Nightly_20Build_20Report_20_28Hadoop3_29/]
(/) {color:green}+1 jdk17 hadoop 3.3.6 backward compatibility checks{color}
-- For more information [see jdk17 report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2/1314/JDK17_20Nightly_20Build_20Report_20_28Hadoop3_29/]
(x) {color:red}-1 jdk17 hadoop 3.4.0 backward compatibility checks{color}
-- For more information [see jdk17 report|https://ci-hbase.apache.org/job/HBase%20Nightly/job/branch-2/1314/JDK17_20Nightly_20Build_20Report_20_28Hadoop3_29/]
(/) {color:green}+1 source release artifact{color}
-- See build output for details.
(/) {color:green}+1 client integration test for HBase 2 {color}
(/) {color:green}+1 client integration test for 3.3.5 {color}
(/) {color:green}+1 client integration test for 3.3.6 {color}
(/) {color:green}+1 client integration test for 3.4.0 {color}
(/) {color:green}+1 client integration test for 3.4.1 {color}
> TestFileChangeWatcher fails with Java 8 due to file modification time granularity issue
> ---------------------------------------------------------------------------------------
>
> Key: HBASE-29543
> URL: https://issues.apache.org/jira/browse/HBASE-29543
> Project: HBase
> Issue Type: Bug
> Affects Versions: 2.6.0, 2.7.0
> Reporter: Peter Somogyi
> Assignee: Peter Somogyi
> Priority: Minor
> Labels: pull-request-available
> Fix For: 2.7.0, 2.6.4
>
>
> Tests comparing file modification times fail on JDK8 because Files.readAttributes() returns modification times with only second-level granularity, not millisecond precision as seen in JDK11 and newer. This causes equality or comparison checks on file times to break when the actual times differ by milliseconds.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)