-
Notifications
You must be signed in to change notification settings - Fork 327
SerializationException when executing UDF with dependent assemblies #178
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
Comments
@guruvonline: Thank you! Could you please provide a self-contained sample code and logs? |
FYI, we will assign 'bug' label after we identify this issue as a bug. |
#180 should fix this. Please reopen this if it doesn't address your scenario. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My structured streaming query is calling a UDF which has few dependency dlls(some my code and some third party).
i tried running on Azure Databricks and windows standalone cluster and still get same error "System.Runtime.Serialization.SerializationException: Unable to find assembly 'myassembly, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null".
for azure Databricks i am using set-jar to trigger job and i have uncommented the dependency copy step in db-int.sh. all the dependent dlls are copied in dbfs.
for windows standalone cluster, i have using spark-submit and have tried --files and sparkcontext.addfile in code. but still it fails. i have tried specifying file as c:\1.dll,2.dll and file:///c:/1.d.
The text was updated successfully, but these errors were encountered: