You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2020/05/29 03:31:30 UTC
[GitHub] [hadoop-ozone] ChenSammi commented on a change in pull request #976: HDDS-3672. Ozone fs failed to list intermediate directory.
ChenSammi commented on a change in pull request #976:
URL: https://github.com/apache/hadoop-ozone/pull/976#discussion_r432236941
##########
File path: hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/HddsUtils.java
##########
@@ -465,11 +464,11 @@ public static ObjectName registerWithJmxProperties(
}
/**
- * Get the current UTC time in milliseconds.
- * @return the current UTC time in milliseconds.
+ * Get the current time in milliseconds.
+ * @return the current time in milliseconds.
*/
- public static long getUtcTime() {
- return Calendar.getInstance(UTC_ZONE).getTimeInMillis();
+ public static long getTime() {
+ return System.currentTimeMillis();
Review comment:
It's part of another PR. Will upload a clean patch.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org