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] test_mixed_compress_read orc_test.py failures #4728

Closed
tgravescs opened this issue Feb 9, 2022 · 1 comment · Fixed by #4737
Closed

[BUG] test_mixed_compress_read orc_test.py failures #4728

tgravescs opened this issue Feb 9, 2022 · 1 comment · Fixed by #4737
Assignees
Labels
bug Something isn't working P0 Must have for release

Comments

@tgravescs
Copy link
Collaborator

Describe the bug
our nightly integration tests failued:

08:42:31  FAILED ../../src/main/python/orc_test.py::test_mixed_compress_read[{'spark.rapids.sql.format.orc.reader.type': 'PERFILE'}-][IGNORE_ORDER]
08:42:31  FAILED ../../src/main/python/orc_test.py::test_mixed_compress_read[{'spark.rapids.sql.format.orc.reader.type': 'PERFILE'}-orc][IGNORE_ORDER]
08:42:31  FAILED ../../src/main/python/orc_test.py::test_mixed_compress_read[{'spark.rapids.sql.format.orc.reader.type': 'MULTITHREADED'}-][IGNORE_ORDER]
08:42:31  FAILED ../../src/main/python/orc_test.py::test_mixed_compress_read[{'spark.rapids.sql.format.orc.reader.type': 'MULTITHREADED'}-orc][IGNORE_ORDER]
08:42:31  FAILED ../../src/main/python/orc_test.py::test_mixed_compress_read[{'spark.rapids.sql.format.orc.reader.type': 'COALESCING'}-][IGNORE_ORDER]
08:42:31  FAILED ../../src/main/python/orc_test.py::test_mixed_compress_read[{'spark.rapids.sql.format.orc.reader.type': 'COALESCING'}-orc][IGNORE_ORDER]
08:42:31  �[1m�[31mE                   Caused by: java.lang.NullPointerException�[0m
08:42:31  �[1m�[31mE                   	at com.nvidia.spark.rapids.shims.v2.OrcShims$.newOrcOutStream(OrcShims.scala:75)�[0m
08:42:31  �[1m�[31mE                   	at com.nvidia.spark.rapids.OrcCodecWritingHelper.$anonfun$withCodecOutputStream$1(GpuOrcScanBase.scala:1539)�[0m
08:42:31  �[1m�[31mE                   	at com.nvidia.spark.rapids.Arm.withResource(Arm.scala:28)�[0m
08:42:31  �[1m�[31mE                   	at com.nvidia.spark.rapids.Arm.withResource$(Arm.scala:26)�[0m
08:42:31  �[1m�[31mE                   	at com.nvidia.spark.rapids.OrcDataStripe.withResource(GpuOrcScanBase.scala:1555)�[0m
08:42:31  �[1m�[31mE                   	at com.nvidia.spark.rapids.OrcCodecWritingHelper.withCodecOutputStream(GpuOrcScanBase.scala:1523)�[0m
08:42:31  �[1m�[31mE                   	at com.nvidia.spark.rapids.OrcCodecWritingHelper.withCodecOutputStream$(GpuOrcScanBase.scala:1518)�[0m
08:42:31  �[1m�[31mE                   	at com.nvidia.spark.rapids.OrcDataStripe.withCodecOutputStream(GpuOrcScanBase.scala:1555)�[0m
08:42:31  �[1m�[31mE                   	at com.nvidia.spark.rapids.OrcDataStripe.$anonfun$stripeSize$2(GpuOrcScanBase.scala:1584)�[0m
08:42:31  �[1m�[31mE                   	at com.nvidia.spark.rapids.OrcDataStripe.$anonfun$stripeSize$2$adapted(GpuOrcScanBase.scala:1583)�[0m
08:42:31  �[1m�[31mE                   	at com.nvidia.spark.rapids.Arm.withResource(Arm.scala:28)�[0m
08:42:31  �[1m�[31mE                   	at com.nvidia.spark.rapids.Arm.withResource$(Arm.scala:26)�[0m
08:42:31  �[1m�[31mE                   	at com.nvidia.spark.rapids.OrcDataStripe.withResource(GpuOrcScanBase.scala:1555)�[0m
08:42:31  �[1m�[31mE                   	at com.nvidia.spark.rapids.OrcDataStripe.$anonfun$stripeSize$1(GpuOrcScanBase.scala:1583)�[0m
08:42:31  �[1m�[31mE                   	at com.nvidia.spark.rapids.OrcDataStripe.$anonfun$stripeSize$1$adapted(GpuOrcScanBase.scala:1582)�[0m
08:42:31  �[1m�[31mE                   	at com.nvidia.spark.rapids.Arm.withResource(Arm.scala:28)�[0m
08:42:31  �[1m�[31mE                   	at com.nvidia.spark.rapids.Arm.withResource$(Arm.scala:26)�[0m
08:42:31  �[1m�[31mE                   	at com.nvidia.spark.rapids.OrcDataStripe.withResource(GpuOrcScanBase.scala:1555)�[0m
08:42:31  �[1m�[31mE                   	at com.nvidia.spark.rapids.OrcDataStripe.stripeSize$lzycompute(GpuOrcScanBase.scala:1582)�[0m
08:42:31  �[1m�[31mE                   	at com.nvidia.spark.rapids.OrcDataStripe.stripeSize(GpuOrcScanBase.scala:1569)�[0m
08:42:31  �[1m�[31mE                   	at com.nvidia.spark.rapids.OrcDataStripe.getBlockSize(GpuOrcScanBase.scala:1565)�[0m
08:42:31  �[1m�[31mE                   	at com.nvidia.spark.rapids.MultiFileOrcPartitionReader.$anonfun$calculateEstimatedBlocksOutputSize$2(GpuOrcScanBase.scala:1784)�[0m
08:42:31  �[1m�[31mE                   	at com.nvidia.spark.rapids.MultiFileOrcPartitionReader.$anonfun$calculateEstimatedBlocksOutputSize$2$adapted(GpuOrcScanBase.scala:1782)�[0m
08:42:31  �[1m�[31mE                   	at scala.collection.mutable.ResizableArray.foreach(ResizableArray.scala:62)�[0m
08:42:31  �[1m�[31mE                   	at scala.collection.mutable.ResizableArray.foreach$(ResizableArray.scala:55)�[0m
08:42:31  �[1m�[31mE                   	at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:49)�[0m
08:42:31  �[1m�[31mE                   	at com.nvidia.spark.rapids.MultiFileOrcPartitionReader.$anonfun$calculateEstimatedBlocksOutputSize$1(GpuOrcScanBase.scala:1782)�[0m
08:42:31  �[1m�[31mE                   	at com.nvidia.spark.rapids.MultiFileOrcPartitionReader.$anonfun$calculateEstimatedBlocksOutputSize$1$adapted(GpuOrcScanBase.scala:1776)�[0m
08:42:31  �[1m�[31mE                   	at scala.collection.mutable.LinkedHashMap.foreach(LinkedHashMap.scala:152)�[0m
08:42:31  �[1m�[31mE                   	at com.nvidia.spark.rapids.MultiFileOrcPartitionReader.calculateEstimatedBlocksOutputSize(GpuOrcScanBase.scala:1776)�[0m
08:42:31  �[1m�[31mE                   	at com.nvidia.spark.rapids.MultiFileCoalescingPartitionReaderBase.$anonfun$readPartFiles$1(GpuMultiFileReader.scala:797)�[0m
08:42:31  �[1m�[31mE                   	at com.nvidia.spark.rapids.Arm.withResource(Arm.scala:28)�[0m
08:42:31  �[1m�[31mE                   	at com.nvidia.spark.rapids.Arm.withResource$(Arm.scala:26)�[0m
08:42:31  �[1m�[31mE                   	at com.nvidia.spark.rapids.FilePartitionReaderBase.withResource(GpuMultiFileReader.scala:235)�[0m
@tgravescs tgravescs added bug Something isn't working ? - Needs Triage Need team to review and classify P0 Must have for release labels Feb 9, 2022
@jlowe jlowe self-assigned this Feb 9, 2022
@jlowe jlowe removed the ? - Needs Triage Need team to review and classify label Feb 9, 2022
@jlowe
Copy link
Member

jlowe commented Feb 9, 2022

This is caused by #4408. The code does not expect codec to be null, but it can be if no compression is configured for the file.

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.

2 participants