Configs hive.s3.endpoint and hive.s3.endpoint.region are used to set values for S3 endpoint and region respectively.
If hive.s3.endpoint.region is configured with valid AWS region value, S3FS will use this value.
If hive.s3.endpoint.region is not set and hive.s3.endpoint is set with valid endpoint value, S3FS will attempt to parse the region from the endpoint and configure the client to use the region value.
Description
We will follow the Hadoop aws library rules to be consistent with other applications. https://hadoop.apache.org/docs/current/hadoop-aws/tools/hadoop-aws/connecting.html#s3_endpoint_region_details
hive.s3.endpoint
andhive.s3.endpoint.region
are used to set values for S3 endpoint and region respectively.hive.s3.endpoint.region
is configured with valid AWS region value, S3FS will use this value.hive.s3.endpoint.region
is not set andhive.s3.endpoint
is set with valid endpoint value, S3FS will attempt to parse the region from the endpoint and configure the client to use the region value.