Github user xuanyuanking commented on a diff in the pull request: https://github.com/apache/spark/pull/22989#discussion_r232721829 --- Diff: dev/checkstyle.xml --- @@ -64,6 +64,11 @@ <property name="message" value="No trailing whitespace allowed."/> </module> + <module name="RegexpSingleline"> + <property name="format" value="throw new OutOfMemoryError"/> + <property name="message" value="Throw OutOfMemoryError will kill entire executor, replace it with SparkOutOfMemoryError."/> --- End diff -- Thanks, rewrite this rule in 6e49bb8.
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org