擬合Apache SparkML模型會拋出錯誤
問題
當擬合SparkML模型或管道時,Databricks拋出一個錯誤:
org.apache.spark.SparkException: Job aborted due to stage failure: Task 0 in stage 162.0 failed 4次,最近的失敗:Lost Task 0.3 in stage 162.0 (TID 168, 10.205.250.130, executor 1): org.apache.spark.SparkException: failed to execute user defined function($anonfun$9:(string) =>雙)