[ 
https://issues.apache.org/jira/browse/HDDS-6263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Siyao Meng updated HDDS-6263:
-----------------------------
    Description: 
This is the uber jira for arm64 support in Ozone docker development environment.

Status Quo:

- Most images used in docker dev environment supports amd64 only.
- It runs VERY slowly on Apple Silicon (M1) Macs' Docker Desktop due to qemu 
x86-64 -> arm64 translation. For instance, SCM startup in the upgrade 
acceptance test should take ~23 seconds on a regular Intel MacBook Pro to boot 
up and exit safe mode; while it times out (after 240s~300s) starting up the SCM 
alone on an M1 Pro MacBook Pro due to the translation/emulation.

Goal:

- Add arm64 support for all Docker images used for Ozone development. The 
resulting images (that are pushed to Docker Hub) should be dual-architecture 
(e.g. ozone-docker-runner).

Foreseeable work to be done:

- Bump Centos base image to a version that (Almost done, pending review)
- dumbinit and tools included in the image build stage should be architecture 
aware. Currently the tools are x64 only. After this the ozone runner base image 
should be working, provided that ALL the Ozone dependencies pulled from maven 
supports Linux arm64 (afaik RocksDBJNI does, but gRPC might not, 
- 

  was:
This is the uber jira for arm64 support in Ozone docker development environment.

Status Quo:

- Most images used in docker dev environment supports amd64 only.
- It runs VERY slowly on Apple Silicon (M1) Macs' Docker Desktop due to qemu 
x86-64 -> arm64 translation. For instance, SCM startup in the upgrade 
acceptance test should take ~23 seconds on a regular Intel MacBook Pro to boot 
up and exit safe mode; while it times out (after 240s~300s) starting up the SCM 
alone on an M1 Pro MacBook Pro due to the translation/emulation.

Goal:

- Add arm64 support for all Docker images used for Ozone development. The 
resulting images should be dual-architecture (e.g. ozone-docker-runner).


> Full arm64 support for Docker Images
> ------------------------------------
>
>                 Key: HDDS-6263
>                 URL: https://issues.apache.org/jira/browse/HDDS-6263
>             Project: Apache Ozone
>          Issue Type: Task
>          Components: docker
>            Reporter: Siyao Meng
>            Priority: Major
>
> This is the uber jira for arm64 support in Ozone docker development 
> environment.
> Status Quo:
> - Most images used in docker dev environment supports amd64 only.
> - It runs VERY slowly on Apple Silicon (M1) Macs' Docker Desktop due to qemu 
> x86-64 -> arm64 translation. For instance, SCM startup in the upgrade 
> acceptance test should take ~23 seconds on a regular Intel MacBook Pro to 
> boot up and exit safe mode; while it times out (after 240s~300s) starting up 
> the SCM alone on an M1 Pro MacBook Pro due to the translation/emulation.
> Goal:
> - Add arm64 support for all Docker images used for Ozone development. The 
> resulting images (that are pushed to Docker Hub) should be dual-architecture 
> (e.g. ozone-docker-runner).
> Foreseeable work to be done:
> - Bump Centos base image to a version that (Almost done, pending review)
> - dumbinit and tools included in the image build stage should be architecture 
> aware. Currently the tools are x64 only. After this the ozone runner base 
> image should be working, provided that ALL the Ozone dependencies pulled from 
> maven supports Linux arm64 (afaik RocksDBJNI does, but gRPC might not, 
> - 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org
For additional commands, e-mail: issues-h...@ozone.apache.org

Reply via email to