abstract class S3InputFormat[K, V] extends InputFormat[K, V]
Reads keys from s3n URL using AWS Java SDK. The number of keys per InputSplits are controlled by S3 pagination. If AWS credentials are not part of the URL they will be discovered using [DefaultAWSCredentialsProviderChain]:
- EnvironmentVariableCredentialsProvider
- SystemPropertiesCredentialsProvider
- ProfileCredentialsProvider
- InstanceProfileCredentialsProvider
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- S3InputFormat
- InputFormat
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new S3InputFormat()
Abstract Value Members
-
abstract
def
createRecordReader(arg0: InputSplit, arg1: TaskAttemptContext): RecordReader[K, V]
- Definition Classes
- InputFormat
- Annotations
- @throws( classOf[java.io.IOException] ) @throws( ... )
Concrete Value Members
- def getS3Client(context: JobContext): S3Client
-
def
getSplits(context: JobContext): List[InputSplit]
- Definition Classes
- S3InputFormat → InputFormat