HBASE-11822 Convert EnvironmentEdge#getCurrentTimeMillis to getCurrentTime

This commit is contained in:
stack 2014-08-29 17:14:17 -07:00
parent f149c26e9a
commit 7ac9cbbca0
1 changed files with 2 additions and 2 deletions

View File

@ -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 {