Skip to content
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] Cloudera 3.1.1 tests fail due to ClouderaShimVersion #5003

Closed
tgravescs opened this issue Mar 22, 2022 · 0 comments · Fixed by #5004
Closed

[BUG] Cloudera 3.1.1 tests fail due to ClouderaShimVersion #5003

tgravescs opened this issue Mar 22, 2022 · 0 comments · Fixed by #5004
Assignees
Labels
bug Something isn't working P0 Must have for release

Comments

@tgravescs
Copy link
Collaborator

Describe the bug

[2022-03-18T07:41:31.843Z] FAILED integration_tests/src/main/python/arithmetic_ops_test.py::test_multiplication_fallback_when_ansi_enabled[Byte][ALLOW_NON_GPU(ProjectExec,Alias,Multiply,Cast)]
[2022-03-18T07:41:31.843Z] FAILED integration_tests/src/main/python/arithmetic_ops_test.py::test_multiplication_fallback_when_ansi_enabled[Short][ALLOW_NON_GPU(ProjectExec,Alias,Multiply,Cast)]
[2022-03-18T07:41:31.843Z] FAILED integration_tests/src/main/python/arithmetic_ops_test.py::test_multiplication_fallback_when_ansi_enabled[Integer][ALLOW_NON_GPU(ProjectExec,Alias,Multiply,Cast)]
[2022-03-18T07:41:31.843Z] FAILED integration_tests/src/main/python/arithmetic_ops_test.py::test_multiplication_fallback_when_ansi_enabled[Long][ALLOW_NON_GPU(ProjectExec,Alias,Multiply,Cast)]
[2022-03-18T07:41:31.843Z] FAILED integration_tests/src/main/python/arithmetic_ops_test.py::test_division_fallback_on_decimal[Decimal(38,21)][ALLOW_NON_GPU(ProjectExec,Alias,Divide,Cast,PromotePrecision,CheckOverflow)]
[2022-03-18T07:41:31.843Z] FAILED integration_tests/src/main/python/arithmetic_ops_test.py::test_division_fallback_on_decimal[Decimal(21,17)][ALLOW_NON_GPU(ProjectExec,Alias,Divide,Cast,PromotePrecision,CheckOverflow)]

The error:

  py4j.protocol.Py4JJavaError: An error occurred while calling z:com.nvidia.spark.rapids.ExecutionPlanCaptureCallback.assertDidFallBack.�[0m
[2022-03-18T07:41:31.842Z] �[1m�[31mE                   : java.lang.LinkageError: loader constraint violation: when resolving method "com.nvidia.spark.rapids.shims.spark311cdh.SparkShimServiceProvider$.VERSION()Lcom/nvidia/spark/rapids/ClouderaShimVersion;" the class loader (instance of org/apache/spark/util/MutableURLClassLoader) of the current class, com/nvidia/spark/rapids/shims/spark311cdh/SparkShimServiceProvider, and the class loader (instance of org/apache/spark/util/MutableURLClassLoader) for the method's defining class, com/nvidia/spark/rapids/shims/spark311cdh/SparkShimServiceProvider$, have different Class objects for the type com/nvidia/spark/rapids/ClouderaShimVersion used in the signature�[0m

This is caused by the unshim work done. We need to add ClouderaShimVersion to be a class that is not part of parallel worlds.

@tgravescs tgravescs added bug Something isn't working ? - Needs Triage Need team to review and classify P0 Must have for release labels Mar 22, 2022
@tgravescs tgravescs added this to the Mar 21 - Apr 1 milestone Mar 22, 2022
@tgravescs tgravescs removed the ? - Needs Triage Need team to review and classify label Mar 22, 2022
@tgravescs tgravescs self-assigned this Mar 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P0 Must have for release
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant