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

Compatibility Issue: java.lang.NoSuchMethodError with glow.py on PySpark 3.5.1 #724

Open
nickzren opened this issue Nov 4, 2024 · 1 comment

Comments

@nickzren
Copy link

nickzren commented Nov 4, 2024

When using glow.py in a Conda environment with the following setup:

  • Python version: 3.10
  • PySpark version: 3.5.1
  • Glow.py version: 2.0.0 (installed via pip install glow.py)

Attempting to load a VCF file results in the following error:

java.lang.NoSuchMethodError: 'java.lang.String org.apache.spark.sql.execution.datasources.PartitionedFile.filePath()'

Steps to Reproduce:

  1. Create a Conda environment with Python 3.10.
  2. Install PySpark 3.5.1 and glow.py via pip.
  3. Attempt to load a VCF file using Glow.

Workaround:
Downgrading to PySpark 3.3.2 resolves the issue, and the VCF file loads as expected.

@kermany
Copy link
Collaborator

kermany commented Nov 7, 2024

can you try building the artifacts based on the latest release (2.0.3) and try again?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants