Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-15620 Über-jira: S3A phase VI: Hadoop 3.3 features
  3. HADOOP-15409

S3AFileSystem.verifyBucketExists to move to s3.doesBucketExistV2

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • 3.1.0
    • None
    • fs/s3
    • None

    Description

      in S3AFileSystem.initialize(), we check for the bucket existing with verifyBucketExists(), which calls s3.doesBucketExist(). But that doesn't check for auth issues.

      s3. doesBucketExistV2() does at least validate credentials, and should be switched to. This will help things fail faster

      See SPARK-24000

      Attachments

        Issue Links

          Activity

            People

              Jack-Lee lqjacklee
              stevel@apache.org Steve Loughran
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: