-
Notifications
You must be signed in to change notification settings - Fork 332
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
I have created a new Ubuntu 24.04 WSL. I have installed brew, cloned the repository and ran make install-dependencies-brew.
When running ./polaris to get the CLI going, I get the following error:
jarro@laptop:~/polaris$ ./polaris
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 167 100 167 0 0 1148 0 --:--:-- --:--:-- --:--:-- 1151
100 64 100 64 0 0 233 0 --:--:-- --:--:-- --:--:-- 233
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 43764 100 43764 0 0 200k 0 --:--:-- --:--:-- --:--:-- 199k
Downloading https://services.gradle.org/distributions/gradle-8.14.3-bin.zip
.............10%.............20%.............30%.............40%.............50%.............60%.............70%.............80%.............90%..............100%
Welcome to Gradle 8.14.3!
Here are the highlights of this release:
- Java 24 support
- GraalVM Native Image toolchain selection
- Enhancements to test reporting
- Build Authoring improvements
For more details see https://docs.gradle.org/8.14.3/release-notes.html
Starting a Gradle Daemon (subsequent builds will be faster)
Configuration on demand is an incubating feature.
> Configure project :polaris-admin
Jandex Gradle plugin 2.2.0. Consider becoming a patron at https://www.patreon.com/aalmiray
> Task :polaris-api-management-service:openApiGenerate
user-defined server variable support is experimental.
################################################################################
# Thanks for using OpenAPI Generator. #
# Please consider donation to help us maintain this project 🙏 #
# https://opencollective.com/openapi_generator/donate #
################################################################################
Successfully generated code to /home/jarro/polaris/api/management-service/build/generated-openapi
> Task :polaris-api-management-model:openApiGenerate
user-defined server variable support is experimental.
Unexpected allVars for AwsIamServiceIdentityInfo expecting:2 vars. actual:1 vars
Unexpected allVars for BearerAuthenticationParameters expecting:2 vars. actual:1 vars
Unexpected allVars for HadoopConnectionConfigInfo expecting:5 vars. actual:4 vars
Unexpected allVars for IcebergRestConnectionConfigInfo expecting:5 vars. actual:4 vars
Unexpected allVars for OAuthClientCredentialsParameters expecting:5 vars. actual:1 vars
Unexpected allVars for SigV4AuthenticationParameters expecting:6 vars. actual:1 vars
################################################################################
# Thanks for using OpenAPI Generator. #
# Please consider donation to help us maintain this project 🙏 #
# https://opencollective.com/openapi_generator/donate #
################################################################################
Successfully generated code to /home/jarro/polaris/api/management-model/build/generated-openapi
> Task :polaris-api-iceberg-service:openApiGenerate
user-defined server variable support is experimental.
################################################################################
# Thanks for using OpenAPI Generator. #
# Please consider donation to help us maintain this project 🙏 #
# https://opencollective.com/openapi_generator/donate #
################################################################################
Successfully generated code to /home/jarro/polaris/api/iceberg-service/build/generated-openapi
> Task :polaris-api-catalog-service:openApiGenerate
user-defined server variable support is experimental.
Failed to get the schema name: null
################################################################################
# Thanks for using OpenAPI Generator. #
# Please consider donation to help us maintain this project 🙏 #
# https://opencollective.com/openapi_generator/donate #
################################################################################
Successfully generated code to /home/jarro/polaris/api/polaris-catalog-service/build/generated-openapi
> Task :regeneratePythonClient FAILED
test/test_cli_parsing.py: skipped
Regenerating python from the spec
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':regeneratePythonClient'.
> Process 'command 'bash'' finished with non-zero exit value 1
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
BUILD FAILED in 3m 11s
14 actionable tasks: 14 executed
I have little experience with Java projects but am well-versed in Python.
To Reproduce
- Create new Ubuntu WSL instance
- Install brew with
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" - Do the follow-up recommendations (adding lines to ~/.bashrc, and
brew install gcc) - Install all project dependencies with
make install-dependencies-brew - Add the
jenvandopenjdkoutput to ~/.bashrc - Run
./polaris
Actual Behavior
See Error on top.
Expected Behavior
No error and working CLI.
Additional context
No response
System information
WSL: Ubuntu 2 24.04
main branch
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working