查看日志
cat /var/log/spark/spark-root-org.apache.spark.deploy.worker.Worker-1-cdhm2.out
ERROR Worker:73 - Failed to create work directory /opt/cloudera/parcels/CDH-6.2.0-1.cdh6.2.0.p0.967373/lib/spark/work
报错显示无法创建work目录 查看该目录,发现存在了一个work目录
ls /opt/cloudera/parcels/CDH-6.2.0-1.cdh6.2.0.p0.967373/lib/spark
work
删除该work目录
rm -rf work
worker进程正常启动。