Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.0.0-alpha-2, 2.3.7, 2.4.12, 2.5.1
-
None
-
Reviewed
Description
In the HFileBlock class
protected HFileBlock readBlockDataInternal(FSDataInputStream is, long offset, long onDiskSizeWithHeaderL, boolean pread, boolean verifyChecksum, boolean updateMetrics, boolean intoHeap) throws IOException { ... long startTime = EnvironmentEdgeManager.currentTime(); ... long duration = EnvironmentEdgeManager.currentTime() - startTime; if (updateMetrics) { HFile.updateReadLatency(duration, pread); } ... LOG.trace("Read {} in {} ns", hFileBlock, duration); ... }
But Environment EdgeManager.currentTime returns milliseconds.
Attachments
Issue Links
- links to