@InterfaceAudience.Public
@InterfaceStability.Unstable
public class RemoteFileChangedException
extends org.apache.hadoop.fs.PathIOException
S3AInputStream is
open, or when a file expected was never found.| Modifier and Type | Field and Description |
|---|---|
static String |
FILE_NEVER_FOUND
While trying to get information on a file known to S3Guard, the
file never became visible in S3.
|
static String |
FILE_NOT_FOUND_SINGLE_ATTEMPT
The file wasn't found in rename after a single attempt -the unguarded
codepath.
|
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, withFullyQualifiedPathaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final String PRECONDITIONS_FAILED
public static final String FILE_NEVER_FOUND
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–2022 Apache Software Foundation. All rights reserved.