Zeblote
02/26/2023, 5:55 PMZeblote
02/26/2023, 5:56 PMZeblote
02/26/2023, 5:56 PMaeharding
02/26/2023, 6:15 PMaeharding
02/26/2023, 6:18 PMelithrar
02/26/2023, 6:23 PMaeharding
02/26/2023, 6:26 PMelithrar
02/26/2023, 6:28 PMaeharding
02/26/2023, 6:32 PMelithrar
02/26/2023, 6:40 PMelithrar
02/26/2023, 6:42 PMlignol23
02/26/2023, 7:42 PMOSError: [Errno 22] There was a problem with the multipart upload.
It works without any problems with my self hosted minio.
Are here any other python developers with this problems?Erisa | Support Engineer
02/26/2023, 7:48 PMlignol23
02/26/2023, 9:05 PMpython
import pyarrow.fs as pafs
import s3fs
import pyarrow.parquet as pq
import pyarrow as pa
table_small = pq.read_table("small_data.parquet")
table_large = pq.read_table("large_data.parquet")
fs1 = s3fs.S3FileSystem(
key="some_key",
secret="some_secret",
client_kwargs=dict(endpoint_url="https://123456.r2.cloudflarestorage.com"),
s3_additional_kwargs=dict(ACL="private") # <- this is neccesary for writting.
)
fs2 = pafs.S3FileSystem(
access_key="some_key",
secret_key="some_secret",
endpoint_override="https://123456.r2.cloudflarestorage.com"
)
pq.write_table(table_small, "test/test.parquet", filesystem=fs1) # <- works
pq.write_table(table_small, "test/test.parquet", filesystem=fs2) # <- works
# failed with OSError: [Errno 22] There was a problem with the multipart upload.
pq.write_table(table_large, "test/test.parquet", filesystem=fs1)
# failed with OSError: When initiating multiple part upload for key 'test.parquet' in bucket 'test': AWS Error NETWORK_CONNECTION during CreateMultipartUpload operation: curlCode: 28, Timeout was reached
pq.write_table(table_large, "test/test.parquet", filesystem=fs2)
rez0n
02/26/2023, 9:20 PMTill
02/26/2023, 9:42 PMelithrar
02/26/2023, 9:49 PMrez0n
02/26/2023, 9:55 PMmatthew t healy
02/26/2023, 11:33 PMaeharding
02/26/2023, 11:50 PMErisa | Support Engineer
02/26/2023, 11:51 PMErisa | Support Engineer
02/26/2023, 11:51 PMandrew
02/26/2023, 11:56 PMelithrar
02/26/2023, 11:58 PMAllowedOrigins
- an Origin
cannot include a path component. Should be:
"AllowedOrigins": [
"https://cors-test-page.quaded.com"
],
rez0n
02/27/2023, 12:06 AMelithrar
02/27/2023, 12:07 AMOrigin
header value.aeharding
02/27/2023, 12:12 AMErisa | Support Engineer
02/27/2023, 12:19 AM