-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unsupported machine #4457
Comments
building from source is a good start! Perhaps you could also have a look into: https://github.com/questdb/questdb/blob/master/.github/workflows/rebuild_native_libs.yml to build on aarch64 FreeBSD? I will help you along if anything else is missing for this platform! |
Thanks for the hint. |
Unfortunately, something works bad on this platform. Example:
The first SELECT returns one row, the second returns no data. |
Would you mind opening a PR even if it does not work? We can take a look at what’s going on with the exact code you are testing |
I have not look closely at your build system (yet), all the modifications I've done to get it running are manual hacks. So, no PR for the moment. I'll try to run a release and not the dev snapshot to see if the query problem is present in release code. |
I'm trying to build the release 7.4.2 at the same manner, but it does not start.
|
Hi @Peter2121, any more info/logs could be helpful to debug this. If the hacks can be done via code, it'd be great to get a PR open to make it easier to collaborate and fix this. Also, some build reworking has been merged to current master, this moves the goalposts on fixing this.
Are you able to try a different FS on the box? Whilst UFS may work, its not on the supported list: https://questdb.io/docs/deployment/capacity-planning/#storage-and-filesystem This is one less variable to remove from the equation. You might see logs like this on startup otherwise:
The description of odd query behaviour could be related to this. Your example worked fine on latest master with macOS ARM. |
Hi @nwoolmer QuestDB is installed inside a jail, so I'm not sure it can see the details of the filesystem. The root of host system (VM) is on UFS. As about logs... Startup:
Query:
|
Hi @Peter2121, From the logs, you can see that the database is reporting you're using an unsupported file system, so there's a risk of instability. Whether it detects UFS or ZFS isn't clear. However, its planned to add ZFS support, possibly in the next open-source release. So it might be worth revisiting then and try to build again with the revised build system. Otherwise we can start a PR to debug this issue. Thanks! |
Hi @nwoolmer |
I tested a bit more. Only |
Symbols are dictionary encoded, so the column vector is integral and the strings stored once in the symbol table. In open source, ZFS is prone to corrupting data under hybrid loads. Other users have seen issues with symbol table on ZFS storage. Whilst you haven't noticed an issue before with your other deployment, hybrid loads could break it. Therefore when ZFS is supported in open source, that removes one source of potential instability. The example you gave earlier worked fine on NTFS, when I tried it. |
Finally, I could get it working on arm64/UFS instance. All I needed was |
@nwoolmer, |
ZFS is on |
To reproduce
QuestDB 7.4.3 built from sources in FreeBSD jail hosted on Ampere powered VM (AARCH64) in Oracle Cloud.
Openjdk 11.0.22
Apache Maven 3.9.6
Trying to start QuestDB got an error:
Probably, something need to be rebuilt on current arch, but I cannot find any document about it.
QuestDB version:
QuestDB 7.4.3-SNAPSHOT
OS, in case of Docker specify Docker and the Host OS:
FreeBSD 14.0-RELEASE-p6 (jail)
File System, in case of Docker specify Host File System:
UFS
Full Name:
Peter TKATCHENKO
Affiliation:
Flytrace
Have you followed Linux, MacOs kernel configuration steps to increase Maximum open files and Maximum virtual memory areas limit?
Additional context
No response
The text was updated successfully, but these errors were encountered: