You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2014/08/30 02:30:21 UTC

[4/5] git commit: HBASE-11822 Convert EnvironmentEdge#getCurrentTimeMillis to getCurrentTime

HBASE-11822 Convert EnvironmentEdge#getCurrentTimeMillis to getCurrentTime


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/7ac9cbbc
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/7ac9cbbc
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/7ac9cbbc

Branch: refs/heads/branch-1
Commit: 7ac9cbbca034735b04eae4473b7e8418da51d17b
Parents: f149c26
Author: stack <st...@apache.org>
Authored: Fri Aug 29 17:14:17 2014 -0700
Committer: stack <st...@apache.org>
Committed: Fri Aug 29 17:26:02 2014 -0700

----------------------------------------------------------------------
 .../main/java/org/apache/hadoop/hbase/regionserver/HStore.java   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/7ac9cbbc/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HStore.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HStore.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HStore.java
index 00ebbfb..fb7a26c 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HStore.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HStore.java
@@ -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 {