HUE-9085 [fb] Improve S3 bucket 301 & 400 error message

Review Request #14508 — Created Nov. 18, 2019 and submitted

jgauthier
hue
master
HUE-9085
hue
jgauthier, johan, ranade, romain, weixia, yingc
commit 0c18fde7f37a1eb9d0606c7586c33ae63bcd44a7
Author: Jean-Francois Desjeans Gauthier <jf.desjeans.gauthier@gmail.com>
Date:   Mon Nov 18 14:17:30 2019 -0800

    HUE-9085 [fb] Improve S3 bucket 301 & 400 error message
    
    When retrieving a bucket a 301 error signify that the bucket exists, but
    it is in a different region than the one we are connected to. A 400
    error can mean a few things, one of which is that we're connected using
    V2 and we're trying to access a region that requires V4 signature. V4
    signature requires specifying a host or region when connecting.

:100644 100644 7742b3dc60... fc117dddd3... M	desktop/libs/aws/src/aws/s3/s3fs.py


  • 0
  • 0
  • 1
  • 0
  • 1
Description From Last Updated
romain
  1. 
      
  2. desktop/libs/aws/src/aws/s3/s3fs.py (Diff revision 1)
     
     

    No need to at log warn the problem?

  3. 
      
jgauthier
Review request changed

Status: Closed (submitted)

Loading...