hadoop/hadoop-common-project
Steve Loughran aeb2a2f860
HADOOP-17833. Improve Magic Committer performance (#3289) (#4470)
Speed up the magic committer with key changes being

* Writes under __magic always retain directory markers

* File creation under __magic skips all overwrite checks,
  including the LIST call intended to stop files being
        created over dirs.
* mkdirs under __magic probes the path for existence
  but does not look any further.

Extra parallelism in task and job commit directory scanning
Use of createFile and openFile with parameters which all for
HEAD checks to be skipped.

The committer can write the summary _SUCCESS file to the path
`fs.s3a.committer.summary.report.directory`, which can be in a
different file system/bucket if desired, using the job id as
the filename.

Also: HADOOP-15460. S3A FS to add `fs.s3a.create.performance`

Application code can set the createFile() option
fs.s3a.create.performance to true to disable the same
safety checks when writing under magic directories.
Use with care.

The createFile option prefix `fs.s3a.create.header.`
can be used to add custom headers to S3 objects when
created.

Contributed by Steve Loughran.
2022-06-21 10:49:37 +01:00
..
hadoop-annotations HADOOP-18198. Preparing for 3.3.4 development 2022-04-12 14:09:08 +01:00
hadoop-auth HADOOP-18198. Preparing for 3.3.4 development 2022-04-12 14:09:08 +01:00
hadoop-auth-examples HADOOP-18198. Preparing for 3.3.4 development 2022-04-12 14:09:08 +01:00
hadoop-common HADOOP-17833. Improve Magic Committer performance (#3289) (#4470) 2022-06-21 10:49:37 +01:00
hadoop-kms HADOOP-18198. Preparing for 3.3.4 development 2022-04-12 14:09:08 +01:00
hadoop-minikdc HADOOP-18198. Preparing for 3.3.4 development 2022-04-12 14:09:08 +01:00
hadoop-nfs HADOOP-18198. Preparing for 3.3.4 development 2022-04-12 14:09:08 +01:00
hadoop-registry HADOOP-17956. Replace all default Charset usage with UTF-8 (#3529) 2022-04-27 10:30:07 +01:00
pom.xml HADOOP-18198. Preparing for 3.3.4 development 2022-04-12 14:09:08 +01:00