問題陳述:δ住表運行時,它是錯誤。
錯誤信息:無法初始化類org.rocksdb.Options嗎
org.apache.spark.sql.streaming。StreamingQueryException:查詢cpicpg_us_tgt_amz_bronze [id = a42eec82 - 0 - ee8 - 41 - b4 - 995 d - 47 c13551c7c6 runId = c32cbf3a - 08 - cb - 4 - b4a bd2e - 308662346388]終止與例外:org.rocksdb.Options不能初始化類
在org.apache.spark.sql.execution.streaming.StreamExecution.org apache引發美元sql執行流StreamExecution $ $美元美元runStream (StreamExecution.scala: 376)
在org.apache.spark.sql.execution.streaming.StreamExecution不久美元1.美元運行(StreamExecution.scala: 252)
. lang。org.rocksdb.Options NoClassDefFoundError:無法初始化類
在com.databricks.sql.fileNotification.autoIngest.CloudFilesSource。< init > (CloudFilesSource.scala: 72)
com.databricks.sql.fileNotification.autoIngest.CloudFilesSourceProvider.createSource (CloudFilesSourceProvider.scala: 141)
org.apache.spark.sql.execution.datasources.DataSource.createSource (DataSource.scala: 322)
在org.apache.spark.sql.execution.streaming.MicroBatchExecution anonfun 1美元。美元anonfun applyOrElse 1美元(MicroBatchExecution.scala: 97)
scala.collection.mutable.HashMap.getOrElseUpdate (HashMap.scala: 86)
org.apache.spark.sql.execution.streaming.MicroBatchExecution anonfun 1.美元美元applyorelse (MicroBatchExecution.scala: 94)
org.apache.spark.sql.execution.streaming.MicroBatchExecution anonfun 1.美元美元applyorelse (MicroBatchExecution.scala: 92)
在org.apache.spark.sql.catalyst.trees.TreeNode。anonfun transformDownWithPruning美元1美元(TreeNode.scala: 575)
org.apache.spark.sql.catalyst.trees.CurrentOrigin .withOrigin美元(TreeNode.scala: 167)
org.apache.spark.sql.catalyst.trees.TreeNode.transformDownWithPruning (TreeNode.scala: 575)
在org.apache.spark.sql.catalyst.plans.logical.LogicalPlan.org apache火花sql催化劑美元美元計劃邏輯AnalysisHelper超級美元美元美元transformDownWithPruning (LogicalPlan.scala: 30)
org.apache.spark.sql.catalyst.plans.logical.AnalysisHelper.transformDownWithPruning (AnalysisHelper.scala: 268)
在org.apache.spark.sql.catalyst.plans.logical.AnalysisHelper.transformDownWithPruning (AnalysisHelper.scala: 264美元)
org.apache.spark.sql.catalyst.plans.logical.LogicalPlan.transformDownWithPruning (LogicalPlan.scala: 30)
org.apache.spark.sql.catalyst.plans.logical.LogicalPlan.transformDownWithPruning (LogicalPlan.scala: 30)
在org.apache.spark.sql.catalyst.trees.TreeNode。anonfun transformDownWithPruning美元3美元(TreeNode.scala: 580)
org.apache.spark.sql.catalyst.trees.UnaryLike.mapChildren (TreeNode.scala: 1226)
在org.apache.spark.sql.catalyst.trees.UnaryLike.mapChildren (TreeNode.scala: 1225美元)
org.apache.spark.sql.catalyst.plans.logical.UnaryNode.mapChildren (LogicalPlan.scala: 188)
org.apache.spark.sql.catalyst.trees.TreeNode.transformDownWithPruning (TreeNode.scala: 580)
在org.apache.spark.sql.catalyst.plans.logical.LogicalPlan.org apache火花sql催化劑美元美元計劃邏輯AnalysisHelper超級美元美元美元transformDownWithPruning (LogicalPlan.scala: 30)
org.apache.spark.sql.catalyst.plans.logical.AnalysisHelper.transformDownWithPruning (AnalysisHelper.scala: 268)
在org.apache.spark.sql.catalyst.plans.logical.AnalysisHelper.transformDownWithPruning (AnalysisHelper.scala: 264美元)
org.apache.spark.sql.catalyst.plans.logical.LogicalPlan.transformDownWithPruning (LogicalPlan.scala: 30)
org.apache.spark.sql.catalyst.plans.logical.LogicalPlan.transformDownWithPruning (LogicalPlan.scala: 30)
org.apache.spark.sql.catalyst.trees.TreeNode.transformDown (TreeNode.scala: 551)
org.apache.spark.sql.catalyst.trees.TreeNode.transform (TreeNode.scala: 519)
org.apache.spark.sql.execution.streaming.MicroBatchExecution.planQuery (MicroBatchExecution.scala: 92)
org.apache.spark.sql.execution.streaming.MicroBatchExecution.logicalPlan lzycompute美元(MicroBatchExecution.scala: 183)
org.apache.spark.sql.execution.streaming.MicroBatchExecution.logicalPlan (MicroBatchExecution.scala: 183)
在org.apache.spark.sql.execution.streaming.StreamExecution。anonfun runStream美元1美元(StreamExecution.scala: 337)
在scala.runtime.java8.JFunction0專門sp.apply美元(美元JFunction0 mcV $ sp.java: 23)
org.apache.spark.sql.SparkSession.withActive (SparkSession.scala: 958)
在org.apache.spark.sql.execution.streaming.StreamExecution.org apache引發美元sql執行流StreamExecution $ $美元美元runStream (StreamExecution.scala: 325)
在org.apache.spark.sql.execution.streaming.StreamExecution不久美元1.美元運行(StreamExecution.scala: 252)