GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

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 #677

Copy link
Copy link
Closed
Closed
Bigtable emulator does not support ARM#677
Copy link
Labels
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.

Description

@chingor13
chingor13
opened on Mar 16, 2021
Issue body actions

It looks the the emulator only works on x64 architectures for Linux, OSX, and Windows.

Reacted by Tomo Suzuki and Casey

Activity

  1. product-auto-label
    added
    api: bigtableIssues related to the googleapis/java-bigtable API.
    on Mar 16, 2021
  2. suztomo commented on Mar 16, 2021

    @suztomo
    suztomo
    on Mar 16, 2021
    Member
    More actions

    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);
    
    
  3. yoshi-automation
    added
    triage meI really want to be triaged.
    🚨This issue needs some love.
    on Mar 17, 2021
  4. crwilcox
    added
    type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.
    priority: p3Desirable enhancement or fix. May not be included in next release.
    and removed
    triage meI really want to be triaged.
    on Mar 22, 2021
  5. kolea2
    removed
    🚨This issue needs some love.
    on Mar 22, 2021
  6. igorbernstein2 commented on Apr 20, 2021

    @igorbernstein2
    igorbernstein2
    on Apr 20, 2021
    Contributor
    More actions

    We need to start publishing aarch64 to gcloud sdk and then we can update this wrapper

  7. tkaymak commented on Aug 13, 2021

    @tkaymak
    tkaymak
    on Aug 13, 2021
    More actions

    Is the publishing on the horizon? <3

  8. liufuyang commented on Oct 9, 2021

    @liufuyang
    liufuyang
    on Oct 9, 2021
    More actions

    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].
    
  9. alejandrolujan commented on Dec 3, 2021

    @alejandrolujan
    alejandrolujan
    on Dec 3, 2021
    More actions

    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.

  10. rameshdharan commented on Dec 6, 2021

    @rameshdharan
    rameshdharan
    on Dec 6, 2021
    Contributor
    More actions

    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?

    Reacted by Fuyang Liu
  11. sap1ens commented on Dec 6, 2021

    @sap1ens
    sap1ens
    on Dec 6, 2021
    More actions

    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.

  12. rameshdharan commented on Dec 7, 2021

    @rameshdharan
    rameshdharan
    on Dec 7, 2021
    Contributor
    More actions

    @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
  13. rameshdharan
    added a commit that references this issue on Dec 7, 2021

    feat: ARM support for gcloud bigtable emulator

    This issue will close once commit 5d473c7 is merged into the 'main' branch.
    5d473c7
  14. meredithslota commented on May 4, 2022

    @meredithslota
    meredithslota
    on May 4, 2022
    More actions

    Confirming that it looks like ARM64 support was added in the emulator in late 2021: https://cloud.google.com/sdk/docs/release-notes#36700_2021-12-14 so this should be unblocked now.

  15. caseyduquettesc commented on Aug 5, 2022

    @caseyduquettesc
    caseyduquettesc
    on Aug 5, 2022
    More actions

    Seems like it was fixed? #1094

  16. igorbernstein2
    closed this as completedon Nov 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    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.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.