Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for ARM machine #35

Open
bhavaniravi opened this issue Jul 8, 2024 · 1 comment
Open

Support for ARM machine #35

bhavaniravi opened this issue Jul 8, 2024 · 1 comment

Comments

@bhavaniravi
Copy link

Describe the bug
The spark script and the quarto script fails in pipeline since i'm running docker-compose on my M1 mac

To Reproduce

  1. Run the make up command
  2. Run the airflow pipeline
  3. If everything goes well the spark script will fail saying "no such file or directly"
  4. If you change the Java to arm instead of amd in tar, it fixes it
  5. Then the quarto fails. Similarly updating the bash script to arm fixes it

Expected behavior
Spark should run without any issues

Screenshots

Desktop (please complete the following information):

  • OS: Mac M1 Sonoma
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]
@MounirHader
Copy link

I am facing the same error here: the airflow DAG fails on the spark script with the following error logs:

[2024-09-18, 20:00:18 UTC] {subprocess.py:75} INFO - Running command: ['/usr/bin/bash', '-c', 'python /opt/***/dags/scripts/spark/random_text_classification.py']
[2024-09-18, 20:00:18 UTC] {subprocess.py:86} INFO - Output:
[2024-09-18, 20:00:18 UTC] {subprocess.py:93} INFO - /opt/spark/bin/load-spark-env.sh: line 68: ps: command not found
[2024-09-18, 20:00:18 UTC] {subprocess.py:93} INFO - /opt/spark/bin/spark-class: line 71: /usr/lib/jvm/java-17-openjdk-amd64/bin/java: No such file or directory

@bhavaniravi what exactly did you have to change to make it work on ARM machine?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants