Github user BryanCutler commented on the pull request:

    https://github.com/apache/spark/pull/7333#issuecomment-120189054
  
    @mengxr, using branch-1.3 I gave ALS a -1 block size and got the following 
exception:
    
    [info] ALSSuite:
    [info] - more blocks than ratings *** FAILED *** (1 second, 112 
milliseconds)
    [info]   **java.lang.IllegalArgumentException: requirement failed: 
numBlocks must be positive but found -1.**
    [info]   at scala.Predef$.require(Predef.scala:233)
    [info]   at 
org.apache.spark.ml.recommendation.ALS$LocalIndexEncoder.<init>(ALS.scala:1164)
    
    Seems like it's already fixed to me, what do you think?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to