Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-16829 Über-jira: S3A Hadoop 3.3.1 features
  3. HADOOP-16362

ITestS3GuardToolDynamoDB.testDynamoDBInitDestroyCycle fails if test bucket isn't on demand

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • 3.3.0
    • None
    • fs/s3, test
    • None

    Description

      After HADOOP-15563, if the default s3guard bucket for an FS isn't on-demand, then ITestS3GuardToolDynamoDB.testDynamoDBInitDestroyCycle fails.

      This is because it creates an on-demand DDB table using a dynamodb// ref, but then calls set-capacity on the original FS URL -which then uses any existing table if it is present. And if that table is provisioned, the set capacity call succeeds.

      Fix: the set-capacity call to take the dynamodb:// URL too

      Attachments

        Activity

          People

            stevel@apache.org Steve Loughran
            stevel@apache.org Steve Loughran
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: