-
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] java.lang.NullPointerException when using spark.sql.extensions=com.nvidia.spark.rapids.SQLExecPlugin #460
Comments
I don't believe our intention is to support specifying the SQLExecPlugin exclusively. The getting started guide and other documentation specify to use: If there is documentation stating to configure Spark with |
Agree with @jlowe. I think if this case could be detected and a user-friendly error thrown that would be a good small fix, perhaps. Thoughts? For the particular NPE, some other user-friendly exception could be thrown. |
I also agree with @jlowe. But if we use spark.plugins in Spark Standalone mode, seems we need to copy rapids jar into each node. that's really boring. So from the ML part, which may not need RMM/GPU shuffle things. And GPU semaphore seems can be initialized when it is used. |
If you want to be able to support that use case then file a feature request with what you want to support. We can then prioritize it on the backlog and try to figure out what is the right way to support it. |
close this issue and file a FEA #479 |
…#460) Add ability to provide a seed value in config. Closes NVIDIA#452 Signed-off-by: Gera Shegalov <gera@apache.org>
Describe the bug
If the user is using the configs as follows,
Then RapidsExecutorPlugin will not be initialized, So GpuShuffleEnv will also not be initialized. If any code calls the method of GpuShuffleEnv, it may suffer NullPointerException, because the code assumes that the GpuShuffleEnv must have been initialized. The exception just like below.
Steps/Code to reproduce bug
use
The text was updated successfully, but these errors were encountered: