zhengruifeng commented on code in PR #50751: URL: https://github.com/apache/spark/pull/50751#discussion_r2072807807
########## common/utils/src/main/resources/error/error-conditions.json: ########## @@ -811,6 +811,16 @@ "Cannot retrieve <objectName> from the ML cache. It is probably because the entry has been evicted." ] }, + "MODEL_SIZE_OVERFLOW_EXCEPTION" : { + "message" : [ + "<message>" Review Comment: it should contains the main body of the error information: ``` "The model cache size in current session is about to exceed" + f"$getModelCacheMaxSize bytes. " + "Please delete existing cached model by executing 'del model' in python client " + "before fitting new model or loading new model, or increase " + "Spark config 'spark.connect.session.connectML.model.maxSize'." ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org