Package org.apache.spark.errors
Class SparkCoreErrors
Object
org.apache.spark.errors.SparkCoreErrors
Object for grouping error messages from (most) exceptions thrown during query execution.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ThrowableaccessNonExistentAccumulatorError(long id) static ThrowableaddDirectoryError(org.apache.hadoop.fs.Path path) static ThrowableaddLocalDirectoryError(org.apache.hadoop.fs.Path path) static Throwablestatic Throwablestatic Throwablestatic ThrowableblockDoesNotExistError(BlockId blockId) static ThrowableblockHaveBeenRemovedError(String string) static ThrowableblockNotFoundError(BlockId blockId) static ThrowableblockStatusQueryReturnedNullError(BlockId blockId) static Throwablestatic Throwablestatic Throwablestatic Throwablestatic Throwablestatic Throwablestatic ThrowablecheckpointFailedToSaveError(int task, org.apache.hadoop.fs.Path path) static ThrowablecheckpointRDDBlockIdNotFoundError(RDDBlockId rddBlockId) static ThrowablecheckpointRDDHasDifferentNumberOfPartitionsFromOriginalRDDError(int originalRDDId, int originalRDDLength, int newRDDId, int newRDDLength) static ThrowableclusterSchedulerError(String message) static Throwablestatic Throwablestatic Throwablestatic Throwablestatic Throwablestatic ThrowableeofExceptionWhileReadPortNumberError(String daemonModule, scala.Option<Object> daemonExitValue) static ThrowablefailedRenameTempFileError(File srcFile, File dstFile) static ThrowablefailToCreateCheckpointPathError(org.apache.hadoop.fs.Path checkpointDirPath) static ThrowablefailToCreateDirectoryError(String path, int maxAttempts) static ThrowablefailToGetBlockWithLockError(BlockId blockId) static ThrowablefailToGetNonShuffleBlockError(BlockId blockId, Throwable e) static Throwablestatic ThrowablefailToStoreBlockOnBlockManagerError(BlockManagerId blockManagerId, BlockId blockId) static ThrowablefetchFailedError(BlockManagerId bmAddress, int shuffleId, long mapId, int mapIndex, int reduceId, String message, Throwable cause) static ThrowablegraphiteSinkInvalidProtocolError(String invalidProtocol) static ThrowablegraphiteSinkPropertyMissingError(String missingProperty) static Throwablestatic Throwablestatic Throwablestatic ThrowableinvalidCheckpointFileError(org.apache.hadoop.fs.Path path) static Throwablestatic Throwablestatic ThrowablenonEmptyEventQueueAfterTimeoutError(long timeoutMillis) static Throwablestatic ThrowablenumPartitionsGreaterThanMaxNumConcurrentTasksError(int numPartitions, int maxNumConcurrentTasks) static OutOfMemoryErroroutOfMemoryError(long requestedBytes, long receivedBytes) static ThrowablepathNotSupportedError(String path) static ThrowablerddBlockNotFoundError(BlockId blockId, int id) static Throwablestatic ThrowablereadLockedBlockNotFoundError(BlockId blockId) static Throwablestatic Throwablestatic ThrowablesparkError(String errorMsg) static Throwablestatic ThrowabletaskHasNotLockedBlockError(long currentTaskAttemptId, BlockId blockId) static Stringstatic Stringstatic Throwablestatic Throwablestatic ThrowableunexpectedPy4JServerError(Object other) static ThrowableunexpectedShuffleBlockWithUnsupportedResolverError(org.apache.spark.shuffle.ShuffleManager shuffleManager, BlockId blockId) static Throwablestatic ThrowableunrecognizedSchedulerModePropertyError(String schedulerModeProperty, String schedulingModeConf) static ThrowableunsupportedDataTypeError(Object other) static Throwablestatic Throwablestatic Throwable
-
Constructor Details
-
SparkCoreErrors
public SparkCoreErrors()
-
-
Method Details
-
unexpectedPy4JServerError
-
eofExceptionWhileReadPortNumberError
-
unsupportedDataTypeError
-
rddBlockNotFoundError
-
blockHaveBeenRemovedError
-
histogramOnEmptyRDDOrContainingInfinityOrNaNError
-
emptyRDDError
-
pathNotSupportedError
-
checkpointRDDBlockIdNotFoundError
-
endOfStreamError
-
cannotUseMapSideCombiningWithArrayKeyError
-
hashPartitionerCannotPartitionArrayKeyError
-
reduceByKeyLocallyNotSupportArrayKeysError
-
rddLacksSparkContextError
-
cannotChangeStorageLevelError
-
canOnlyZipRDDsWithSamePartitionSizeError
-
emptyCollectionError
-
countByValueApproxNotSupportArraysError
-
checkpointDirectoryHasNotBeenSetInSparkContextError
-
invalidCheckpointFileError
-
failToCreateCheckpointPathError
public static Throwable failToCreateCheckpointPathError(org.apache.hadoop.fs.Path checkpointDirPath) -
checkpointRDDHasDifferentNumberOfPartitionsFromOriginalRDDError
public static Throwable checkpointRDDHasDifferentNumberOfPartitionsFromOriginalRDDError(int originalRDDId, int originalRDDLength, int newRDDId, int newRDDLength) -
checkpointFailedToSaveError
-
mustSpecifyCheckpointDirError
-
askStandaloneSchedulerToShutDownExecutorsError
-
stopStandaloneSchedulerDriverEndpointError
-
noExecutorIdleError
-
barrierStageWithRDDChainPatternError
-
barrierStageWithDynamicAllocationError
-
numPartitionsGreaterThanMaxNumConcurrentTasksError
public static Throwable numPartitionsGreaterThanMaxNumConcurrentTasksError(int numPartitions, int maxNumConcurrentTasks) -
cannotRunSubmitMapStageOnZeroPartitionRDDError
-
accessNonExistentAccumulatorError
-
sendResubmittedTaskStatusForShuffleMapStagesOnlyError
-
nonEmptyEventQueueAfterTimeoutError
-
durationCalledOnUnfinishedTaskError
-
unrecognizedSchedulerModePropertyError
-
sparkError
-
clusterSchedulerError
-
failToSerializeTaskError
-
unrecognizedBlockIdError
-
taskHasNotLockedBlockError
-
blockDoesNotExistError
-
cannotSaveBlockOnDecommissionedExecutorError
-
waitingForReplicationToFinishError
-
unableToRegisterWithExternalShuffleServerError
-
waitingForAsyncReregistrationError
-
unexpectedShuffleBlockWithUnsupportedResolverError
-
failToStoreBlockOnBlockManagerError
public static Throwable failToStoreBlockOnBlockManagerError(BlockManagerId blockManagerId, BlockId blockId) -
readLockedBlockNotFoundError
-
failToGetBlockWithLockError
-
blockNotFoundError
-
interruptedError
-
blockStatusQueryReturnedNullError
-
unexpectedBlockManagerMasterEndpointResultError
-
failToCreateDirectoryError
-
unsupportedOperationError
-
noSuchElementError
-
fetchFailedError
public static Throwable fetchFailedError(BlockManagerId bmAddress, int shuffleId, long mapId, int mapIndex, int reduceId, String message, Throwable cause) -
failToGetNonShuffleBlockError
-
graphiteSinkInvalidProtocolError
-
graphiteSinkPropertyMissingError
-
outOfMemoryError
-
failedRenameTempFileError
-
addLocalDirectoryError
-
addDirectoryError
-
toConf
-
toConfVal
-