Specifically, when REGION=us-east-1, this url cannot be resolved. This is confirmed when I tried to visit this url in my browser, I got "s3-us-east-1.amazonaws.com’s server IP address could not be found."
From the s3 endpoint document, it seems that the format of the url should be https://s3.REGION.amazonaws.com/ .... Is my understanding right?
While building the docker image, it needs to configure a emr yum repo and install packages from this yum repo.
When I set REGION to be ue-east-1,
docker build
cannot resolve the yum repo.Then I found this is caused by the following line.
https://github.com/aws/sagemaker-spark-container/blob/3ccb7298f1cce587fbbdbb9f5ff05962cfc7a31d/spark/processing/3.1/py3/yum/emr-apps.repo#L3
Specifically, when
REGION=us-east-1
, this url cannot be resolved. This is confirmed when I tried to visit this url in my browser, I got "s3-us-east-1.amazonaws.com’s server IP address could not be found."From the s3 endpoint document, it seems that the format of the url should be
https://s3.REGION.amazonaws.com/ ...
. Is my understanding right?