Github user ueshin commented on a diff in the pull request:
https://github.com/apache/spark/pull/20682#discussion_r171189077
--- Diff: python/pyspark/ml/clustering.py ---
@@ -1181,4 +1181,4 @@ def getKeepLastCheckpoint(self):
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]
