在 Amazon EMR 使用默认的 Amazon Linux AMI - Amazon EMR
Amazon Web Services 文档中描述的 Amazon Web Services 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅 中国的 Amazon Web Services 服务入门 (PDF)

本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。

在 Amazon EMR 使用默认的 Amazon Linux AMI

除非您指定自定义 AMI,否则每个 Amazon EMR 发行版都会在 Amazon EMR 使用默认的 Amazon Linux AMI。从亚马逊 EMR 5.36 开始,亚马逊 EMR 6.6 和亚马逊 EMR 7.0 发布了在亚马逊 EMR AMI 中更新亚马逊 Linux 2(AL2 适用于 EMR 5.x 和 6.x,AL2023 适用于 EMR 7.x)的默认行为,默认 AMI 是自动将最新的亚马逊 Linux 版本应用于默认亚马逊 EMR AMI。

Amazon EMR 版本的 Amazon Linux 自动更新

当您使用 Amazon EMR 7.0 或更高版本、6.6 或更高版本或 5.36 或更高版本的最新补丁版本启动集群时,Amazon EMR 会使用最新的 Amazon Linux 版本作为默认 Amazon EMR AMI。例如:

  • 如果有 x.x.0x.x.1 版本,则 x.x.0 版本在 x.x.1 发布时会停止获取 AMI 更新。

  • 同样,x.x.2 启动时,x.x.1 会停止获取 AMI 更新。

  • 稍后,当 x.y.0 发布时,x.x.[latest] 还会继续收到 AMI 更新与 x.y.[latest]

要查看您是否使用的是 Amazon EMR 版本的第二位小数点后的数字 (6.8.1) 表示的最新补丁版本,请参阅 Amazon EMR Release Guide 中的可用版本,在控制台中创建集群时查看 Amazon EMR 版本下拉菜单,或者使用 ListReleaseLabels API 或 list-release-labels 操作。要在我们发布新 Amazon EMR 版本时获取更新,请在 Release Guide 中的 What's new? 页面订阅 RSS 源。

如果愿意,您可以选择使用 Amazon EMR 版本首次附带的 Amazon Linux 版本来启动集群。有关如何为您的集群指定 Amazon Linux 版本的信息,请参阅 在创建 EMR 集群时更改 Amazon Linux 发行版

默认 Amazon Linux 版本

亚马逊 EMR 7.0 及更高版本的默认 AMI

下表列出了亚马逊 EMR 7.0 及更高版本最新补丁版本的 Amazon Linux 信息。

OsReleaseLabel (AL 版) AL 内核版本 可用日期 Amazon Web Services 区域
2023.3.20240304.0 6.1.79-99.164.amzn2023 2024 年 3 月 12 日
  • us‑east‑1

  • us‑east‑2

  • us‑west‑1

  • us‑west‑2

  • eu‑north‑1

  • eu‑west‑1

  • eu‑west‑2

  • eu‑west‑3

  • eu‑central‑1

  • eu‑central‑2

  • eu‑south‑1

  • eu‑south‑2

  • ap‑east‑1

  • ap‑south‑1

  • ap‑south‑2

  • ap‑southeast‑3

  • ap‑southeast‑4

  • ap‑northeast‑1

  • ap‑northeast‑2

  • ap‑northeast‑3

  • ap‑southeast‑1

  • ap‑southeast‑2

  • af‑south‑1

  • sa‑east‑1

  • me‑central‑1

  • me‑south‑1

  • ca‑central‑1

  • il‑central‑1

  • ca‑west‑1

  • us-gov‑east‑1

  • us-gov‑west‑1

  • cn‑north‑1

  • cn‑northeast‑1

2023.3.20240219.0 6.1.77-99.164.amzn2023 2024 年 3 月 1 日
  • us‑east‑1

  • us‑east‑2

  • us‑west‑1

  • us‑west‑2

  • eu‑north‑1

  • eu‑west‑1

  • eu‑west‑2

  • eu‑west‑3

  • eu‑central‑1

  • eu‑central‑2

  • eu‑south‑1

  • eu‑south‑2

  • ap‑east‑1

  • ap‑south‑1

  • ap‑south‑2

  • ap‑southeast‑3

  • ap‑southeast‑4

  • ap‑northeast‑1

  • ap‑northeast‑2

  • ap‑northeast‑3

  • ap‑southeast‑1

  • ap‑southeast‑2

  • af‑south‑1

  • sa‑east‑1

  • me‑central‑1

  • me‑south‑1

  • ca‑central‑1

  • il‑central‑1

  • ca‑west‑1

  • us-gov‑east‑1

  • us-gov‑west‑1

  • cn‑north‑1

  • cn‑northeast‑1

2023.3.20240205.0 6.1.75-99.163.amzn2023 2024年2月19日
  • us‑east‑1

  • us‑east‑2

  • us‑west‑1

  • us‑west‑2

  • eu‑north‑1

  • eu‑west‑1

  • eu‑west‑2

  • eu‑west‑3

  • eu‑central‑1

  • eu‑central‑2

  • eu‑south‑1

  • eu‑south‑2

  • ap‑east‑1

  • ap‑south‑1

  • ap‑south‑2

  • ap‑southeast‑3

  • ap‑southeast‑4

  • ap‑northeast‑1

  • ap‑northeast‑2

  • ap‑northeast‑3

  • ap‑southeast‑1

  • ap‑southeast‑2

  • af‑south‑1

  • sa‑east‑1

  • me‑central‑1

  • me‑south‑1

  • ca‑central‑1

  • il‑central‑1

  • ca‑west‑1

  • us-gov‑east‑1

  • us-gov‑west‑1

  • cn‑north‑1

  • cn‑northeast‑1

2023.3.20240122.0 6.1.72-96.166.amzn2023 2024年2月5日
  • us‑east‑1

  • us‑east‑2

  • us‑west‑1

  • us‑west‑2

  • eu‑north‑1

  • eu‑west‑1

  • eu‑west‑2

  • eu‑west‑3

  • eu‑central‑1

  • eu‑central‑2

  • eu‑south‑1

  • eu‑south‑2

  • ap‑east‑1

  • ap‑south‑1

  • ap‑south‑2

  • ap‑southeast‑3

  • ap‑southeast‑4

  • ap‑northeast‑1

  • ap‑northeast‑2

  • ap‑northeast‑3

  • ap‑southeast‑1

  • ap‑southeast‑2

  • af‑south‑1

  • sa‑east‑1

  • me‑central‑1

  • me‑south‑1

  • ca‑central‑1

  • il‑central‑1

  • ca‑west‑1

  • us-gov‑east‑1

  • us-gov‑west‑1

  • cn‑north‑1

  • cn‑northeast‑1

