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

Add support for arm64 #915

Open
holdenk opened this issue May 15, 2020 · 8 comments
Open

Add support for arm64 #915

holdenk opened this issue May 15, 2020 · 8 comments

Comments

@holdenk
Copy link

holdenk commented May 15, 2020

Given the proliferation of arm based cloud instances and the nvidia arm platforms it would make sense to support running on arm64.

@lucaskjaero
Copy link

I also have this issue. Thanks for raising it @holdenk .

@vl-shopback
Copy link

any news?

2 similar comments
@ljy2010a
Copy link

any news?

@shechostr
Copy link

any news?

@gonzalezzfelipe
Copy link

gonzalezzfelipe commented Oct 20, 2022

Hey there, adding my 2 cents here, because I just got it working. It looks like this has no more support so I'll tell you the steps I did to get it working

#. Change this line from GOARCH=amd64 to GOARCH=arm64.
#. Run docker buildx build --platform linux/arm64 --build-arg SPARK_IMAGE=apache/spark:v3.2.2 -t your-repo/your-image:v3.2.2-arm .

I'm currently testing that no problems arise from this, but it seems like these are the only change requirements. Then update the values of the helmchart to use this image and that should be it.

@mfidemraizer
Copy link

@gonzalezzfelipe I've done so, and I'm getting the following error once container is started:

exec: "/usr/bin/entrypoint.sh": permission denied: unknown

@ZachThill
Copy link

ZachThill commented Jun 22, 2023

@mfidemraizer,
I was just working on this trying to deploy spark operator on an AWS Graviton cluster. After successfully building the image and attempting to run the container on docker desktop, I got the same error as you:
Screenshot 2023-06-22 at 8 24 43 AM
To fix this issue, I added a new RUN line to my dockerfile that changes the permissions of the entrypoint.sh file and was able to initialize the container successfully:

COPY spark-operator/entrypoint.sh /usr/bin/
RUN chmod +x /usr/bin/entrypoint.sh
ENTRYPOINT ["/usr/bin/entrypoint.sh"]

@manojmukkamala
Copy link

tested spark 3.5.0 on RPi microk8s today using docker image and can confirm it is working fine by following the instructions above.

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

9 participants