NVIDIA / spark-rapids-jni

RAPIDS Accelerator JNI For Apache Spark
Apache License 2.0
42 stars 66 forks source link

[FEA] When finish build, print out the log message with local timezone instead of UTC #2024

Open ttnghia opened 7 months ago

ttnghia commented 7 months ago

When spark-rapids-jni finished building, it prints out a log message like this:

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3:10.982s
[INFO] Finished at: Wed May 08 20:13:31 UTC 2024
[INFO] Final Memory: 39M/1075M
[INFO] ------------------------------------------------------------------------

The Finished at line is time in UTC, which is kind of useless. It is much better to print that time in the local timezone, similar to spark-rapids, so we (dev) can use it.

sameerz commented 6 months ago

This is an issue of the build running in a docker file which does not have a time zone set.

Since this is also run by CI, we want to make sure the CI environment is running in UTC.