2023.3.20240108.0 6.1.72-96.166.amzn2023 2024 年 1 月 24 日
  • us‑east‑1

  • us‑east‑2

  • us‑west‑1

  • us‑west‑2

  • eu‑north‑1

  • eu‑west‑1

  • eu‑west‑2

  • eu‑west‑3

  • eu‑central‑1

  • eu‑central‑2

  • eu‑south‑1

  • eu‑south‑2

  • ap‑east‑1

  • ap‑south‑1

  • ap‑south‑2

  • ap‑southeast‑3

  • ap‑southeast‑4

  • ap‑northeast‑1

  • ap‑northeast‑2

  • ap‑northeast‑3

  • ap‑southeast‑1

  • ap‑southeast‑2

  • af‑south‑1

  • sa‑east‑1

  • me‑central‑1

  • me‑south‑1

  • ca‑central‑1

  • il‑central‑1

  • ca‑west‑1

  • us-gov‑east‑1

  • us-gov‑west‑1

  • cn‑north‑1

  • cn‑northeast‑1

2023.3.20231211.4 6.1.66-91.160.amzn2023 2023 年 12 月 19 日
  • us‑east‑1

  • us‑east‑2

  • us‑west‑1

  • us‑west‑2

  • eu‑north‑1

  • eu‑west‑1

  • eu‑west‑2

  • eu‑west‑3

  • eu‑central‑1

  • eu‑central‑2

  • eu‑south‑1

  • eu‑south‑2

  • ap‑east‑1

  • ap‑south‑1

  • ap‑south‑2

  • ap‑southeast‑3

  • ap‑southeast‑4

  • ap‑northeast‑1

  • ap‑northeast‑2

  • ap‑northeast‑3

  • ap‑southeast‑1

  • ap‑southeast‑2

  • af‑south‑1

  • sa‑east‑1

  • me‑central‑1

  • me‑south‑1

  • ca‑central‑1

  • il‑central‑1

  • us-gov‑east‑1

  • us-gov‑west‑1

  • cn‑north‑1

  • cn‑northeast‑1

Amazon EMR 6.6 及更高版本的默认 AMI

下表列出了有关 Amazon EMR 6.6.x 及更高版本的最新补丁版本的 Amazon Linux 信息。

OsReleaseLabel (AL 版) AL 内核版本 可用日期 Amazon Web Services 区域
2.0.20240223.0 4.14.336 2024 年 3 月 8 日
  • us‑east‑1

  • us‑east‑2

  • us‑west‑1

  • us‑west‑2

  • eu‑north‑1

  • eu‑west‑1

  • eu‑west‑2

  • eu‑west‑3

  • eu‑central‑1

  • eu‑central‑2(6.10.1+)

  • eu‑south‑1

  • eu‑south‑2(6.10.1+)

  • ap‑east‑1

  • ap‑south‑1

  • ap‑south‑2(6.10.1+)

  • ap‑southeast‑3

  • ap‑southeast‑4(6.8.1+ 和 5.36.1)

  • ap‑northeast‑1

  • ap‑northeast‑2

  • ap‑northeast‑3

  • ap‑southeast‑1

  • ap‑southeast‑2

  • af‑south‑1

  • sa‑east‑1

  • me‑central‑1(6.10.1+)

  • me‑south‑1

  • ca‑central‑1

  • il‑central‑1(6.8.1+ 和 5.36.1)

  • ca‑west‑1(6.9.1+ 和 5.36.1)

  • us-gov‑east‑1

  • us-gov‑west‑1

  • cn‑north‑1

  • cn‑northeast‑1

2.0.20240131.0 4.14.336 2024年2月14日
  • us‑east‑1

  • us‑east‑2

  • us‑west‑1

  • us‑west‑2

  • eu‑north‑1

  • eu‑west‑1

  • eu‑west‑2

  • eu‑west‑3

  • eu‑central‑1

  • eu‑central‑2(6.10.1+)

  • eu‑south‑1

  • eu‑south‑2(6.10.1+)

  • ap‑east‑1

  • ap‑south‑1

  • ap‑south‑2(6.10.1+)

  • ap‑southeast‑3

  • ap‑southeast‑4(6.8.1+ 和 5.36.1)

  • ap‑northeast‑1

  • ap‑northeast‑2

  • ap‑northeast‑3

  • ap‑southeast‑1

  • ap‑southeast‑2

  • af‑south‑1

  • sa‑east‑1

  • me‑central‑1(6.10.1+)

  • me‑south‑1

  • ca‑central‑1

  • il‑central‑1(6.8.1+ 和 5.36.1)

  • ca‑west‑1(6.9.1+ 和 5.36.1)

  • us-gov‑east‑1

  • us-gov‑west‑1

  • cn‑north‑1

  • cn‑northeast‑1

2.0.20240124.0 4.14.336 2024 年 2 月 7 日
  • us‑east‑1

  • us‑east‑2

  • us‑west‑1

  • us‑west‑2

  • eu‑north‑1

  • eu‑west‑1

  • eu‑west‑2

  • eu‑west‑3

  • eu‑central‑1

  • eu‑central‑2(6.10.1+)

  • eu‑south‑1

  • eu‑south‑2(6.10.1+)

  • ap‑east‑1

  • ap‑south‑1

  • ap‑south‑2(6.10.1+)

  • ap‑southeast‑3

  • ap‑southeast‑4(6.8.1+ 和 5.36.1)

  • ap‑northeast‑1

  • ap‑northeast‑2

  • ap‑northeast‑3

  • ap‑southeast‑1

  • ap‑southeast‑2

  • af‑south‑1

  • sa‑east‑1

  • me‑central‑1(6.10.1+)

  • me‑south‑1

  • ca‑central‑1

  • il‑central‑1(6.8.1+ 和 5.36.1)

  • ca‑west‑1(6.9.1+ 和 5.36.1)

  • us-gov‑east‑1

  • us-gov‑west‑1

  • cn‑north‑1

  • cn‑northeast‑1

2.0.20240109.0 4.14.334 2024 年 1 月 24 日
  • us‑east‑1

  • us‑east‑2

  • us‑west‑1

  • us‑west‑2

  • eu‑north‑1

  • eu‑west‑1

  • eu‑west‑2

  • eu‑west‑3

  • eu‑central‑1

  • eu‑central‑2(6.10.1+)

  • eu‑south‑1

  • eu‑south‑2(6.10.1+)

  • ap‑east‑1

  • ap‑south‑1

  • ap‑south‑2(6.10.1+)

  • ap‑southeast‑3

  • ap‑southeast‑4(6.8.1+ 和 5.36.1)

  • ap‑northeast‑1

  • ap‑northeast‑2

  • ap‑northeast‑3

  • ap‑southeast‑1

  • ap‑southeast‑2

  • af‑south‑1

  • sa‑east‑1

  • me‑central‑1(6.10.1+)

  • me‑south‑1

  • ca‑central‑1

  • il‑central‑1(6.8.1+ 和 5.36.1)

  • ca‑west‑1(6.9.1+ 和 5.36.1)

  • us-gov‑east‑1

  • us-gov‑west‑1

  • cn‑north‑1

  • cn‑northeast‑1

