Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-13228

[C++] S3 CreateBucket fails because AWS treats us-east-1 differently than other regions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 5.0.0
    • C++

    Description

      When you create a bucket you must specify a locationconstraint if the region is not us-east-1.  This works if you specify a region but fails if you use the default region (and the default region has been configured to NOT be us-east-1).

      When you create a bucket you must NOT specify a locationconstraint if the region is us-east-1.  This fails (Arrow specifies the locationconstraint and receives an error "InvalidLocationConstraint Message: The specified location-constraint is not valid").

      CreateBucket is getting the region from options().region which is the empty string if the user didn't specify a region.

       

      Attachments

        Issue Links

          Activity

            People

              westonpace Weston Pace
              westonpace Weston Pace
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m