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 Antwort
2
Akzeptierte Antwort

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
beantwortet vor 3 Monaten
profile picture
EXPERTE
überprüft vor 2 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen