junyuc25 commented on code in PR #43510:
URL: https://github.com/apache/spark/pull/43510#discussion_r1386029042


##########
resource-managers/kubernetes/integration-tests/src/test/scala/org/apache/spark/deploy/k8s/integrationtest/DepsTestsSuite.scala:
##########
@@ -45,6 +48,7 @@ private[spark] trait DepsTestsSuite { k8sSuite: 
KubernetesSuite =>
   val BUCKET = "spark"
   val ACCESS_KEY = "minio"
   val SECRET_KEY = "miniostorage"
+  val REGION = "us-west-2"

Review Comment:
   When initializing a v2 S3 client, it is required to specify a region (either 
via codes, environment variables or system properties etc). 
   But when initializing a v1 S3 client, region is not mandatory. For instance, 
I was able to list all buckets across regions with the following.
   ```
       val s3client = new AmazonS3Client()
       val response1 = s3client.listBuckets()
       println(response1)
   ```
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to