[ https://issues.apache.org/jira/browse/HADOOP-19525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17940763#comment-17940763 ]
ASF GitHub Bot commented on HADOOP-19525: ----------------------------------------- hadoop-yetus commented on PR #7570: URL: https://github.com/apache/hadoop/pull/7570#issuecomment-2776435360 :confetti_ball: **+1 overall** | Vote | Subsystem | Runtime | Logfile | Comment | |:----:|----------:|--------:|:--------:|:-------:| | +0 :ok: | reexec | 0m 33s | | Docker mode activated. | |||| _ Prechecks _ | | +1 :green_heart: | dupname | 0m 3s | | No case conflicting files found. | | +0 :ok: | codespell | 0m 0s | | codespell was not available. | | +0 :ok: | detsecrets | 0m 0s | | detect-secrets was not available. | | +1 :green_heart: | @author | 0m 0s | | The patch does not contain any @author tags. | | +1 :green_heart: | test4tests | 0m 0s | | The patch appears to include 54 new or modified test files. | |||| _ trunk Compile Tests _ | | +0 :ok: | mvndep | 7m 2s | | Maven dependency ordering for branch | | +1 :green_heart: | mvninstall | 31m 33s | | trunk passed | | +1 :green_heart: | compile | 15m 29s | | trunk passed with JDK Ubuntu-11.0.26+4-post-Ubuntu-1ubuntu120.04 | | +1 :green_heart: | compile | 13m 35s | | trunk passed with JDK Private Build-1.8.0_442-8u442-b06~us1-0ubuntu1~20.04-b06 | | +1 :green_heart: | checkstyle | 4m 28s | | trunk passed | | +1 :green_heart: | mvnsite | 13m 7s | | trunk passed | | +1 :green_heart: | javadoc | 11m 59s | | trunk passed with JDK Ubuntu-11.0.26+4-post-Ubuntu-1ubuntu120.04 | | +1 :green_heart: | javadoc | 9m 49s | | trunk passed with JDK Private Build-1.8.0_442-8u442-b06~us1-0ubuntu1~20.04-b06 | | +1 :green_heart: | spotbugs | 19m 56s | | trunk passed | | +1 :green_heart: | shadedclient | 34m 22s | | branch has no errors when building and testing our client artifacts. | |||| _ Patch Compile Tests _ | | +0 :ok: | mvndep | 0m 32s | | Maven dependency ordering for patch | | +1 :green_heart: | mvninstall | 7m 23s | | the patch passed | | +1 :green_heart: | compile | 14m 48s | | the patch passed with JDK Ubuntu-11.0.26+4-post-Ubuntu-1ubuntu120.04 | | +1 :green_heart: | javac | 14m 48s | | the patch passed | | +1 :green_heart: | compile | 13m 37s | | the patch passed with JDK Private Build-1.8.0_442-8u442-b06~us1-0ubuntu1~20.04-b06 | | +1 :green_heart: | javac | 13m 37s | | the patch passed | | +1 :green_heart: | blanks | 0m 0s | | The patch has no blanks issues. | | -0 :warning: | checkstyle | 4m 28s | [/results-checkstyle-root.txt](https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7570/4/artifact/out/results-checkstyle-root.txt) | root: The patch generated 13 new + 2388 unchanged - 13 fixed = 2401 total (was 2401) | | +1 :green_heart: | mvnsite | 13m 17s | | the patch passed | | +1 :green_heart: | javadoc | 11m 45s | | the patch passed with JDK Ubuntu-11.0.26+4-post-Ubuntu-1ubuntu120.04 | | +1 :green_heart: | javadoc | 11m 7s | | the patch passed with JDK Private Build-1.8.0_442-8u442-b06~us1-0ubuntu1~20.04-b06 | | +1 :green_heart: | spotbugs | 22m 39s | | the patch passed | | +1 :green_heart: | shadedclient | 35m 5s | | patch has no errors when building and testing our client artifacts. | |||| _ Other Tests _ | | +1 :green_heart: | unit | 15m 8s | | hadoop-common in the patch passed. | | +1 :green_heart: | unit | 6m 10s | | hadoop-yarn-common in the patch passed. | | +1 :green_heart: | unit | 4m 55s | | hadoop-yarn-server-common in the patch passed. | | +1 :green_heart: | unit | 144m 29s | | hadoop-yarn-server-resourcemanager in the patch passed. | | +1 :green_heart: | unit | 27m 43s | | hadoop-yarn-server-nodemanager in the patch passed. | | +1 :green_heart: | unit | 29m 38s | | hadoop-yarn-client in the patch passed. | | +1 :green_heart: | unit | 8m 57s | | hadoop-mapreduce-client-core in the patch passed. | | +1 :green_heart: | unit | 9m 19s | | hadoop-mapreduce-client-app in the patch passed. | | +1 :green_heart: | unit | 4m 40s | | hadoop-mapreduce-client-hs in the patch passed. | | +1 :green_heart: | unit | 128m 56s | | hadoop-mapreduce-client-jobclient in the patch passed. | | +1 :green_heart: | unit | 0m 52s | | hadoop-yarn-server-router in the patch passed. | | +1 :green_heart: | unit | 22m 41s | | hadoop-yarn-applications-distributedshell in the patch passed. | | +1 :green_heart: | unit | 21m 9s | | hadoop-yarn-services-core in the patch passed. | | +1 :green_heart: | unit | 12m 50s | | hadoop-sls in the patch passed. | | +1 :green_heart: | asflicense | 1m 15s | | The patch does not generate ASF License warnings. | | | | 742m 48s | | | | Subsystem | Report/Notes | |----------:|:-------------| | Docker | ClientAPI=1.48 ServerAPI=1.48 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7570/4/artifact/out/Dockerfile | | GITHUB PR | https://github.com/apache/hadoop/pull/7570 | | Optional Tests | dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets | | uname | Linux 12fc94763235 5.15.0-130-generic #140-Ubuntu SMP Wed Dec 18 17:59:53 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux | | Build tool | maven | | Personality | dev-support/bin/hadoop.sh | | git revision | trunk / e1a23c17405c35dab9794a88d3d33333fac96f7d | | Default Java | Private Build-1.8.0_442-8u442-b06~us1-0ubuntu1~20.04-b06 | | Multi-JDK versions | /usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.26+4-post-Ubuntu-1ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_442-8u442-b06~us1-0ubuntu1~20.04-b06 | | Test Results | https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7570/4/testReport/ | | Max. process+thread count | 1571 (vs. ulimit of 5500) | | modules | C: hadoop-common-project/hadoop-common hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-services/hadoop-yarn-services-core hadoop-tools/hadoop-sls U: . | | Console output | https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7570/4/console | | versions | git=2.25.1 maven=3.6.3 spotbugs=4.2.2 | | Powered by | Apache Yetus 0.14.0 https://yetus.apache.org | This message was automatically generated. > Use java.time.Clock instead of org.apache.hadoop.util.Clock > ----------------------------------------------------------- > > Key: HADOOP-19525 > URL: https://issues.apache.org/jira/browse/HADOOP-19525 > Project: Hadoop Common > Issue Type: Sub-task > Components: hadoop-common, mapreduce, yarn > Reporter: Yaniv Kunda > Assignee: Yaniv Kunda > Priority: Major > Labels: pull-request-available > > Hadoop's {{Clock}} interface was recently moved from > {{org.apache.hadoop.yarn.util}} (in hadoop-yarn) to > {{org.apache.hadoop.util}} (in hadoop-common) as part of YARN-11765. > I propose to seize the opportunity of this being targeted done for 3.5.0 to > modernize it usage: > # Deprecate {{org.apache.hadoop.util.Clock}} > # Replace all of its usages with {{java.time.Clock}} > # Replace existing usages of its simple implementations, e.g. > {{SystemClock}}/{{UTCClock}} with standard {{java.time.Clock}} subclasses, > e.g. {{Clock.systemUTC()}} > # Re-implement other implementations, e.g. > {{MonotonicClock}}/{{ControllerClock}}, as {{java.time.Clock}} subclasses. > The standard {{java.time.Clock}} has a richer API supports modern > {{java.time}} classes such as {{Instant}} and {{ZoneId}}, and migration would > be straightforward: > Just changing {{org.apache.hadoop.util.Clock.getTime()}} to > {{java.time.Clock.millis()}} -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org