2.0.20231218.0 4.14.330 2024 年 1 月 2 日
  • us‑east‑1

  • us‑east‑2

  • us‑west‑1

  • us‑west‑2

  • eu‑north‑1

  • eu‑west‑1

  • eu‑west‑2

  • eu‑west‑3

  • eu‑central‑1

  • eu‑central‑2 (6.10+)

  • eu‑south‑1

  • eu‑south‑2 (6.10+)

  • ap‑east‑1

  • ap‑south‑1

  • ap‑south‑2 (6.10+)

  • ap‑southeast‑3

  • ap‑southeast‑4(6.8+ 和 5.36.1)

  • ap‑northeast‑1

  • ap‑northeast‑2

  • ap‑northeast‑3

  • ap‑southeast‑1

  • ap‑southeast‑2

  • af‑south‑1

  • sa‑east‑1

  • me‑central‑1 (6.10+)

  • me‑south‑1

  • ca‑central‑1

  • il‑central‑1(6.8+ 和 5.36.1)

  • us-gov‑east‑1

  • us-gov‑west‑1

  • cn‑north‑1

  • cn‑northeast‑1

2.0.20231206.0 4.14.330 2023 年 12 月 22 日
  • us‑east‑1

  • us‑east‑2

  • us‑west‑1

  • us‑west‑2

  • eu‑north‑1

  • eu‑west‑1

  • eu‑west‑2

  • eu‑west‑3

  • eu‑central‑1

  • eu‑central‑2 (6.10+)

  • eu‑south‑1

  • eu‑south‑2 (6.10+)

  • ap‑east‑1

  • ap‑south‑1

  • ap‑south‑2 (6.10+)

  • ap‑southeast‑3

  • ap‑southeast‑4(6.8+ 和 5.36.1)

  • ap‑northeast‑1

  • ap‑northeast‑2

  • ap‑northeast‑3

  • ap‑southeast‑1

  • ap‑southeast‑2

  • af‑south‑1

  • sa‑east‑1

  • me‑central‑1 (6.10+)

  • me‑south‑1

  • ca‑central‑1

  • il‑central‑1(6.8+ 和 5.36.1)

  • us-gov‑east‑1

  • us-gov‑west‑1

  • cn‑north‑1

  • cn‑northeast‑1

2.0.20231116.0 4.14.328 2023 年 12 月 11 日
  • us‑east‑1

  • us‑east‑2

  • us‑west‑1

  • us‑west‑2

  • eu‑north‑1

  • eu‑west‑1

  • eu‑west‑2

  • eu‑west‑3

  • eu‑central‑1

  • eu‑central‑2 (6.10+)

  • eu‑south‑1

  • eu‑south‑2 (6.10+)

  • ap‑east‑1

  • ap‑south‑1

  • ap‑south‑2 (6.10+)

  • ap‑southeast‑3

  • ap‑southeast‑4(6.8+ 和 5.36.1)

  • ap‑northeast‑1

  • ap‑northeast‑2

  • ap‑northeast‑3

  • ap‑southeast‑1

  • ap‑southeast‑2

  • af‑south‑1

  • sa‑east‑1

  • me‑central‑1 (6.10+)

  • me‑south‑1

  • ca‑central‑1

  • il‑central‑1(6.8+ 和 5.36.1)

  • us-gov‑east‑1

  • us-gov‑west‑1

  • cn‑north‑1

  • cn‑northeast‑1

2.0.20231101.0 4.14.327 2023 年 11 月 17 日
  • us‑east‑1

  • us‑east‑2

  • us‑west‑1

  • us‑west‑2

  • eu‑north‑1

  • eu‑west‑1

  • eu‑west‑2

  • eu‑west‑3

  • eu‑central‑1

  • eu‑central‑2 (6.10+)

  • eu‑south‑1

  • eu‑south‑2 (6.10+)

  • ap‑east‑1

  • ap‑south‑1

  • ap‑south‑2 (6.10+)

  • ap‑southeast‑3

  • ap‑southeast‑4(6.8+ 和 5.36.1)

  • ap‑northeast‑1

  • ap‑northeast‑2

  • ap‑northeast‑3

  • ap‑southeast‑1

  • ap‑southeast‑2

  • af‑south‑1

  • sa‑east‑1

  • me‑central‑1 (6.10+)

  • me‑south‑1

  • ca‑central‑1

  • il‑central‑1(6.8+ 和 5.36.1)

  • us-gov‑east‑1

  • us-gov‑west‑1

  • cn‑north‑1

  • cn‑northeast‑1

2.0.20231020.1 4.14.326 2023 年 11 月 7 日
  • us‑east‑1

  • us‑east‑2

  • us‑west‑1

  • us‑west‑2

  • eu‑north‑1

  • eu‑west‑1

  • eu‑west‑2

  • eu‑west‑3

  • eu‑central‑1

  • eu‑central‑2 (6.10+)

  • eu‑south‑1

  • eu‑south‑2 (6.10+)

  • ap‑east‑1

  • ap‑south‑1

  • ap‑south‑2 (6.10+)

  • ap‑southeast‑3

  • ap‑southeast‑4(6.8+ 和 5.36.1)

  • ap‑northeast‑1

  • ap‑northeast‑2

  • ap‑northeast‑3

  • ap‑southeast‑1

  • ap‑southeast‑2

  • af‑south‑1

  • sa‑east‑1

  • me‑central‑1 (6.10+)

  • me‑south‑1

  • ca‑central‑1

  • il‑central‑1(6.8+ 和 5.36.1)

  • us-gov‑east‑1

  • us-gov‑west‑1

  • cn‑north‑1

  • cn‑northeast‑1

2.0.20231012.1 4.14.326 2023 年 10 月 26 日
  • us‑east‑1

  • us‑east‑2

  • us‑west‑1

  • us‑west‑2

  • eu‑north‑1

  • eu‑west‑1

  • eu‑west‑2

  • eu‑west‑3

  • eu‑central‑1

  • eu‑central‑2 (6.10+)

  • eu‑south‑1

  • eu‑south‑2 (6.10+)

  • ap‑east‑1

  • ap‑south‑1

  • ap‑south‑2 (6.10+)

  • ap‑southeast‑3

  • ap‑southeast‑4(6.8+ 和 5.36.1)

  • ap‑northeast‑1

  • ap‑northeast‑2

  • ap‑northeast‑3

  • ap‑southeast‑1

  • ap‑southeast‑2

  • af‑south‑1

  • sa‑east‑1

  • me‑central‑1 (6.10+)

  • me‑south‑1

  • ca‑central‑1

  • il‑central‑1(6.8+ 和 5.36.1)

  • us-gov‑east‑1

  • us-gov‑west‑1

  • cn‑north‑1

  • cn‑northeast‑1

