Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion hadoop-tools/hadoop-aws/dev-support/findbugs-exclude.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
</Match>
<!-- we are using completable futures, so ignore the Future which submit() returns -->
<Match>
<Class name="org.apache.hadoop.fs.s3a.S3AFileSystem$InputStreamCallbacksImpl" />
<Class name="org.apache.hadoop.fs.s3a.impl.InputStreamCallbacksImpl" />
<Bug pattern="RV_RETURN_VALUE_IGNORED_BAD_PRACTICE" />
</Match>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import org.apache.hadoop.classification.InterfaceAudience;
import org.apache.hadoop.classification.InterfaceStability;
import org.apache.hadoop.fs.Options;
import org.apache.hadoop.fs.s3a.impl.streams.InputStreamType;
import org.apache.hadoop.security.ssl.DelegatingSSLSocketFactory;

import java.time.Duration;
Expand Down Expand Up @@ -1580,6 +1581,35 @@ private Constants() {
*/
public static final String AWS_AUTH_CLASS_PREFIX = "com.amazonaws.auth";

/**
* Input stream type: {@value}.
*/
public static final String INPUT_STREAM_TYPE = "fs.s3a.input.stream.type";

/**
* The classic input stream.
*/
public static final String INPUT_STREAM_TYPE_CLASSIC =
InputStreamType.Classic.getName();

/**
* The prefetching input stream: "prefetch".
*/
public static final String INPUT_STREAM_TYPE_PREFETCH = InputStreamType.Prefetch.getName();

/**
* The analytics input stream: "analytics".
*/
public static final String INPUT_STREAM_TYPE_ANALYTICS =
InputStreamType.Analytics.getName();

/**
* The default input stream.
* Currently {@link #INPUT_STREAM_TYPE_CLASSIC}
*/
public static final String INPUT_STREAM_TYPE_DEFAULT =
InputStreamType.DEFAULT_STREAM_TYPE.getName();

/**
* Controls whether the prefetching input stream is enabled.
*/
Expand Down
Loading
Loading