@InterfaceAudience.Public
@InterfaceStability.Unstable
public class RemoteFileChangedException
extends org.apache.hadoop.fs.PathIOException
S3AInputStream
is
open, or when a file to be renamed disappeared during the operation.Modifier and Type | Field and Description |
---|---|
static String |
FILE_NOT_FOUND_SINGLE_ATTEMPT
The file disappeaded during a rename between LIST and COPY.
|
static String |
PRECONDITIONS_FAILED |
Constructor and Description |
---|
RemoteFileChangedException(String path,
String operation,
String message)
Constructs a RemoteFileChangedException.
|
RemoteFileChangedException(String path,
String operation,
String message,
Throwable cause)
Constructs a RemoteFileChangedException.
|
getMessage, getPath, getTargetPath, setOperation, setTargetPath, withFullyQualifiedPath
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static final String PRECONDITIONS_FAILED
public static final String FILE_NOT_FOUND_SINGLE_ATTEMPT
public RemoteFileChangedException(String path, String operation, String message)
path
- the path accessed when the change was detectedoperation
- the operation (e.g. open, re-open) performed when the
change was detectedmessage
- a message providing more details about the conditionpublic RemoteFileChangedException(String path, String operation, String message, Throwable cause)
path
- the path accessed when the change was detectedoperation
- the operation (e.g. open, re-open) performed when the
change was detectedmessage
- a message providing more details about the conditioncause
- inner cause.Copyright © 2008–2024 Apache Software Foundation. All rights reserved.