Package org.apache.drill.exec.server
Class FailureUtils
java.lang.Object
org.apache.drill.exec.server.FailureUtils
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
This message is used to distinguish between direct memory and heap memoryOutOfMemoryError
s.static final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
static boolean
static boolean
static void
unrecoverableFailure
(Throwable e, String message, int exitCode)
-
Field Details
-
EXIT_CODE_HEAP_OOM
public static final int EXIT_CODE_HEAP_OOM- See Also:
-
EXIT_CODE_JAVA_ERROR
public static final int EXIT_CODE_JAVA_ERROR- See Also:
-
DIRECT_MEMORY_OOM_MESSAGE
This message is used to distinguish between direct memory and heap memoryOutOfMemoryError
s.- See Also:
-
-
Method Details
-
isDirectMemoryOOM
-
isHeapOOM
-
unrecoverableFailure
-
hadUnrecoverableFailure
public static boolean hadUnrecoverableFailure()
-