2.0.20230926.0 4.14.322 2023 年 10 月 19 日
  • us‑east‑1

  • us‑east‑2

  • us‑west‑1

  • us‑west‑2

  • eu‑north‑1

  • eu‑west‑1

  • eu‑west‑2

  • eu‑west‑3

  • eu‑central‑1

  • eu‑central‑2 (6.10+)

  • eu‑south‑1

  • eu‑south‑2 (6.10+)

  • ap‑east‑1

  • ap‑south‑1

  • ap‑south‑2 (6.10+)

  • ap‑southeast‑3

  • ap‑southeast‑4(6.8+ 和 5.36.1)

  • ap‑northeast‑1

  • ap‑northeast‑2

  • ap‑northeast‑3

  • ap‑southeast‑1

  • ap‑southeast‑2

  • af‑south‑1

  • sa‑east‑1

  • me‑central‑1 (6.10+)

  • me‑south‑1

  • ca‑central‑1

  • il‑central‑1(6.8+ 和 5.36.1)

  • us-gov‑east‑1

  • us-gov‑west‑1

  • cn‑north‑1

  • cn‑northeast‑1

2.0.202308906.0 4.14.322 2023 年 10 月 4 日
  • us‑east‑1

  • us‑east‑2

  • us‑west‑1

  • us‑west‑2

  • eu‑north‑1

  • eu‑west‑1

  • eu‑west‑2

  • eu‑west‑3

  • eu‑central‑1

  • eu‑central‑2 (6.10+)

  • eu‑south‑1

  • eu‑south‑2 (6.10+)

  • ap‑east‑1

  • ap‑south‑1

  • ap‑south‑2 (6.10+)

  • ap‑southeast‑3

  • ap‑southeast‑4(6.8+ 和 5.36.1)

  • ap‑northeast‑1

  • ap‑northeast‑2

  • ap‑northeast‑3

  • ap‑southeast‑1

  • ap‑southeast‑2

  • af‑south‑1

  • sa‑east‑1

  • me‑central‑1 (6.10+)

  • me‑south‑1

  • ca‑central‑1

  • il‑central‑1(6.9+ 和 5.36.1)

2.0.20230822.0 4.14.322 2023 年 8 月 30 日
  • us‑east‑1

  • us‑east‑2

  • us‑west‑1

  • us‑west‑2

  • eu‑north‑1

  • eu‑west‑1

  • eu‑west‑2

  • eu‑west‑3

  • eu‑central‑1

  • eu‑central‑2 (6.10+)

  • eu‑south‑1

  • eu‑south‑2 (6.10+)

  • ap‑east‑1

  • ap‑south‑1

  • ap‑south‑2 (6.10+)

  • ap‑southeast‑3

  • ap‑southeast‑4(6.8+ 和 5.36.1)

  • ap‑northeast‑1

  • ap‑northeast‑2

  • ap‑northeast‑3

  • ap‑southeast‑1

  • ap‑southeast‑2

  • af‑south‑1

  • sa‑east‑1

  • me‑central‑1 (6.10+)

  • me‑south‑1

  • ca‑central‑1

  • il‑central‑1(6.9+ 和 5.36.1)

2.0.20230808.0 4.14.320 2023 年 8 月 24 日
  • us‑east‑1

  • us‑east‑2

  • us‑west‑1

  • us‑west‑2

  • eu‑north‑1

  • eu‑west‑1

  • eu‑west‑2

  • eu‑west‑3

  • eu‑central‑1

  • eu‑central‑2 (6.10+)

  • eu‑south‑1

  • eu‑south‑2 (6.10+)

  • ap‑east‑1

  • ap‑south‑1

  • ap‑south‑2 (6.10+)

  • ap‑southeast‑3

  • ap‑southeast‑4(6.8+ 和 5.36.1)

  • ap‑northeast‑1

  • ap‑northeast‑2

  • ap‑northeast‑3

  • ap‑southeast‑1

  • ap‑southeast‑2

  • af‑south‑1

  • sa‑east‑1

  • me‑central‑1 (6.10+)

  • me‑south‑1

  • ca‑central‑1

  • il‑central‑1(6.9+ 和 5.36.1)

  • us-gov‑east‑1

  • us-gov‑west‑1

  • cn‑north‑1

  • cn‑northeast‑1

2.0.20230727.0 4.14.320 2023 年 8 月 14 日
  • us‑east‑1

  • us‑east‑2

  • us‑west‑1

  • us‑west‑2

  • eu‑north‑1

  • eu‑west‑1

  • eu‑west‑2

  • eu‑west‑3

  • eu‑central‑1

  • eu‑central‑2 (6.10+)

  • eu‑south‑1

  • eu‑south‑2 (6.10+)

  • ap‑east‑1

  • ap‑south‑1

  • ap‑south‑2 (6.10+)

  • ap‑southeast‑3

  • ap‑southeast‑4(6.8+ 和 5.36.1)

  • ap‑northeast‑1

  • ap‑northeast‑2

  • ap‑northeast‑3

  • ap‑southeast‑1

  • ap‑southeast‑2

  • af‑south‑1

  • sa‑east‑1

  • me‑central‑1 (6.10+)

  • me‑south‑1

  • ca‑central‑1

  • il‑central‑1(6.9+ 和 5.36.1)

2.0.20230719.0 4.14.320 2023 年 8 月 2 日
  • us‑east‑1

  • us‑east‑2

  • us‑west‑1

  • us‑west‑2

  • eu‑north‑1

  • eu‑west‑1

  • eu‑west‑2

  • eu‑west‑3

  • eu‑central‑1

  • eu‑central‑2 (6.10+)

  • eu‑south‑1

  • eu‑south‑2 (6.10+)

  • ap‑east‑1

  • ap‑south‑1

  • ap‑south‑2 (6.10+)

  • ap‑southeast‑3

  • ap‑southeast‑4(6.8+ 和 5.36.1)

  • ap‑northeast‑1

  • ap‑northeast‑2

  • ap‑northeast‑3

  • ap‑southeast‑1

  • ap‑southeast‑2

  • af‑south‑1

  • sa‑east‑1

  • me‑central‑1 (6.10+)

  • me‑south‑1

  • ca‑central‑1

  • il‑central‑1(6.9+ 和 5.36.1)

