Repository: spark Updated Branches: refs/heads/branch-2.2 c8bbab664 -> acd4481ec
[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 <[email protected]> Closes #18188 from davideis/fix-test. (cherry picked from commit 96e6ba6c2aaddd885ba6a842fbfcd73c5537f99e) Signed-off-by: Sean Owen <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/acd4481e Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/acd4481e Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/acd4481e Branch: refs/heads/branch-2.2 Commit: acd4481ecf59702b2a2459b8cc7c13397656c329 Parents: c8bbab6 Author: David Eis <[email protected]> Authored: Sat Jun 3 09:48:10 2017 +0100 Committer: Sean Owen <[email protected]> Committed: Sat Jun 3 09:48:19 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/acd4481e/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: [email protected] For additional commands, e-mail: [email protected]
