Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-15619 Über-JIRA: S3Guard Phase IV: Hadoop 3.3 features
  3. HADOOP-15845

s3guard init and destroy command will create/destroy tables if ddb.table & region are set

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.1
    • Fix Version/s: None
    • Component/s: fs/s3
    • Labels:
      None
    • Release Note:
      `hadoop s3guard destroy` and `hadoop s3guard init` now require a MetadataStore URI or a S3A URI to be explicitly provided on the command-line to perform the action.

      Description

      If you have s3guard set up with a table name and a region, then s3guard init will automatically create the table, without you specifying a bucket or URI.

      I had expected the command just to print out its arguments, but it actually did the init with the default bucket values

      Even worse, `hadoop s3guard destroy` will destroy the table.

      This is too dangerous to allow. The command must require either the name of a bucket or an an explicit ddb table URI

        Attachments

        1. HADOOP-15845.001.patch
          5 kB
          Gabor Bota

          Issue Links

            Activity

              People

              • Assignee:
                gabor.bota Gabor Bota
                Reporter:
                stevel@apache.org Steve Loughran
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: