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

[R] reading data from S3

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 6.0.0
    • 7.0.0
    • R

    Description

      I am trying to read data directly from S3. In my work pipeline I work under proxy, so I set system environments HTTP_PROXY and HTTPS_PROXY. Also I have set AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY.  I have constructed links for reading:

      s3_uri <- paste0("s3://", accessKeyId, ":", URLencode(secretAccessKey, reserved = T),"@", bucketName, "/", path) 
      s3_uri_short <- paste0("s3://", bucketName, "/", path)
      bucketS3 <- arrow::s3_bucket(bucket = bucketName, access_key = accessKeyId,
                             secret_key = URLencode(secretAccessKey, reserved = T))

      But none of them worked for arrow::read_parquet

      df <- arrow::read_parquet(s3_uri)
      df <- arrow::read_parquet(s3_uri_short) 
      df <- arrow::read_parquet(bucketS3$path(x = path))

      Error

       IOError: When reading information for key AWS Error [code 15]: No response body. with address : 

      How can I fix the problem or maybe get more informative output ? Thanks for attention. 

      I knew about same issue https://issues.apache.org/jira/browse/ARROW-12126 but I can't reopen it.

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              2umxal Mikhail Tolmachev
              Votes:
              0 Vote for this issue
              Watchers:
              5 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 - 1h 50m
                  1h 50m