Unable to build dremio oss using maven

I am trying to take an oss build os dremio by following the instructions in the README for 25.0.0. My maven version is 3.9.6 and java version is 11. I am using the following command to build the jar
mvn -U clean install -DskipTests -Ddremio.oss-only=true.
I am getting the following error

[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project dremio-common: Could not resolve dependencies for project com.dremio:dremio-common:jar:25.0.0-202404051521110861-ed9515a8: The following artifacts could not be resolved: org.apache.arrow:arrow-vector:jar:14.0.2-20240131150813-452ae43b2e-dremio (absent), org.apache.arrow:arrow-memory-core:jar:14.0.2-20240131150813-452ae43b2e-dremio (absent), org.apache.arrow:arrow-memory-netty:jar:14.0.2-20240131150813-452ae43b2e-dremio (absent), org.apache.arrow:arrow-format:jar:14.0.2-20240131150813-452ae43b2e-dremio (absent): Could not find artifact org.apache.arrow:arrow-vector:jar:14.0.2-20240131150813-452ae43b2e-dremio in dremio-public (https://maven.dremio.com/public/) -> [Help 1]

Apparently it is to download this particular version of arrow vector jar which isnt available in the public maven repo. And i assume it is trying to download it from the repository defined in the pom.xml of the dremio project. However on clicking the link it seems to return a Error: Not Found url. Is this a private repository? Why am i not able to resolve this dependency.

Please let me know how i can build this jar

@balaji.ramaswamy @laurent Could you please take a look at this issue and let me know what i can do? This is blocking me from building Dremio OSS 25.0.0 jar

+1 for this, we’d really like to start trying out 25.0

Thanks for bringing this to our attention. We will take a look.

Just for reference, a build without -Ddremio.oss-only=true. set will work if you wanted to have a play in the meantime.

Hey folks–

Dan from Dremio here. Can you try the build once more just using the normal ./mvnw clean install -DskipTests command?

We believe the issue should be fixed. I was able to build with a clean maven repository on my machine. Dremio built and started up just fine.

Please let us know if you experience something different.

Thanks,

Dan

Thanks a lot! Now the build is successful even with the -Ddremio.oss-only=true flag.

1 Like