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] Method cpus does not exist, version 0.5.3 doesn't work with spark 3.4 or 3.5 #57

Open
thinkall opened this issue Aug 15, 2024 · 1 comment

Comments

@thinkall
Copy link
Contributor

thinkall commented Aug 15, 2024

It seems that PR #52 introduced a bug which made it fails on spark 3.4 and 3.5.

image

Py4JError: An error occurred while calling o8485.cpus. Trace:
py4j.Py4JException: Method cpus([class java.lang.Integer]) does not exist
	at py4j.reflection.ReflectionEngine.getMethod(ReflectionEngine.java:321)
	at py4j.reflection.ReflectionEngine.getMethod(ReflectionEngine.java:329)
	at py4j.Gateway.invoke(Gateway.java:274)
	at py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)
	at py4j.commands.CallCommand.execute(CallCommand.java:79)
	at py4j.GatewayConnection.run(GatewayConnection.java:238)
	at java.base/java.lang.Thread.run(Thread.java:829)

@lu-wang-dl , @WeichenXu123 , could you please take a look at this? Thank you very much!

@wbo4958
Copy link

wbo4958 commented Sep 10, 2024

@thinkall, can you share the example that can repro this issue?

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