2.0.20230628.0 4.14.318 2023 年 7 月 12 日
  • us‑east‑1

  • us‑east‑2

  • us‑west‑1

  • us‑west‑2

  • eu‑north‑1

  • eu‑west‑1

  • eu‑west‑2

  • eu‑west‑3

  • eu‑central‑1

  • eu‑central‑2 (6.10+)

  • eu‑south‑1

  • eu‑south‑2 (6.10+)

  • ap‑east‑1

  • ap‑south‑1

  • ap‑south‑2 (6.10+)

  • ap‑southeast‑3

  • ap‑northeast‑1

  • ap‑northeast‑2

  • ap‑northeast‑3

  • ap‑southeast‑1

  • ap‑southeast‑2

  • af‑south‑1

  • sa‑east‑1

  • me‑central‑1 (6.10+)

  • me‑south‑1

  • ca‑central‑1

2.0.20230612.0 4.14.314 2023 年 6 月 23 日
  • us‑east‑1

  • us‑east‑2

  • us‑west‑1

  • us‑west‑2

  • eu‑north‑1

  • eu‑west‑1

  • eu‑west‑2

  • eu‑west‑3

  • eu‑central‑1

  • eu‑central‑2 (6.10+)

  • eu‑south‑1

  • eu‑south‑2 (6.10+)

  • ap‑east‑1

  • ap‑south‑1

  • ap‑south‑2 (6.10+)

  • ap‑southeast‑3

  • ap‑northeast‑1

  • ap‑northeast‑2

  • ap‑northeast‑3

  • ap‑southeast‑1

  • ap‑southeast‑2

  • af‑south‑1

  • sa‑east‑1

  • me‑central‑1 (6.10+)

  • me‑south‑1

  • ca‑central‑1

2.0.20230504.1 4.14.313 2023 年 5 月 16 日
  • us‑east‑1

  • us‑east‑2

  • us‑west‑1

  • us‑west‑2

  • eu‑north‑1

  • eu‑west‑1

  • eu‑west‑2

  • eu‑west‑3

  • eu‑central‑1

  • eu‑central‑2 (6.10+)

  • eu‑south‑1

  • eu‑south‑2 (6.10+)

  • ap‑east‑1

  • ap‑south‑1

  • ap‑south‑2 (6.10+)

  • ap‑southeast‑3

  • ap‑northeast‑1

  • ap‑northeast‑2

  • ap‑northeast‑3

  • ap‑southeast‑1

  • ap‑southeast‑2

  • af‑south‑1

  • sa‑east‑1

  • me‑central‑1

  • me‑south‑1

  • ca‑central‑1

2.0.20230418.0 4.14.311 2023 年 5 月 3 日
  • us‑east‑1

  • us‑east‑2

  • us‑west‑1

  • us‑west‑2

  • eu‑north‑1

  • eu‑west‑1

  • eu‑west‑2

  • eu‑west‑3

  • eu‑central‑1

  • eu‑central‑2(仅限 6.10)

  • eu‑south‑1

  • eu‑south‑2(仅限 6.10)

  • ap‑east‑1

  • ap‑south‑1

  • ap‑south‑2(仅限 6.10)

  • ap‑southeast‑3

  • ap‑northeast‑1

  • ap‑northeast‑2

  • ap‑northeast‑3

  • ap‑southeast‑1

  • ap‑southeast‑2

  • af‑south‑1

  • sa‑east‑1

  • me‑central‑1

  • me‑south‑1

  • ca‑central‑1

2.0.20230404.1 4.14.311 2023 年 4 月 18 日
  • us‑east‑1

  • us‑east‑2

  • us‑west‑1

  • us‑west‑2

  • eu‑north‑1

  • eu‑west‑1

  • eu‑west‑2

  • eu‑west‑3

  • eu‑central‑1

  • eu‑central‑2

  • eu‑south‑1

  • eu‑south‑2

  • ap‑east‑1

  • ap‑south‑1

  • ap‑south‑2

  • ap‑southeast‑3

  • ap‑northeast‑1

  • ap‑northeast‑2

  • ap‑northeast‑3

  • ap‑southeast‑1

  • ap‑southeast‑2

  • af‑south‑1

  • sa‑east‑1

  • me‑central‑1

  • me‑south‑1

  • ca‑central‑1

2.0.20230404.0 4.14.311 2023 年 4 月 10 日
  • us‑east‑1

  • eu‑west‑3

2.0.20230320.0 4.14.309 2023 年 3 月 30 日
  • us‑east‑1

  • us‑east‑2

  • us‑west‑1

  • us‑west‑2

  • eu‑north‑1

  • eu‑west‑1

  • eu‑west‑2

  • eu‑west‑3

  • eu‑central‑1

  • eu‑central‑2

  • eu‑south‑1

  • eu‑south‑2

  • ap‑east‑1

  • ap‑south‑1

  • ap‑south‑2

  • ap‑southeast‑3

  • ap‑northeast‑1

  • ap‑northeast‑2

  • ap‑northeast‑3

  • ap‑southeast‑1

  • ap‑southeast‑2

  • af‑south‑1

  • sa‑east‑1

  • me‑central‑1

  • me‑south‑1

  • ca‑central‑1

2.0.20230307.0 4.14.305 2023 年 3 月 15 日
  • us‑east‑1

  • us‑east‑2

  • us‑west‑1

  • us‑west‑2

  • eu‑north‑1

  • eu‑west‑1

  • eu‑west‑2

  • eu‑west‑3

  • eu‑central‑1

  • eu‑central‑2

  • eu‑south‑1

  • eu‑south‑2

  • ap‑east‑1

  • ap‑south‑1

  • ap‑south‑2

  • ap‑southeast‑3

  • ap‑northeast‑1

  • ap‑northeast‑2

  • ap‑northeast‑3

  • ap‑southeast‑1

  • ap‑southeast‑2

  • af‑south‑1

  • sa‑east‑1

  • me‑central‑1

  • me‑south‑1

  • ca‑central‑1

2.0.20230207.0 4.14.304 2023 年 3 月 3 日
  • us‑east‑1

  • us‑east‑2

  • us‑west‑1

  • us‑west‑2

  • eu‑north‑1

  • eu‑west‑1

  • eu‑west‑2

  • eu‑west‑3

  • eu‑central‑1

  • eu‑central‑2

  • eu‑south‑1

  • eu‑south‑2

  • ap‑east‑1

  • ap‑south‑1

  • ap‑south‑2

  • ap‑southeast‑3

  • ap‑northeast‑1

  • ap‑northeast‑2

  • ap‑northeast‑3

  • ap‑southeast‑1

  • ap‑southeast‑2

  • af‑south‑1

  • sa‑east‑1

  • me‑central‑1

  • me‑south‑1

  • ca‑central‑1

