简体   繁体   English

EMR 集群无法在另一个存储桶中下载引导操作

[英]EMR cluster fails to download bootstrap action in another bucket

I am trying to patch an AWS EMR cluster using bootstrap actions ( as AWS suggests ).我正在尝试使用引导操作( 如 AWS 建议的那样)修补 AWS EMR 集群。 However, the same cluster is created in two regions A and B under the same account.但是在同一个账号下,在A、B两个地域创建了同一个集群。

Steps followed so far:到目前为止遵循的步骤:

  1. Create bucket (in region A)创建bucket(区域A)
  2. Upload patch file to bucket上传补丁文件到桶
  3. Configure the bootstrap action to run the patch file in the bucket配置引导操作以运行存储桶中的补丁文件

It works but only in the cluster in the region A. The cluster running in region B fails to start due to:它可以运行,但仅适用于区域 A 中的集群。由于以下原因,运行在区域 B 中的集群无法启动:

The bucket is in this region: eu-west-1. Please use this region to retry the request

The error is in the bootstrap action logs and comes from the java client that AWS uses to download and run the bootstrap action, so I cannot change it.错误出现在引导操作日志中,来自 AWS 用于下载和运行引导操作的 java 客户端,因此我无法更改它。

How to have a bootstrap action in one bucket and use it for EMR clusters in different regions?如何在一个bucket中做一个bootstrap action,用于不同地域的EMR集群?

Creating a second bucket in region B would work but I need to duplicate the patch files and configure it properly in EMR clusters.在区域 B 中创建第二个存储桶可以,但我需要复制补丁文件并在 EMR 集群中正确配置它。 In the future there might be more regions so I would avoid if possible.将来可能会有更多地区,所以我会尽可能避免。

Unfortunately, it is not possible to share a bootstrap action across clusters in different regions.不幸的是,无法在不同区域的集群之间共享引导操作。 The bootstrap action needs to be hosted in a bucket in the same region as the cluster.引导操作需要托管在与集群位于同一区域的存储桶中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM