-
Notifications
You must be signed in to change notification settings - Fork 232
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
[BUG] udf-examples module fails on mvn compile
and mvn test
#3966
Comments
mvn compile
and mvn test
are failing on the latest commit.mvn compile
and mvn test
mvn compile
and mvn test
mvn compile
and mvn test
Yes, this is caused by #3945. We need the udf-examples project to depend only on the dist jar, as it is an example of how one is supposed to construct a RAPIDS Accelerated UDF. However the dist project itself doesn't provide anything until at least the Ideally |
I agree that udf-examples should be in a separate repo that will help test in a setup close to the end user experience. If we don't revert #3945 I think a straightforward fix is to add a step that unpacks unshimmed classes to target/classes A more involved fix is to just stop using target/parallel-world for package preparation, and use conventional target/classes instead. Then we can get rid of this kind of customizations https://github.com/NVIDIA/spark-rapids/pull/3923/files#diff-2681b51a40a6a26d3a6f7f839cd810422226193ef273ea02d1b0b93c3a87cfa6R895 <configuration>
<classesDirectory>${project.build.directory}/parallel-world</classesDirectory>
</configuration> |
I was thinking of a similar fix. After a discussion with @sameerz we agreed that udf-examples should be moved out to better emulate a true example environment, and this also has the bonus of testing the dependencies of our deployed distribution jars. I'll revert #3945 to fix this and file a followup to migrate the udf-examples to a separate repository and fixup its dependencies in the process. |
Describe the bug
mvn compile
andmvn test
are failing due to the error as belowSteps/Code to reproduce bug
Fetch the latest commit and run
mvn test
under the project root path.Expected behavior
mvn test
andmvn compile
should run successfully.Additional context
mvn test -DwildcardSuites=XXX
is quite useful during local development. Hope we can support it.git log output:
The text was updated successfully, but these errors were encountered: