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달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