我试着按照本页提到的说明进行操作......
并得到2个错误。一个与IAM角色有关,另一个与dask有关。
1)我检查了sagemaker策略包括完全访问权限并仍然获得此异常:
An error occurred (AccessDeniedException) when calling the UpdateService operation: User: arn:aws:sts::513469704633:assumed-role/AmazonSageMaker-ExecutionRole-20180101T192504/SageMaker is not authorized to perform: ecs:UpdateService on resource: *
2)我不明白取消错误意味着什么:
CancelledError: ('head-1-5-from-delayed-12929833853fcc20e3534186ebfd77f0', 0)
我的第一个猜测是,你从fargate开始的dask工作者没有足够的权限来读取你的数据。您可能想要阅读这些文档:
http://docs.dask.org/en/latest/remote-data-services.html#amazon-s3