2.0.20230119.1 4.14.301 2023 年 2 月 9 日
  • us‑east‑1

  • us‑east‑2

  • us‑west‑1

  • us‑west‑2

  • eu‑north‑1

  • eu‑west‑1

  • eu‑west‑2

  • eu‑west‑3

  • eu‑central‑1

  • eu‑south‑1

  • ap‑east‑1

  • ap‑south‑1

  • ap‑southeast‑3

  • ap‑northeast‑1

  • ap‑northeast‑2

  • ap‑northeast‑3

  • ap‑southeast‑1

  • ap‑southeast‑2

  • af‑south‑1

  • sa‑east‑1

  • me‑south‑1

  • ca‑central‑1

2.0.20221210.1 4.14.301 2023 年 1 月 12 日
  • us‑east‑1

  • us‑east‑2

  • us‑west‑1

  • us‑west‑2

  • eu‑north‑1

  • eu‑west‑1

  • eu‑west‑2

  • eu‑west‑3

  • eu‑central‑1

  • eu‑south‑1

  • ap‑east‑1

  • ap‑south‑1

  • ap‑southeast‑3

  • ap‑northeast‑1

  • ap‑northeast‑2

  • ap‑northeast‑3

  • ap‑southeast‑1

  • ap‑southeast‑2

  • af‑south‑1

  • sa‑east‑1

  • me‑south‑1

  • ca‑central‑1

2.0.20221103.3 4.14.296 2022 年 12 月 5 日
  • us‑east‑1

  • us‑east‑2

  • us‑west‑1

  • us‑west‑2

  • eu‑north‑1

  • eu‑west‑1

  • eu‑west‑2

  • eu‑west‑3

  • eu‑central‑1

  • eu‑south‑1

  • ap‑east‑1

  • ap‑south‑1

  • ap‑southeast‑3

  • ap‑northeast‑1

  • ap‑northeast‑2

  • ap‑northeast‑3

  • ap‑southeast‑1

  • ap‑southeast‑2

  • af‑south‑1

  • sa‑east‑1

  • me‑south‑1

  • ca‑central‑1

2.0.20221004.0 4.14.294 2022 年 11 月 2 日
  • us‑east‑1

  • us‑east‑2

  • us‑west‑1

  • us‑west‑2

  • eu‑north‑1

  • eu‑west‑1

  • eu‑west‑2

  • eu‑west‑3

  • eu‑central‑1

  • eu‑south‑1

  • ap‑east‑1

  • ap‑south‑1

  • ap‑southeast‑3

  • ap‑northeast‑1

  • ap‑northeast‑2

  • ap‑northeast‑3

  • ap‑southeast‑1

  • ap‑southeast‑2

  • af‑south‑1

  • sa‑east‑1

  • me‑south‑1

  • ca‑central‑1

2.0.20220912.1 4.14.291 2022 年 10 月 7 日
  • us‑east‑1

  • us‑east‑2

  • us‑west‑1

  • us‑west‑2

  • eu‑north‑1

  • eu‑west‑1

  • eu‑west‑2

  • eu‑west‑3

  • eu‑central‑1

  • eu‑south‑1

  • ap‑east‑1

  • ap‑south‑1

  • ap‑southeast‑3

  • ap‑northeast‑1

  • ap‑northeast‑2

  • ap‑northeast‑3

  • ap‑southeast‑1

  • ap‑southeast‑2

  • af‑south‑1

  • sa‑east‑1

  • me‑south‑1

  • ca‑central‑1

2.0.20220805.0 4.14.287 2022 年 8 月 30 日
  • us‑west‑1

2.0.20220719.0 4.14.287 2022 年 8 月 10 日
  • us‑east‑1

  • us‑east‑2

  • us‑west‑1

  • us‑west‑2

  • eu‑north‑1

  • eu‑west‑1

  • eu‑west‑2

  • eu‑west‑3

  • eu‑central‑1

  • eu‑south‑1

  • ap‑east‑1

  • ap‑south‑1

  • ap‑southeast‑3

  • ap‑northeast‑1

  • ap‑northeast‑2

  • ap‑northeast‑3

  • ap‑southeast‑1

  • ap‑southeast‑2

  • af‑south‑1

  • sa‑east‑1

  • me‑south‑1

  • ca‑central‑1

2.0.20220426.0 4.14.281 2022 年 6 月 10 日
  • us‑east‑1

  • us‑east‑2

  • us‑west‑1

  • us‑west‑2

  • eu‑north‑1

  • eu‑west‑1

  • eu‑west‑2

  • eu‑west‑3

  • eu‑central‑1

  • eu‑south‑1

  • ap‑east‑1

  • ap‑south‑1

  • ap‑southeast‑3

  • ap‑northeast‑1

  • ap‑northeast‑2

  • ap‑northeast‑3

  • ap‑southeast‑1

  • ap‑southeast‑2

  • af‑south‑1

  • sa‑east‑1

  • me‑south‑1

  • ca‑central‑1

2.0.20220406.1 4.14.275 2022 年 5 月 2 日
  • us‑east‑1

  • us‑east‑2

  • us‑west‑1

  • us‑west‑2

  • eu‑north‑1

  • eu‑west‑1

  • eu‑west‑2

  • eu‑west‑3

  • eu‑central‑1

  • eu‑south‑1

  • ap‑east‑1

  • ap‑south‑1

  • ap‑southeast‑3

  • ap‑northeast‑1

  • ap‑northeast‑2

  • ap‑northeast‑3

  • ap‑southeast‑1

  • ap‑southeast‑2

  • af‑south‑1

  • sa‑east‑1

  • me‑south‑1

  • ca‑central‑1

Amazon EMR 5.x 的默认 AMI

下表列出了有关 Amazon EMR 5.x 版本 5.36 及更高版本的最新补丁版本的 Amazon Linux 信息。

OsReleaseLabel (AL 版) AL 内核版本 可用日期 Amazon Web Services 区域
2.0.20230504.1 4.14.313 2023 年 5 月 16 日
  • us‑east‑1

  • us‑east‑2

  • us‑west‑1

  • us‑west‑2

  • ca‑central‑1

  • eu‑north‑1

  • eu‑west‑1

  • eu‑west‑2

  • eu‑west‑3

  • eu‑central‑1

  • eu‑south‑1

  • ap‑east‑1

  • ap‑south‑1

  • ap‑southeast‑3

  • ap‑northeast‑1

  • ap‑northeast‑2

  • ap‑northeast‑3

  • ap‑southeast‑1

  • ap‑southeast‑2

  • af‑south‑1

  • sa‑east‑1

  • me‑south‑1

  • me‑central‑1

2.0.20230418.0 4.14.311 2023 年 5 月 3 日
  • us‑east‑1

  • us‑east‑2

  • us‑west‑1

  • us‑west‑2

  • ca‑central‑1

  • eu‑north‑1

  • eu‑west‑1

  • eu‑west‑2

  • eu‑west‑3

  • eu‑central‑1

  • eu‑south‑1

  • ap‑east‑1

  • ap‑south‑1

  • ap‑southeast‑3

  • ap‑northeast‑1

  • ap‑northeast‑2

  • ap‑northeast‑3

  • ap‑southeast‑1

  • ap‑southeast‑2

  • af‑south‑1

  • sa‑east‑1

  • me‑south‑1

  • me‑central‑1

