Open majidebraa opened 1 week ago
The release of Delta support for Spark Connect is coming with Delta 4.0.
https://delta.io/blog/delta-lake-4-0/#delta-connect-available-in-preview
I hope this helps.
The release of Delta support for Spark Connect is coming with Delta 4.0.
https://delta.io/blog/delta-lake-4-0/#delta-connect-available-in-preview
I hope this helps.
I try to use delta 4-preview but this get error:
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/spark/internal/Logging$LogStringContext
2024-11-09 15:35:30 at java.base/java.lang.Class.getDeclaredMethods0(Native Method)
2024-11-09 15:35:30 at java.base/java.lang.Class.privateGetDeclaredMethods(Class.java:3402)
2024-11-09 15:35:30 at java.base/java.lang.Class.getMethodsRecursive(Class.java:3543)
2024-11-09 15:35:30 at java.base/java.lang.Class.getMethod0(Class.java:3529)
2024-11-09 15:35:30 at java.base/java.lang.Class.getMethod(Class.java:2225)
2024-11-09 15:35:30 at org.apache.spark.deploy.JavaMainApplication.start(SparkApplication.scala:42)
2024-11-09 15:35:30 at org.apache.spark.deploy.SparkSubmit.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:1029)
2024-11-09 15:35:30 at org.apache.spark.deploy.SparkSubmit.doRunMain$1(SparkSubmit.scala:194)
2024-11-09 15:35:30 at org.apache.spark.deploy.SparkSubmit.submit(SparkSubmit.scala:217)
2024-11-09 15:35:30 at org.apache.spark.deploy.SparkSubmit.doSubmit(SparkSubmit.scala:91)
2024-11-09 15:35:30 at org.apache.spark.deploy.SparkSubmit$$anon$2.doSubmit(SparkSubmit.scala:1120)
2024-11-09 15:35:30 at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:1129)
2024-11-09 15:35:30 at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
2024-11-09 15:35:30 Caused by: java.lang.ClassNotFoundException: org.apache.spark.internal.Logging$LogStringContext
2024-11-09 15:35:30 at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445)
2024-11-09 15:35:30 at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:592)
2024-11-09 15:35:30 at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
Without spark connect how can I use delta in spark with remote connection string?
this is my docker-compose file:
I want to connect to this container for read/write data on delta mode, with this code:
but get error:
How can I make a connection string to remote delta lake and use it from my host or server or other docker containers?