[ https://issues.apache.org/jira/browse/SPARK-10158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14981532#comment-14981532 ]
Sean Owen commented on SPARK-10158: ----------------------------------- The exception is basically "can't cast a Long to Int" which seems reasonably good as a clue. Catching the exception in this case and only this seems like too much of a hack even if it's small. What about vetting the input in Pyspark more explicitly to start rather than waiting for the error? or just punting on this. > ALS should print better errors when given Long IDs > -------------------------------------------------- > > Key: SPARK-10158 > URL: https://issues.apache.org/jira/browse/SPARK-10158 > Project: Spark > Issue Type: Improvement > Components: ML, MLlib, PySpark > Reporter: Joseph K. Bradley > Priority: Minor > > See [SPARK-10115] for the very confusing messages you get when you try to use > ALS with Long IDs. We should catch and identify these errors and print > meaningful error messages. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org