Does MWAA uses java Corretto?

0

Hey,

My company is moving away from Java Corretto and replacing it with OpenJDK. We are suspicious that one of the services, MWAA, uses Corretto because we found it being installed in this repository, but that is the aws-mwaa-local-runner repository in here. Since none of our MWAA environments have a startup script and MWAA seems like a black box, does MWAA install Java Corretto by default?

Thank you.

1回答
2
承認された回答

Hello, Just used a BashOperator to run command java --version in my MWAA environment (Airflow v2.7.2), and it returned below:

[2024-02-13, 17:48:09 UTC] {{subprocess.py:75}} INFO - Running command: ['/usr/bin/bash', '-c', 'java --version'] [2024-02-13, 17:48:09 UTC] {{subprocess.py:86}} INFO - Output: [2024-02-13, 17:48:09 UTC] {{subprocess.py:93}} INFO - openjdk 17.0.9 2023-10-17 LTS [2024-02-13, 17:48:09 UTC] {{subprocess.py:93}} INFO - OpenJDK Runtime Environment Corretto-17.0.9.8.1 (build 17.0.9+8-LTS) [2024-02-13, 17:48:09 UTC] {{subprocess.py:93}} INFO - OpenJDK 64-Bit Server VM Corretto-17.0.9.8.1 (build 17.0.9+8-LTS, mixed mode, sharing)

So, to answer your question, MWAA does seem to install Java Corretto by default. I hope this helps.

AWS
回答済み 3ヶ月前
profile picture
エキスパート
レビュー済み 2ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