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) {
|
if (verifyBulkLoads) {
|
||||||
long verificationStartTime = EnvironmentEdgeManager.currentTimeMillis();
|
long verificationStartTime = EnvironmentEdgeManager.currentTime();
|
||||||
LOG.info("Full verification started for bulk load hfile: " + srcPath.toString());
|
LOG.info("Full verification started for bulk load hfile: " + srcPath.toString());
|
||||||
Cell prevKV = null;
|
Cell prevKV = null;
|
||||||
HFileScanner scanner = reader.getScanner(false, false, false);
|
HFileScanner scanner = reader.getScanner(false, false, false);
|
||||||
|
@ -735,7 +735,7 @@ public class HStore implements Store {
|
||||||
prevKV = kv;
|
prevKV = kv;
|
||||||
} while (scanner.next());
|
} while (scanner.next());
|
||||||
LOG.info("Full verification complete for bulk load hfile: " + srcPath.toString()
|
LOG.info("Full verification complete for bulk load hfile: " + srcPath.toString()
|
||||||
+ " took " + (EnvironmentEdgeManager.currentTimeMillis() - verificationStartTime)
|
+ " took " + (EnvironmentEdgeManager.currentTime() - verificationStartTime)
|
||||||
+ " ms");
|
+ " ms");
|
||||||
}
|
}
|
||||||
} finally {
|
} finally {
|
||||||
|
|
Loading…
Reference in New Issue