You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@giraph.apache.org by di...@apache.org on 2020/09/22 00:11:43 UTC

[giraph] branch trunk updated: closes #143

This is an automated email from the ASF dual-hosted git repository.

dionysios pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/giraph.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 993731c  closes #143
993731c is described below

commit 993731c3d9a2f6650f83a668e5c73bb3a127c469
Author: Dionysios Logothetis <dl...@gmail.com>
AuthorDate: Mon Sep 21 17:11:22 2020 -0700

    closes #143
---
 giraph-core/src/main/java/org/apache/giraph/graph/GraphTaskManager.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/giraph-core/src/main/java/org/apache/giraph/graph/GraphTaskManager.java b/giraph-core/src/main/java/org/apache/giraph/graph/GraphTaskManager.java
index 8bc73d3..280d285 100644
--- a/giraph-core/src/main/java/org/apache/giraph/graph/GraphTaskManager.java
+++ b/giraph-core/src/main/java/org/apache/giraph/graph/GraphTaskManager.java
@@ -642,7 +642,7 @@ end[PURE_YARN]*/
                   info.getGcCause() + ", duration = " +
                   info.getGcInfo().getDuration() + "ms");
             }
-            if (gcTimeMetrics != null) {
+            if (gcTimeMetric != null) {
               gcTimeMetric.inc(info.getGcInfo().getDuration());
             }
             GiraphMetrics.get().getGcTracker().gcOccurred(info.getGcInfo());