spark报错TreeNodeException: execute, tree: Exchange hashpartitioning

spark任务执行时报错如下问题:
Exception in thread "main" org.apache.spark.sql.catalyst.errors.package$TreeNodeException: execute, tree:
Exchange hashpartitioning

可尝试在配置文件中加入这一行:

--conf spark.cross.dc.inputs.location.prefix.substitute.enabled=false \

你可能感兴趣的:(spark报错TreeNodeException: execute, tree: Exchange hashpartitioning)