You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HADOOP-18797. Support Concurrent Writes With S3A Magic Committer (#6006)
Jobs which commit their work to S3 through
the magic committer now use a unique magic path
containing the job ID:
__magic_job-${jobid}
This allows for multiple jobs to write
to the same destination simultaneously.
Contributed by Syed Shameerur Rahman
Copy file name to clipboardExpand all lines: hadoop-tools/hadoop-aws/src/site/markdown/tools/hadoop-aws/committer_architecture.md
+21-21Lines changed: 21 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1308,12 +1308,12 @@ so returning the special new stream.
1308
1308
1309
1309
1310
1310
1311
-
This is done with a "magic" temporary directory name, `__magic`, to indicate that all files
1311
+
This is done with a "MAGIC PATH" (where the filesystem knows to remap paths with prefix `__magic_job-${jobId}`) temporary directory name to indicate that all files
1312
1312
created under this path are not to be completed during the stream write process.
1313
1313
Directories created under the path will still be created —this allows job- and
1314
1314
task-specific directories to be created for individual job and task attempts.
1315
1315
1316
-
For example, the pattern `__magic/${jobID}/${taskId}` could be used to
1316
+
For example, the pattern `${MAGIC PATH}/${jobID}/${taskId}` could be used to
1317
1317
store pending commits to the final directory for that specific task. If that
1318
1318
task is committed, all pending commit files stored in that path will be loaded
1319
1319
and used to commit the final uploads.
@@ -1322,19 +1322,19 @@ Consider a job with the final directory `/results/latest`
1322
1322
1323
1323
The intermediate directory for the task 01 attempt 01 of job `job_400_1` would be
0 commit comments