2.0.20230404.1 4.14.311 2023 年 4 月 18 日
  • us‑east‑1

  • us‑east‑2

  • us‑west‑1

  • us‑west‑2

  • ca‑central‑1

  • eu‑north‑1

  • eu‑west‑1

  • eu‑west‑2

  • eu‑west‑3

  • eu‑central‑1

  • eu‑south‑1

  • ap‑east‑1

  • ap‑south‑1

  • ap‑southeast‑3

  • ap‑northeast‑1

  • ap‑northeast‑2

  • ap‑northeast‑3

  • ap‑southeast‑1

  • ap‑southeast‑2

  • af‑south‑1

  • sa‑east‑1

  • me‑south‑1

2.0.20230404.0 4.14.311 2023 年 4 月 10 日
  • us‑east‑1

  • eu‑west‑3

2.0.20230320.0 4.14.309 2023 年 3 月 30 日
  • us‑east‑1

  • us‑east‑2

  • us‑west‑1

  • us‑west‑2

  • ca‑central‑1

  • eu‑north‑1

  • eu‑west‑1

  • eu‑west‑2

  • eu‑west‑3

  • eu‑central‑1

  • eu‑south‑1

  • ap‑east‑1

  • ap‑south‑1

  • ap‑southeast‑3

  • ap‑northeast‑1

  • ap‑northeast‑2

  • ap‑northeast‑3

  • ap‑southeast‑1

  • ap‑southeast‑2

  • af‑south‑1

  • sa‑east‑1

  • me‑south‑1

2.0.20230307.0 4.14.305 2023 年 3 月 15 日
  • us‑east‑1

  • us‑east‑2

  • us‑west‑1

  • us‑west‑2

  • ca‑central‑1

  • eu‑north‑1

  • eu‑west‑1

  • eu‑west‑2

  • eu‑west‑3

  • eu‑central‑1

  • eu‑south‑1

  • ap‑east‑1

  • ap‑south‑1

  • ap‑southeast‑3

  • ap‑northeast‑1

  • ap‑northeast‑2

  • ap‑northeast‑3

  • ap‑southeast‑1

  • ap‑southeast‑2

  • af‑south‑1

  • sa‑east‑1

  • me‑south‑1

2.0.20230207.0 4.14.304 2023 年 3 月 3 日
  • us‑east‑1

  • us‑east‑2

  • us‑west‑1

  • us‑west‑2

  • eu‑north‑1

  • eu‑west‑1

  • eu‑west‑2

  • eu‑west‑3

  • eu‑central‑1

  • eu‑south‑1

  • ap‑east‑1

  • ap‑south‑1

  • ap‑southeast‑3

  • ap‑northeast‑1

  • ap‑northeast‑2

  • ap‑northeast‑3

  • ap‑southeast‑1

  • ap‑southeast‑2

  • af‑south‑1

  • sa‑east‑1

  • me‑south‑1

  • ca‑central‑1

2.0.20221210.1 4.14.301 2023 年 1 月 12 日
  • us‑east‑1

  • us‑east‑2

  • us‑west‑1

  • us‑west‑2

  • eu‑north‑1

  • eu‑west‑1

  • eu‑west‑2

  • eu‑west‑3

  • eu‑central‑1

  • eu‑south‑1

  • ap‑east‑1

  • ap‑south‑1

  • ap‑southeast‑3

  • ap‑northeast‑1

  • ap‑northeast‑2

  • ap‑northeast‑3

  • ap‑southeast‑1

  • ap‑southeast‑2

  • af‑south‑1

  • sa‑east‑1

  • me‑south‑1

  • ca‑central‑1

2.0.20221103.3 4.14.296 2022 年 12 月 5 日
  • us‑east‑1

  • us‑east‑2

  • us‑west‑1

  • us‑west‑2

  • eu‑north‑1

  • eu‑west‑1

  • eu‑west‑2

  • eu‑west‑3

  • eu‑central‑1

  • eu‑south‑1

  • ap‑east‑1

  • ap‑south‑1

  • ap‑southeast‑3

  • ap‑northeast‑1

  • ap‑northeast‑2

  • ap‑northeast‑3

  • ap‑southeast‑1

  • ap‑southeast‑2

  • af‑south‑1

  • sa‑east‑1

  • me‑south‑1

  • ca‑central‑1

2.0.20221004.0 4.14.294 2022 年 11 月 2 日
  • us‑east‑1

  • us‑east‑2

  • us‑west‑1

  • us‑west‑2

  • eu‑north‑1

  • eu‑west‑1

  • eu‑west‑2

  • eu‑west‑3

  • eu‑central‑1

  • eu‑south‑1

  • ap‑east‑1

  • ap‑south‑1

  • ap‑southeast‑3

  • ap‑northeast‑1

  • ap‑northeast‑2

  • ap‑northeast‑3

  • ap‑southeast‑1

  • ap‑southeast‑2

  • af‑south‑1

  • sa‑east‑1

  • me‑south‑1

  • ca‑central‑1

2.0.20220912.1 4.14.291 2022 年 10 月 7 日
  • us‑east‑1

  • us‑east‑2

  • us‑west‑1

  • us‑west‑2

  • eu‑north‑1

  • eu‑west‑1

  • eu‑west‑2

  • eu‑west‑3

  • eu‑central‑1

  • eu‑south‑1

  • ap‑east‑1

  • ap‑south‑1

  • ap‑southeast‑3

  • ap‑northeast‑1

  • ap‑northeast‑2

  • ap‑northeast‑3

  • ap‑southeast‑1

  • ap‑southeast‑2

  • af‑south‑1

  • sa‑east‑1

  • me‑south‑1

  • ca‑central‑1

2.0.20220719.0 4.14.287 2022 年 8 月 10 日
  • us‑west‑1

  • eu‑west‑3

  • eu‑north‑1

  • eu‑central‑1

  • ap‑south‑1

  • me‑south‑1

2.0.20220426.0 4.14.281 2022 年 6 月 14 日
  • us‑east‑1

  • us‑east‑2

  • us‑west‑1

  • us‑west‑2

  • eu‑north‑1

  • eu‑west‑1

  • eu‑west‑2

  • eu‑west‑3

  • eu‑central‑1

  • eu‑south‑1

  • ap‑east‑1

  • ap‑south‑1

  • ap‑southeast‑3

  • ap‑northeast‑1

  • ap‑northeast‑2

  • ap‑northeast‑3

  • ap‑southeast‑1

  • ap‑southeast‑2

  • af‑south‑1

  • sa‑east‑1

  • me‑south‑1

  • ca‑central‑1

