spark-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sro...@apache.org
Subject spark git commit: [SPARK-20790][MLLIB] Remove extraneous logging in test
Date Sat, 03 Jun 2017 08:48:15 GMT
Repository: spark
Updated Branches:
  refs/heads/master 6cbc61d10 -> 96e6ba6c2


[SPARK-20790][MLLIB] Remove extraneous logging in test

## What changes were proposed in this pull request?

Remove extraneous logging.

## How was this patch tested?

Unit tests pass.

Author: David Eis <deis@bloomberg.net>

Closes #18188 from davideis/fix-test.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/96e6ba6c
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/96e6ba6c
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/96e6ba6c

Branch: refs/heads/master
Commit: 96e6ba6c2aaddd885ba6a842fbfcd73c5537f99e
Parents: 6cbc61d
Author: David Eis <deis@bloomberg.net>
Authored: Sat Jun 3 09:48:10 2017 +0100
Committer: Sean Owen <sowen@cloudera.com>
Committed: Sat Jun 3 09:48:10 2017 +0100

----------------------------------------------------------------------
 .../test/scala/org/apache/spark/ml/recommendation/ALSSuite.scala   | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/96e6ba6c/mllib/src/test/scala/org/apache/spark/ml/recommendation/ALSSuite.scala
----------------------------------------------------------------------
diff --git a/mllib/src/test/scala/org/apache/spark/ml/recommendation/ALSSuite.scala b/mllib/src/test/scala/org/apache/spark/ml/recommendation/ALSSuite.scala
index 701040f..3094f52 100644
--- a/mllib/src/test/scala/org/apache/spark/ml/recommendation/ALSSuite.scala
+++ b/mllib/src/test/scala/org/apache/spark/ml/recommendation/ALSSuite.scala
@@ -498,8 +498,6 @@ class ALSSuite
     val itemFactorsNeg = modelWithNeg.itemFactors
     val userFactorsZero = modelWithZero.userFactors
     val itemFactorsZero = modelWithZero.itemFactors
-    userFactorsNeg.collect().foreach(arr => logInfo(s"implicit test " + arr.mkString("
")))
-    userFactorsZero.collect().foreach(arr => logInfo(s"implicit test " + arr.mkString("
")))
     assert(userFactorsNeg.intersect(userFactorsZero).count() == 0)
     assert(itemFactorsNeg.intersect(itemFactorsZero).count() == 0)
   }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org


Mime
View raw message