You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@giraph.apache.org by ac...@apache.org on 2012/04/06 10:20:36 UTC

svn commit: r1310224 - in /incubator/giraph/trunk: CHANGELOG src/main/java/org/apache/giraph/graph/MasterThread.java

Author: aching
Date: Fri Apr  6 08:20:36 2012
New Revision: 1310224

URL: http://svn.apache.org/viewvc?rev=1310224&view=rev
Log:
GIRAPH-171: Total time in MasterThread.run() is calculated incorrectly
(ekoontz via aching).

Modified:
    incubator/giraph/trunk/CHANGELOG
    incubator/giraph/trunk/src/main/java/org/apache/giraph/graph/MasterThread.java

Modified: incubator/giraph/trunk/CHANGELOG
URL: http://svn.apache.org/viewvc/incubator/giraph/trunk/CHANGELOG?rev=1310224&r1=1310223&r2=1310224&view=diff
==============================================================================
--- incubator/giraph/trunk/CHANGELOG (original)
+++ incubator/giraph/trunk/CHANGELOG Fri Apr  6 08:20:36 2012
@@ -2,6 +2,9 @@ Giraph Change Log
 
 Release 0.2.0 - unreleased
 
+  GIRAPH-171: Total time in MasterThread.run() is calculated
+  incorrectly (ekoontz via aching).
+
   GIRAPH-144: GiraphJob should not extend Job (users should not be
   able to call Job methods like waitForCompletion or setMapper..etc)
   (aching).

Modified: incubator/giraph/trunk/src/main/java/org/apache/giraph/graph/MasterThread.java
URL: http://svn.apache.org/viewvc/incubator/giraph/trunk/src/main/java/org/apache/giraph/graph/MasterThread.java?rev=1310224&r1=1310223&r2=1310224&view=diff
==============================================================================
--- incubator/giraph/trunk/src/main/java/org/apache/giraph/graph/MasterThread.java (original)
+++ incubator/giraph/trunk/src/main/java/org/apache/giraph/graph/MasterThread.java Fri Apr  6 08:20:36 2012
@@ -170,8 +170,8 @@ public class MasterThread<I extends Writ
               (System.currentTimeMillis() - endMillis) /
               1000.0d + " seconds.");
           LOG.info("total: Took " +
-              ((System.currentTimeMillis() / 1000.0d) -
-                  setupSecs) + " seconds.");
+              ((System.currentTimeMillis() - startMillis) /
+              1000.0d) + " seconds.");
         }
         context.getCounter(
             GIRAPH_TIMERS_COUNTER_GROUP_NAME,