You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@giraph.apache.org by ma...@apache.org on 2017/09/21 14:36:34 UTC

git commit: updated refs/heads/trunk to 22e8511

Repository: giraph
Updated Branches:
  refs/heads/trunk b8f966acb -> 22e8511f2


JIRA-1160

closes #49


Project: http://git-wip-us.apache.org/repos/asf/giraph/repo
Commit: http://git-wip-us.apache.org/repos/asf/giraph/commit/22e8511f
Tree: http://git-wip-us.apache.org/repos/asf/giraph/tree/22e8511f
Diff: http://git-wip-us.apache.org/repos/asf/giraph/diff/22e8511f

Branch: refs/heads/trunk
Commit: 22e8511f2f68b536a0b1c31b2ec271fab255d5bb
Parents: b8f966a
Author: Maja Kabiljo <ma...@fb.com>
Authored: Thu Sep 21 07:35:53 2017 -0700
Committer: Maja Kabiljo <ma...@fb.com>
Committed: Thu Sep 21 07:36:26 2017 -0700

----------------------------------------------------------------------
 .../org/apache/giraph/ooc/policy/MemoryEstimatorOracle.java     | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/giraph/blob/22e8511f/giraph-core/src/main/java/org/apache/giraph/ooc/policy/MemoryEstimatorOracle.java
----------------------------------------------------------------------
diff --git a/giraph-core/src/main/java/org/apache/giraph/ooc/policy/MemoryEstimatorOracle.java b/giraph-core/src/main/java/org/apache/giraph/ooc/policy/MemoryEstimatorOracle.java
index 1233183..73f6681 100644
--- a/giraph-core/src/main/java/org/apache/giraph/ooc/policy/MemoryEstimatorOracle.java
+++ b/giraph-core/src/main/java/org/apache/giraph/ooc/policy/MemoryEstimatorOracle.java
@@ -789,10 +789,9 @@ public class MemoryEstimatorOracle implements OutOfCoreOracle {
       List<Integer> validColumnIndices, OLSMultipleLinearRegression mlr) {
 
       if (coefficient.length != validColumnIndices.size()) {
-        LOG.warn("There are " + coefficient.length +
-          " coefficients, but " + validColumnIndices.size() +
+        LOG.info("There are " + coefficient.length +
+          " coefficients, and " + validColumnIndices.size() +
           " valid columns in the regression");
-        return false;
       }
 
       double[] beta = mlr.estimateRegressionParameters();