GeezerVison is showing github.com — Bigtable emulator does not support ARM · Issue #677 · googleapis/java-bigtable
This repository was archived by the owner on Aug 30, 2026. It is now read-only.
This repository was archived by the owner on Aug 30, 2026. It is now read-only.
Bigtable emulator does not support ARM #677Labels api: bigtableIssues related to the googleapis/java-bigtable API.priority: p3Desirable enhancement or fix. May not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design. DescriptionIt looks the the emulator only works on x64 architectures for Linux, OSX, and Windows. Reacted by Tomo Suzuki and Casey Activitysuztomo commented on Mar 16, 2021 Memo for the error
~/suztomo/java-bigtable/google-cloud-bigtable-emulator$ mvn test -DtrimStackTrace=false -Dtest=com.google.cloud.bigtable.emulator.v2.EmulatorTest
...
INFO] Running com.google.cloud.bigtable.emulator.v2.EmulatorTest
[ERROR] Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 0.042 s <<< FAILURE! - in com.google.cloud.bigtable.emulator.v2.EmulatorTest
[ERROR] com.google.cloud.bigtable.emulator.v2.EmulatorTest.testDataClient Time elapsed: 0.016 s <<< ERROR!
java.lang.UnsupportedOperationException: Unsupported architecture: aarch64
at com.google.cloud.bigtable.emulator.v2.Emulator.getBundledResourcePath(Emulator.java:236)
at com.google.cloud.bigtable.emulator.v2.Emulator.createBundled(Emulator.java:65)
at com.google.cloud.bigtable.emulator.v2.EmulatorTest.setUp(EmulatorTest.java:49)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
...
From Emulator.java:
String unformattedArch = System.getProperty("os.arch");
String arch;
switch (unformattedArch) {
case "x86":
arch = "x86";
break;
case "x86_64":
case "amd64":
arch = "x86_64";
break;
default:
throw new UnsupportedOperationException("Unsupported architecture: " + unformattedArch);
}
return String.format(
"/gcloud/bigtable-%s-%s/platform/bigtable-emulator/cbtemulator%s", os, arch, suffix);
igorbernstein2 commented on Apr 20, 2021 We need to start publishing aarch64 to gcloud sdk and then we can update this wrapper tkaymak commented on Aug 13, 2021 Is the publishing on the horizon? <3 liufuyang commented on Oct 9, 2021 Any update and temproray solutions for this?
This is what I see if I try to run gcloud beta emulators bigtable start
WARNING: The ARM versions of the components [bigtable] are not available yet. To download and execute the x86_64 version of the components, please install Rosetta 2 first by running the command: softwareupdate --install-rosetta.
ERROR: (gcloud.beta.emulators.bigtable.start) The following components are unknown [bigtable].
alejandrolujan commented on Dec 3, 2021 Any updates on this? Is there a plan to release an ARM-compatible emulator? Any timelines?
Shopify is moving all of its engineers to Apple M1 laptops and this is blocking several repositories from being compatible with the ARM architecture. rameshdharan commented on Dec 6, 2021 Hi @liufuyang and @alejandrolujan, we can confirm that the emulator update for ARM64 (macOS and Linux) is complete, and should be included in a gcloud SDK release happening soon (currently I'd expect this to release in mid-December).
You can follow the Cloud SDK release notes here, and the ARM emulator update will be noted there once included in the release:
https://cloud.google.com/sdk/docs/release-notes
As a workaround I believe It's possible to manually build the emulator (it's OSS) with a golang SDK and then put the binary in the right place but I have not tried it - though since the emulator is releasing shortly you may just want to wait for it rather than trying such workarounds? sap1ens commented on Dec 6, 2021 Hey @rameshdharan, thanks for the update! I assume this library will be updated at the same time? We don't use the SDK, but this library directly. rameshdharan commented on Dec 7, 2021 @sap1ens yes, thanks for mentioning that - I believe we will still need to (trivially) update this library shortly thereafter; specifically AIUI the google-cloud-bigtable-emulator's pom.xml will need to include bigtable-darwin-arm and bigtable-linux-arm in the <componentNames> section, and that will start working once the components are released (via the Cloud SDK release). Reacted by Yaroslav Tkachenko added a commit that references this issue on Dec 7, 2021This issue will close once commit 5d473c7 is merged into the 'main' branch.5d473c7 meredithslota commented on May 4, 2022 caseyduquettesc commented on Aug 5, 2022 Seems like it was fixed? #1094
MetadataMetadataapi: bigtableIssues related to the googleapis/java-bigtable API.priority: p3Desirable enhancement or fix. May not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design. DevelopmentNo branches or pull requestsIssue actions
|