Details
-
Improvement
-
Status: In Progress
-
Minor
-
Resolution: Unresolved
-
2.9.2
-
None
Description
Getting timestamps in Centralized cache management is done in the following ways:
long now = new Date().getTime();
This approach doesn't seem to be optimal since we only use it once here.
It might be better to use the tool Time to get the timestamp. E.g:
long now = Time.now();
Attachments
Issue Links
- is related to
-
HDFS-4949 Centralized cache management in HDFS
- Closed
- links to