-
Notifications
You must be signed in to change notification settings - Fork 27
Description
As mentioned here
#332
I have an issue with geni on databricks.
Apparently this call
geni/src/clojure/zero_one/geni/spark.clj
Line 37 in e6eaeb9
(.setCheckpointDir context checkpoint-dir)) |
which is execute even when using an existing spark session / context,
fails on databricks:
IllegalArgumentException: Path must be absolute: target/checkpoint/3f38a4a8-51e9-47fc-a1d1-7c0f3e2f2520 at com.databricks.common.path.AbstractPath$.fromHadoopPath(AbstractPath.scala:114) at com.databricks.backend.daemon.data.client.DBFSV2.resolveAndGetFileSystem(DatabricksFileSystemV2.scala:148) at com.databricks.backend.daemon.data.client.DatabricksFileSystemV2.resolve(DatabricksFileSystemV2.scala:773) at com.databricks.backend.daemon.data.client.Databrick
If I understand the current code correctly, it cannot be avoided that this call is made, neither can the directory be changed.
My comments in #332 where based n the assumption that the code does wrongly "creates" an other session, but I think it's no true.
It does get the session from databrcks, but tries to set the checkpoint directory on the existing session/context, and this fails now. Maybe it did work with older databricks/spark versions.