Open thinh2 opened 5 months ago
I ran into the same issue, but downgrading docker like suggested also worked for me to fix it.
There is now an internal build of Docker 4.32 that resolved this issue for me: https://github.com/docker/for-mac/issues/7006#issuecomment-2163112416
Hopefully there will be an official release soon!
Willingness to contribute
Yes. I can contribute a fix for this bug independently.
OpenHouse version
v0.5.62
System information
Describe the problem
While running
spark-shell
commands in theSETUP.md
, it always prompts a fatal error related to Java Runtime Environment.After investigation, I found that it is a common docker issue on Apple Silicon Macbook due to a bug in Rosseta (the x86/amd64 emulation application on Apple Silicon).
More details about this issue can be found in https://github.com/docker/for-mac/issues/7006
While waiting for the fix from Apple, there are several workarounds for this issue. For me, downgrading the Docker to [https://docs.docker.com/desktop/release-notes/#4272](version 4.27.2) will work. Additionally, other methods are mentioned in https://github.com/docker/for-mac/issues/7006#issuecomment-2122869966.
Stacktrace, metrics and logs
Code to reproduce bug
What component does this bug affect?
Table Service
: This is the RESTful catalog service that stores table metadata.:services:tables
Jobs Service
: This is the job orchestrator that submits data services for table maintenance.:services:jobs
Data Services
: This is the jobs that performs table maintenance.apps:spark
Iceberg internal catalog
: This is the internal Iceberg catalog for OpenHouse Catalog Service.:iceberg:openhouse
Spark Client Integration
: This is the Apache Spark integration for OpenHouse catalog.:integration:spark
Documentation
: This is the documentation for OpenHouse.docs
Local Docker
: This is the local Docker environment for OpenHouse.infra/recipes/docker-compose
Other
: Please specify the component.