Github user ueshin commented on a diff in the pull request:
https://github.com/apache/spark/pull/20682#discussion_r171190866
--- Diff: python/pyspark/ml/recommendation.py ---
@@ -480,4 +480,4 @@ def recommendForItemSubset(self, dataset, numUsers):
except OSError:
pass
if failure_count:
- exit(-1)
+ sys.exit(-1)
--- End diff --
need to import sys.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]