[ 
https://issues.apache.org/jira/browse/MAPREDUCE-7341?focusedWorklogId=739457&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-739457
 ]

ASF GitHub Bot logged work on MAPREDUCE-7341:
---------------------------------------------

                Author: ASF GitHub Bot
            Created on: 10/Mar/22 13:23
            Start Date: 10/Mar/22 13:23
    Worklog Time Spent: 10m 
      Work Description: steveloughran commented on pull request #2971:
URL: https://github.com/apache/hadoop/pull/2971#issuecomment-1064056063


   checkstyles are about use of numbers in test cases i want ordered, and from 
a method with 8 params. wontfix
   
   ```
   
./hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapreduce/lib/output/committer/manifest/AbstractManifestCommitterTest.java:523:
  private List<Future<Path>> createFilesOrDirs(:30: More than 7 parameters 
(found 8). [ParameterNumber]
   
./hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapreduce/lib/output/committer/manifest/TestJobThroughManifestCommitter.java:214:
  public void test_0000_setupTestDir() throws Throwable {:15: Name 
'test_0000_setupTestDir' must match pattern '^[a-z][a-zA-Z0-9]*$'. [MethodName]
   
./hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapreduce/lib/output/committer/manifest/TestJobThroughManifestCommitter.java:220:
  public void test_0100_setupJobStage() throws Throwable {:15: Name 
'test_0100_setupJobStage' must match pattern '^[a-z][a-zA-Z0-9]*$'. [MethodName]
   
./hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapreduce/lib/output/committer/manifest/TestJobThroughManifestCommitter.java:236:
  public void test_0110_setupJobOnlyAllowedOnce() throws Throwable {:15: Name 
'test_0110_setupJobOnlyAllowedOnce' must match pattern '^[a-z][a-zA-Z0-9]*$'. 
[MethodName]
   
./hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapreduce/lib/output/committer/manifest/TestJobThroughManifestCommitter.java:246:
  public void test_0120_setupJobNewAttemptNumber() throws Throwable {:15: Name 
'test_0120_setupJobNewAttemptNumber' must match pattern '^[a-z][a-zA-Z0-9]*$'. 
[MethodName]
   
./hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapreduce/lib/output/committer/manifest/TestJobThroughManifestCommitter.java:258:
  public void test_0200_setupTask00() throws Throwable {:15: Name 
'test_0200_setupTask00' must match pattern '^[a-z][a-zA-Z0-9]*$'. [MethodName]
   
./hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapreduce/lib/output/committer/manifest/TestJobThroughManifestCommitter.java:275:
  public void test_0210_setupTask00OnlyAllowedOnce() throws Throwable {:15: 
Name 'test_0210_setupTask00OnlyAllowedOnce' must match pattern 
'^[a-z][a-zA-Z0-9]*$'. [MethodName]
   
./hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapreduce/lib/output/committer/manifest/TestJobThroughManifestCommitter.java:283:
  public void test_0220_setupTask01() throws Throwable {:15: Name 
'test_0220_setupTask01' must match pattern '^[a-z][a-zA-Z0-9]*$'. [MethodName]
   
./hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapreduce/lib/output/committer/manifest/TestJobThroughManifestCommitter.java:293:
  public void test_0230_setupTask10() throws Throwable {:15: Name 
'test_0230_setupTask10' must match pattern '^[a-z][a-zA-Z0-9]*$'. [MethodName]
   
./hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapreduce/lib/output/committer/manifest/TestJobThroughManifestCommitter.java:307:
  public void test_0240_setupThenAbortTask11() throws Throwable {:15: Name 
'test_0240_setupThenAbortTask11' must match pattern '^[a-z][a-zA-Z0-9]*$'. 
[MethodName]
   
./hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapreduce/lib/output/committer/manifest/TestJobThroughManifestCommitter.java:330:
  public void test_0300_executeTask00() throws Throwable {:15: Name 
'test_0300_executeTask00' must match pattern '^[a-z][a-zA-Z0-9]*$'. [MethodName]
   
./hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapreduce/lib/output/committer/manifest/TestJobThroughManifestCommitter.java:375:
  public void test_0310_executeTask01() throws Throwable {:15: Name 
'test_0310_executeTask01' must match pattern '^[a-z][a-zA-Z0-9]*$'. [MethodName]
   
./hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapreduce/lib/output/committer/manifest/TestJobThroughManifestCommitter.java:404:
  public void test_0320_executeTask10() throws Throwable {:15: Name 
'test_0320_executeTask10' must match pattern '^[a-z][a-zA-Z0-9]*$'. [MethodName]
   
./hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapreduce/lib/output/committer/manifest/TestJobThroughManifestCommitter.java:418:
  public void test_0340_setupThenAbortTask11() throws Throwable {:15: Name 
'test_0340_setupThenAbortTask11' must match pattern '^[a-z][a-zA-Z0-9]*$'. 
[MethodName]
   
./hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapreduce/lib/output/committer/manifest/TestJobThroughManifestCommitter.java:446:
  public void test_0400_loadManifests() throws Throwable {:15: Name 
'test_0400_loadManifests' must match pattern '^[a-z][a-zA-Z0-9]*$'. [MethodName]
   
./hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapreduce/lib/output/committer/manifest/TestJobThroughManifestCommitter.java:464:
  public void test_0410_commitJob() throws Throwable {:15: Name 
'test_0410_commitJob' must match pattern '^[a-z][a-zA-Z0-9]*$'. [MethodName]
   
./hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapreduce/lib/output/committer/manifest/TestJobThroughManifestCommitter.java:476:
  public void test_0420_validateJob() throws Throwable {:15: Name 
'test_0420_validateJob' must match pattern '^[a-z][a-zA-Z0-9]*$'. [MethodName]
   
./hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapreduce/lib/output/committer/manifest/TestJobThroughManifestCommitter.java:525:
  public void test_0430_validateStatistics() throws Throwable {:15: Name 
'test_0430_validateStatistics' must match pattern '^[a-z][a-zA-Z0-9]*$'. 
[MethodName]
   
./hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapreduce/lib/output/committer/manifest/TestJobThroughManifestCommitter.java:565:
  public void test_0900_cleanupJob() throws Throwable {:15: Name 
'test_0900_cleanupJob' must match pattern '^[a-z][a-zA-Z0-9]*$'. [MethodName]
   
./hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapreduce/lib/output/committer/manifest/TestJobThroughManifestCommitter.java:586:
  public void test_9999_cleanupTestDir() throws Throwable {:15: Name 
'test_9999_cleanupTestDir' must match pattern '^[a-z][a-zA-Z0-9]*$'. 
[MethodName]
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 739457)
    Time Spent: 27h 50m  (was: 27h 40m)

> Add a task-manifest output committer for Azure and GCS
> ------------------------------------------------------
>
>                 Key: MAPREDUCE-7341
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-7341
>             Project: Hadoop Map/Reduce
>          Issue Type: New Feature
>          Components: client
>    Affects Versions: 3.3.1
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 27h 50m
>  Remaining Estimate: 0h
>
> Add a task-manifest output committer for Azure and GCS
> The S3A committers are very popular in Spark on S3, as they are both correct 
> and fast.
> The classic FileOutputCommitter v1 and v2 algorithms are all that is 
> available for Azure ABFS and Google GCS, and they have limitations. 
> The v2 algorithm isn't safe in the presence of failed task attempt commits, 
> so we
> recommend the v1 algorithm for Azure. But that is slow because it 
> sequentially lists
> then renames files and directories, one-by-one. The latencies of list
> and rename make things slow.
> Google GCS lacks the atomic directory rename required for v1 correctness;
> v2 can be used (which doesn't have the job commit performance limitations),
> but it's not safe.
> Proposed
> * Add a new FileOutputFormat committer which uses an intermediate manifest to
>   pass the list of files created by a TA to the job committer.
> * Job committer to parallelise reading these task manifests and submit all the
>   rename operations into a pool of worker threads. (also: mkdir, directory 
> deletions on cleanup)
> * Use the committer plugin mechanism added for s3a to make this the default 
> committer for ABFS
>   (i.e. no need to make any changes to FileOutputCommitter)
> * Add lots of IOStatistics instrumentation + logging of operations in the 
> JobCommit
>   for visibility of where delays are occurring.
> * Reuse the S3A committer _SUCCESS JSON structure to publish IOStats & other 
> data
>   for testing/support.  
> This committer will be faster than the V1 algorithm because of the 
> parallelisation, and
> because a manifest written by create-and-rename will be exclusive to a single 
> task
> attempt, delivers the isolation which the v2 committer lacks.
> This is not an attempt to do an iceberg/hudi/delta-lake style manifest-only 
> format
> for describing the contents of a table; the final output is still a directory 
> tree
> which must be scanned during query planning.
> As such the format is still suboptimal for cloud storage -but at least we 
> will have
> faster job execution during the commit phases.
>   
> Note: this will also work on HDFS, where again, it should be faster than
> the v1 committer. However the target is very much Spark with ABFS and GCS; no 
> plans to worry about MR as that simplifies the challenge of dealing with job 
> restart (i.e. you don't have to)



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: mapreduce-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-h...@hadoop.apache.org

Reply via email to