yarn.Client: Uploading resource file:/tmp/spark-6947d690-9749-43bd-8d9a-e14e8ccc1138/__spark_libs__3170539481839891703.zip -> hdfs://node4:9000/user/root/.sparkStaging/application_1623053077163_0001/__spark_libs__3170539481839891703.zip
如上一段SPARK日志输出,请问如何修改上传的目录,也就是 将hdfs://node4:9000/user/root/...
目录修改为其他目录
在 spark-defaults.conf
里设置属性 spark.yarn.stagingDir