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 Answer
2
Accepted Answer

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
answered 2 months ago
profile picture
EXPERT
reviewed a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions