HBASE-11822 Convert EnvironmentEdge#getCurrentTimeMillis to getCurrentTime
This commit is contained in:
parent
f149c26e9a
commit
7ac9cbbca0
|
@ -707,7 +707,7 @@ public class HStore implements Store {
|
|||
}
|
||||
|
||||
if (verifyBulkLoads) {
|
||||
long verificationStartTime = EnvironmentEdgeManager.currentTimeMillis();
|
||||
long verificationStartTime = EnvironmentEdgeManager.currentTime();
|
||||
LOG.info("Full verification started for bulk load hfile: " + srcPath.toString());
|
||||
Cell prevKV = null;
|
||||
HFileScanner scanner = reader.getScanner(false, false, false);
|
||||
|
@ -735,7 +735,7 @@ public class HStore implements Store {
|
|||
prevKV = kv;
|
||||
} while (scanner.next());
|
||||
LOG.info("Full verification complete for bulk load hfile: " + srcPath.toString()
|
||||
+ " took " + (EnvironmentEdgeManager.currentTimeMillis() - verificationStartTime)
|
||||
+ " took " + (EnvironmentEdgeManager.currentTime() - verificationStartTime)
|
||||
+ " ms");
|
||||
}
|
||||
} finally {
|
||||
|
|
Loading…
Reference in New Issue