软件更新注意事项

记录以下默认的软件更新行为:

Amazon EMR 7.x — Amazon Linux 2023

Amazon EMR 版本 7.0 及更高版本在 Amazon Linux 2023(AL2023)上运行。AL2023 的默认行为是将 AMI 锁定到特定版本的 Amazon Linux 软件存储库。因此,并非每次启动集群时都会应用安全更新。相反,Amazon EMR 7.x 版本的默认行为是仅在创建集群时自动为默认的 Amazon EMR AMI 应用最新的 AL2023 版本。要接收最新安全更新,我们建议您定期重新创建集群。

Amazon EMR 5.x 和 6.x — Amazon Linux 和 Amazon Linux 2

对于低于 7.0 的 Amazon EMR 版本,当基于 Amazon EMR 的默认 Amazon Linux(AL)或 Amazon Linux 2(AL2)AMI的集群中的 Amazon EC2 实例首次启动时,它会检查应用于 AL 和 Amazon Linux 的已启用的软件包存储库的发布版本的软件更新。与其他 AL 和 AL2 实例一样,这些存储库中的关键和重要安全更新会自动安装。

另请注意,在您的网络配置中,您必须允许 HTTP 和 HTTPS 传出到 Amazon S3 中的 Amazon Linux 存储库。否则,安全更新将失败。有关更多信息,请参阅《亚马逊 EC2 用户指南》中的 Amazon Linux-Package 存储库。默认情况下,需要重新启动的其它软件包和内核更新(包括 NVIDIA 和 CUDA)将在首次启动时从自动下载中被排除。

Amazon EMR 5.35.0 及更早版本,以及 6.5.0 及更早版本 – Amazon Linux AMI 已锁定为 Amazon EMR 版本

对于亚马逊 EMR 5.35.0 及更低版本以及 6.5.0 及更低版本,默认 AMI 基于亚马逊 EMR 发布时可用的最多的亚马逊 up-to-date Linux AMI。AMI 已使用大数据应用程序和该版本中附带的 Amazon EMR 功能针对兼容性进行测试。

每个 Amazon EMR 5.35.0 及更早版本、6.5.0 及更早的 Amazon EMR 版本均“已锁定”为分配的 Amazon Linux AMI 版本,以保持兼容性。因此,我们建议您使用最新的 Amazon EMR 版本,除非您需要使用早期版本以确保兼容性且无法迁移。如果您必须使用早期版本的 Amazon EMR 来确保兼容性,我们建议您使用系列中的最新版本。例如,如果您必须使用 5.12 系列,请使用 5.12.2,而不是 5.12.0 或 5.12.1。如果系列中有新版本可用,请考虑将您的应用程序迁移到新版本。

有关 Amazon EMR 5.36.0 及更高版本以及 6.6.0 及更高版本引入的自动更新行为的更多信息,请参阅 Amazon EMR 版本的 Amazon Linux 自动更新

默认引导行为不包括内核更新

当基于 Amazon EMR 默认 Amazon Linux AMI 的集群中的 Amazon EC2 实例首次启动时,它会检查 Amazon Linux 的已启用的软件包存储库以及适用于 AMI 版本的软件更新的 Amazon EMR。与其它 Amazon EC2 实例一样,这些存储库中的关键和重要安全更新会自动安装。

但是,如果您使用旧版本的 Amazon Linux AMI,则可能无法自动安装最新的安全更新。这是因为 EMR 集群引用的存储库对于每个版本的 Amazon Linux AMI 都是固定的。

另请注意,在您的网络配置中,您必须允许 HTTP 和 HTTPS 传出到 Amazon S3 中的 Amazon Linux 存储库。否则,安全更新将失败。有关更多信息,请参阅《亚马逊 EC2 用户指南》中的 Amazon Linux-Package 存储库。默认情况下,需要重新启动的其它软件包和内核更新(包括 NVIDIA 和 CUDA)将在首次启动时从自动下载中被排除。

重要

运行 AL2023 的 EMR 集群使用默认的 Amazon Linux 行为,并且您的亚马逊系统映像(AMI)被锁定到特定版本的 Amazon Linux 存储库。默认情况下,集群启动时不会自动接收软件安全更新。您的集群仅包含您在创建集群时选择的 AL2023 AMI 版本中所提供的更新。有关更多信息,请参阅《Amazon Linux 2023 用户指南》中的更新 Amazon Linux 2023

重要

运行 Amazon Linux 或 Amazon Linux 2 亚马逊机器映像(AMI)的 EMR 集群使用默认的 Amazon Linux 行为,且不会自动下载和安装需要重新启动的重要关键内核更新。这与运行默认 Amazon Linux AMI 的其它 Amazon EC2 实例的行为相同。如果需要重新启动的新 Amazon Linux 软件更新(例如内核、NVIDIA 和 CUDA 更新)在 Amazon EMR 版本发布后可用,则运行默认 AMI 的 EMR 集群实例不会自动下载和安装这些更新。要获取内核更新,您可以自定义 Amazon EMR AMI,以使用最新的 Amazon Linux AMI

集群启动时有无更新

请注意,如果由于在集群首次启动时无法访问软件包存储库而导致无法安装软件更新,则集群实例仍会完成启动。例如,存储库可能由于 S3 暂时不可用而无法访问,或者您可能将 VPC 或防火墙规则配置为了阻止访问。

请勿运行 sudo yum update

当您使用 SSH 连接到集群实例时,屏幕输出的前几行会提供一个链接,该链接指向实例使用的 Amazon Linux AMI 的发布说明、最新 Amazon Linux AMI 版本的通知、可供已启用存储库中的更新使用的软件包数量的通知,以及可用于运行 sudo yum update 的指令。

重要

我们强烈建议您不要在使用 SSH 或使用引导操作连接的同时,在集群实例上运行 sudo yum update。这可能会导致不兼容,因为所有软件包都是不加区分地安装的。

软件更新最佳实践

管理软件更新的最佳实践
  • 如果您使用早期版本的 Amazon EMR,请考虑对迁移到最新版本进行测试,然后再更新软件包。

  • 如果您迁移到更新的版本或升级软件包,请首先在非生产环境中测试实施。使用 Amazon EMR 控制台克隆集群的选项对此大有帮助。

  • 逐个为您的应用程序和 Amazon Linux AMI 版本评估软件更新。仅在生产环境中测试和安装程序包,该生产环境是您确定安全状况、应用程序功能或性能时绝对需要的。

  • 请访问 Amazon Linux 安全中心,获取更新。

  • 避免通过使用 SSH 连接到单个集群实例来安装软件包。相反,根据需要使用引导操作来安装和更新所有集群实例上的软件包。这要求您终止并重新启动集群。有关更多信息,请参阅创建引导操作以安装其它软件