-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Cannot instal [email protected] and cannot build Starrocks in fe module #52928
Comments
if you are trying to build old versions that is still using thrift 0.13.0 on mac, either build from source code or leverage our official dev-env image available on docker hub: https://hub.docker.com/r/starrocks/dev-env-ubuntu |
Hi @kevincai , I just pulled the code to local and in the main branch. How can I use the docker? And if I run 'mvn install -DskipTests', there are so many errors. |
use you can use |
Hi @kevincai, since I cannot install thrift 0.13. I install the Thrift version 0.21.0. I can run ./build.sh --fe |
Also, I have tried build the fe module in the docker container. Also mount the docker container with the local code directory. In the contaner, I saw the job build successfully. |
refresh the IDEA maven project, let it reload the generated thrift package under If the IDEA can't recognise the folder automatically, you can mark the folder as "Generated source root" |
@maggie-zhu You should use Thrift 0.20 instead of 0.21, since the type parameters of class You can uninstall Thrift 0.21 and reinstall 0.20 by running |
Steps to reproduce the behavior (Required)
1.brew install alberttwong/thrift/[email protected]
Then it will fail with the error like :
Error: [email protected] has been disabled because it is not supported upstream! It was disabled on 2024-10-24.
2.If I just install like : brew install thrift, then I will install the version 0.21.0
However when I try to build Starrocks, it will fail like
target/generated-sources/thrift/com/starrocks/thrift/FrontendService.java:[4989,90] wrong number of type arguments; required 2
Expected behavior (Required)
Real behavior (Required)
StarRocks version (Required)
select current_version()
The text was updated successfully, but these errors were encountered: