Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.6.3, 2.0.2, 2.1.3, 2.2.3, 2.3.4, 2.4.5
-
None
-
macOS Mojave 10.14.6
Description
Since shutdownHookManager use below method to do the comparison.
override def compareTo(other: SparkShutdownHook): Int =
Which will cause :
(Int)(25 - Integer.MIN_VALUE) < 0
Then the shutdownhook with Integer.Min_VALUE would not be called the last.