本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。
在 Amazon EMR 使用默认的 Amazon Linux AMI
除非您指定自定义 AMI,否则每个 Amazon EMR 发行版都会在 Amazon EMR 使用默认的 Amazon Linux AMI。从亚马逊 EMR 5.36 和亚马逊 EMR 6.6 版本开始,在亚马逊 EMR 默认 AMI 中更新亚马逊 Linux 2 (AL2) 的默认行为是自动将最新的 AL2 版本应用于默认亚马逊 EMR AMI。
亚马逊 EMR 版本的亚马逊 Linux 2 自动更新
当您使用启动集群时最新的补丁版本在亚马逊 EMR 5.36 或更高版本或 6.6 或更高版本中,亚马逊 EMR 使用最新的亚马逊 Linux 2 版本作为默认的亚马逊 EMR AMI。例如:
-
哪里有
x.x.0
还有一个x.x.1
发布,x.x.0
版本在以下情况下停止获取 AMI 更新x.x.1
启动。 -
同样,
x.x.1
在以下情况下停止获取 AMI 更新x.x.2
启动。 -
后来,什么时候
x.y.0
发布,x.x.
同时继续接收 AMI 更新[latest]
x.y.
。[latest]
查看你是否在使用最新的补丁版本,如小数点后面的数字所示 (6.8.
) 有关 Amazon EMR 版本,请参阅中的可用版本亚马逊 EMR 发布指南,请检查亚马逊 EMR 发布在控制台中创建集群时下拉列表,或者使用1
ListReleaseLabels
API 或list-release-labels
CLI 操作。要在我们发布新的 Amazon EMR 版本时获取最新信息,请订阅 RSS feed有什么新的?《发行指南》中的页面。
如果你愿意,你可以选择使用 Amazon EMR 版本首次附带的 Amazon Linux 版本启动集群。有关如何为您的集群指定 Amazon Linux 版本的信息,请参阅创建集群时更改 Amazon Linux 发行版。
亚马逊 Linux 的默认版本
下表列出了亚马逊 EMR 6.x 版本 6.6 及更高版本的最新补丁版本的亚马逊 Linux 信息。
OsReleaseLabel (亚马逊 Linux 版本) |
Amazon Linux 内核版本 | 可用日期 | 支持的区域 |
---|---|---|---|
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 |
下表列出了亚马逊 EMR 5.x 版本 5.36 及更高版本的最新补丁版本的亚马逊 Linux 信息。
OsReleaseLabel(亚马逊 Linux 版本) | Amazon Linux 内核版本 | 可用日期 | 支持的区域 |
---|---|---|---|
2.0.20230504.1 | 4.14.313 | 2023 年 5 月 16 日 | 美国东部(弗吉尼亚北部)、美国东部(俄亥俄)、美国西部(加利福尼亚北部)、美国西部(俄勒冈)、加拿大(中部)、欧洲(斯德哥尔摩)、欧洲(爱尔兰)、欧洲(伦敦)、欧洲(法兰克福)、欧洲(米兰)、亚太地区(香港)、亚太地区(雅加达)、亚太地区(东京)、亚太地区(首尔)、亚太地区(首尔)、亚太地区(汉城)、亚太地区(汉城)、亚太地区(首尔)、亚太地区(大阪)、亚太地区(新加坡)、亚太地区(悉尼)、非洲(开普敦)、南美洲(圣保罗)、中东(巴林)、中东(阿联酋) |
2.0.20230418.0 | 4.14.311 | 2023 年 5 月 3 日 | 美国东部(弗吉尼亚北部)、美国东部(俄亥俄)、美国西部(加利福尼亚北部)、美国西部(俄勒冈)、加拿大(中部)、欧洲(斯德哥尔摩)、欧洲(爱尔兰)、欧洲(伦敦)、欧洲(法兰克福)、欧洲(米兰)、亚太地区(香港)、亚太地区(雅加达)、亚太地区(东京)、亚太地区(首尔)、亚太地区(首尔)、亚太地区(汉城)、亚太地区(汉城)、亚太地区(首尔)、亚太地区(大阪)、亚太地区(新加坡)、亚太地区(悉尼)、非洲(开普敦)、南美洲(圣保罗)、中东(巴林)、中东(阿联酋) |
2.0.20230404.1 | 4.14.311 | 2023 年 4 月 18 日 | 美国东部(弗吉尼亚北部)、美国东部(俄亥俄)、美国西部(加利福尼亚北部)、美国西部(俄勒冈)、加拿大(中部)、欧洲(斯德哥尔摩)、欧洲(爱尔兰)、欧洲(伦敦)、欧洲(法兰克福)、欧洲(米兰)、亚太地区(香港)、亚太地区(雅加达)、亚太地区(东京)、亚太地区(首尔)、亚太地区(首尔)、亚太地区(汉城)、亚太地区(汉城)、亚太地区(首尔)、亚太地区(大阪)、亚太地区(新加坡)、亚太地区(悉尼)、非洲(开普敦)、南美洲(圣保罗)、中东(巴林) |
2.0.20230404.0 | 4.14.311 | 2023 年 4 月 10 日 | 美国东部(弗吉尼亚北部)、欧洲(巴黎) |
2.0.20230320.0 | 4.14.309 | 2023 年 3 月 30 日 | 美国东部(弗吉尼亚北部)、美国东部(俄亥俄)、美国西部(加利福尼亚北部)、美国西部(俄勒冈)、加拿大(中部)、欧洲(斯德哥尔摩)、欧洲(爱尔兰)、欧洲(伦敦)、欧洲(法兰克福)、欧洲(米兰)、亚太地区(香港)、亚太地区(雅加达)、亚太地区(东京)、亚太地区(首尔)、亚太地区(首尔)、亚太地区(汉城)、亚太地区(汉城)、亚太地区(首尔)、亚太地区(大阪)、亚太地区(新加坡)、亚太地区(悉尼)、非洲(开普敦)、南美洲(圣保罗)、中东(巴林) |
2.0.20230307.0 | 4.14.305 | 2023 年 3 月 15 日 | 美国东部(弗吉尼亚北部)、美国东部(俄亥俄)、美国西部(加利福尼亚北部)、美国西部(俄勒冈)、加拿大(中部)、欧洲(斯德哥尔摩)、欧洲(爱尔兰)、欧洲(伦敦)、欧洲(法兰克福)、欧洲(米兰)、亚太地区(香港)、亚太地区(雅加达)、亚太地区(东京)、亚太地区(首尔)、亚太地区(首尔)、亚太地区(汉城)、亚太地区(汉城)、亚太地区(首尔)、亚太地区(大阪)、亚太地区(新加坡)、亚太地区(悉尼)、非洲(开普敦)、南美洲(圣保罗)、中东(巴林) |
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 |
软件更新注意事项
以下是需要注意的默认软件更新行为:
亚马逊 EMR 5.35.0 及更低版本以及 6.5.0 及更低版本——亚马逊 Linux AMI “锁定” 到亚马逊 EMR 发行版
对于亚马逊 EMR 5.35.0 及更低版本以及 6.5.0 及更低版本,默认 AMI 基于最大up-to-date亚马逊 Linux AMI 在亚马逊 EMR 发布时可用。AMI 已使用大数据应用程序和该版本中附带的 Amazon EMR 功能针对兼容性进行测试。
为了保持兼容性,每个亚马逊 EMR 5.35.0 及更低版本以及 6.5.0 及更低版本的亚马逊 EMR 发行版本都被 “锁定” 到各自分配的亚马逊 Linux AMI 版本。这意味着较低的亚马逊 Linux AMI 版本将用于较低的亚马逊 EMR 发行版本,即使有更新的亚马逊 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 及更高版本中引入的自动更新行为的更多信息,请参阅亚马逊 EMR 版本的亚马逊 Linux 2 自动更新。
默认启动行为不包括内核更新
当基于 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 存储库,否则安全更新将失败。有关更多信息,请参阅《适用于 Linux 实例的 Amazon EC2 用户指南》中的程序包存储库。默认情况下,需要重新启动的其它软件包和内核更新(包括 NVIDIA 和 CUDA)将在首次启动时从自动下载中被排除。
重要
运行 Amazon Linux 或 Amazon Linux 2 AMI(Amazon Linux Machine Image)的 Amazon EMR 集群使用默认的 Amazon Linux 行为,且不会自动下载和安装需要重新启动的重要关键内核更新。这与运行默认 Amazon Linux AMI 的其它 Amazon EC2 实例的行为相同。如果需要重新启动的新 Amazon Linux 软件更新(例如内核、NVIDIA 和 CUDA 更新)在 Amazon EMR 版本发布后可用,则运行默认 AMI 的 Amazon EMR 集群实例不会自动下载和安装这些更新。要获取内核更新,您可以自定义 Amazon EMR AMI,以使用最新的 Amazon Linux AMI。
无论是否有更新,集群都会启动
请注意,如果由于在集群首次启动时无法访问软件包存储库而导致无法安装软件更新,则集群实例仍会完成启动。例如,存储库可能由于 S3 暂时不可用而无法访问,或者您可能将 VPC 或防火墙规则配置为了阻止访问。
别跑sudo yum update
当您使用 SSH 连接到集群实例时,屏幕输出的前几行会提供一个链接,该链接指向实例使用的 Amazon Linux AMI 的发布说明、最新 Amazon Linux AMI 版本的通知、可供已启用存储库中的更新使用的软件包数量的通知,以及可用于运行 sudo yum update
的指令。
重要
我们强烈建议你不要跑sudo yum update
在集群实例上,要么在与 SSH 连接时,要么在使用引导操作时。这可能会导致不兼容,因为所有软件包都是不加区分地安装的。
软件更新最佳实践
管理软件更新的最佳实践
-
如果您使用的是较低版本的 Amazon EMR,请在更新软件包之前考虑迁移到最新版本并进行测试。
-
如果您迁移到更高的发行版本或升级软件包,请先在非生产环境中测试实现。使用 Amazon EMR 控制台克隆集群的选项对此大有帮助。
-
逐个为您的应用程序和 Amazon Linux AMI 版本评估软件更新。仅在生产环境中测试和安装程序包,该生产环境是您确定安全状况、应用程序功能或性能时绝对需要的。
-
请访问 Amazon Linux 安全中心
,获取更新。 -
避免通过使用 SSH 连接到单个集群实例来安装软件包。相反,根据需要使用引导操作来安装和更新所有集群实例上的软件包。这要求您终止并重新启动集群。有关更多信息,请参阅创建引导操作以安装其它软件。