错误现象 :解决方案 错误现象 :
解决方案WARN yarn.Client: Failed to cleanup staging dir hdfs://cpucode101:8020/user/cpu/.sparkStaging/application_1644582696121_0001
org.apache.hadoop.hdfs.server.namenode.SafeModeException: Cannot delete /user/cpu/.sparkStaging/application_1644582696121_0001、Name node is in safe mode.
强制 NameNode 离开安全模式
hadoop dfsadmin -safemode leave