question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ARM64/apple silicon support

See original GitHub issue

I tried to build and run ARM64 docker image referenced this doc, but I could’nt run it. https://github.com/questdb/questdb/tree/master/core#switch-docker-desktop-to-linux

My approach was below.

First, I couldn’t run the command on the document because repo has no file such as Dockerfile-linux-arm64

docker buildx build --platform linux/arm64 -t questdb/questdb:4.0.0-linux-arm64 --file Dockerfile-linux-arm64 . --load

So I created a new one based on Dockerfile-linux which modefied it.

diff Dockerfile-linux Dockerfile-linux-arm64

18c18
< RUN tar xvfz questdb-*-rt-linux-amd64.tar.gz
---
> RUN tar xvfz questdb-*-rt-linux-aarch64.tar.gz
24c24
< COPY --from=0 /build/questdb/core/target/questdb-*-rt-linux-amd64 .
---
> COPY --from=0 /build/questdb/core/target/questdb-*-rt-linux-aarch64 .

Image build was succeed, So I tried to run it on Ubuntu 18.04 for Raspberry Pi ARM64 and I had an error as bellow.

sudo docker run -p 9000:9000 -p 8812:8812 -p 9009:9009 bathtimefish/questdb:5.0.3-linux-arm64
QuestDB server [DEVELOPMENT]
Copyright (C) 2014-2020, all rights reserved.

2020-08-30T11:35:00.568759Z I server-main extracted [path=/root/.questdb/public/573e9313e05d89f4acb5d005476c61bb.woff]
2020-08-30T11:35:02.747060Z I server-main extracted [path=/root/.questdb/public/6437d5f4c14e01aaf4801aef3909151b.woff]
2020-08-30T11:35:02.757650Z I server-main extracted [path=/root/.questdb/public/7dafb1a4bab4938a38b2d68d9c4575a9.woff]
2020-08-30T11:35:02.769892Z I server-main extracted [path=/root/.questdb/public/80b32d346cfff1921b52.worker.js]
2020-08-30T11:35:02.796667Z I server-main extracted [path=/root/.questdb/public/a940d584750708f5435ce2c523498ddb.woff]
2020-08-30T11:35:02.805294Z I server-main extracted [path=/root/.questdb/public/d0b483ce9717b92b4bf815d5d4db597a.woff]
2020-08-30T11:35:02.808302Z I server-main extracted [path=/root/.questdb/public/index.html]
2020-08-30T11:35:02.827243Z I server-main extracted [path=/root/.questdb/public/qdb.css]
2020-08-30T11:35:02.949609Z I server-main extracted [path=/root/.questdb/public/qdb.js]
2020-08-30T11:35:02.952580Z I server-main extracted [path=/root/.questdb/public/assets/console-configuration.json]
2020-08-30T11:35:02.955519Z I server-main extracted [path=/root/.questdb/public/assets/favicon.png]
2020-08-30T11:35:02.997642Z I server-main extracted [path=/root/.questdb/conf/date.formats]
2020-08-30T11:35:03.005191Z I server-main extracted [path=/root/.questdb/conf/mime.types]
2020-08-30T11:35:03.010691Z I server-main extracted [path=/root/.questdb/conf/server.conf]
2020-08-30T11:35:03.891395Z I i.q.c.t.t.InputFormatConfiguration loading [from=/text_loader.json]
Exception in thread "main" 2020-08-30T11:35:04.027201Z I server-main database root [dir=/root/.questdb/db/]
java.lang.UnsatisfiedLinkError: 'int io.questdb.std.Vect.getSupportedInstructionSet()'
	at io.questdb@5.0.3-SNAPSHOT/io.questdb.std.Vect.getSupportedInstructionSet(Native Method)
	at io.questdb@5.0.3-SNAPSHOT/io.questdb.std.Vect.getSupportedInstructionSetName(Vect.java:40)
	at io.questdb@5.0.3-SNAPSHOT/io.questdb.ServerMain.main(ServerMain.java:134)

How can I do for that?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:14 (5 by maintainers)

github_iconTop GitHub Comments

4reactions
russelljahncommented, Aug 31, 2020

I’m also interested in running the latest docker images on ARM64. I have a 64-bit Raspberry Pi 4B running headless Ubuntu Server connected to a SSD. I’m collecting large amounts of streamed sensor data for a startup project. I was impressed with the docker demo, and running QuestDB on the Pi seemed a serious cost-effective contender for the time being.

3reactions
russelljahncommented, May 27, 2022

Confirmed I was able to build QuestDB 6.3.1 from source on 64-bit Raspbian and run it. I’ve tested connecting to the web console through my browser via a different computer on my LAN, and things are looking solid! 👍

Appreciate the QuestDB team getting ARM64 working again! I’m looking forward to using it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Mac transition to Apple silicon - Wikipedia
The Mac transition to Apple silicon is the process of changing the central processing units (CPUs) of Apple Inc.'s line of Mac computers...
Read more >
Mac computers with Apple silicon
Contact Apple Support. Need more help? Save time by starting your support request online and we'll connect you to an expert. Get started ......
Read more >
ARM64! Apple Silicon! M1! DDEV-Local! What does it all mean?
It's mostly just their annual OS update, but the big news is the Apple Silicon support. Rosetta 2 is a feature implemented in...
Read more >
Apple Silicon: The Complete Guide - MacRumors
The ‌M1‌ Macs support USB 4 and Thunderbolt 3. Current Arm-Based Macs. Apple has released the 2020 ‌‌MacBook Air‌‌, 13-inch MacBook Pro, and ......
Read more >
Apple M1 Processor Overview and Compatibility - Toptal
Today we will be taking a closer look at Apple's new M1 chip, its implications ... The CPU uses the AArch64 or ARM64...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found