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 Resposta
2
Resposta aceita

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
respondido há 3 meses
profile picture
ESPECIALISTA
avaliado há 2 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas