20/07/20 23:17:41 ERROR SparkContext: Error initializing SparkContext.
org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.hdfs.server.namenode.SafeModeException): Cannot create file/spark2-history/local-1595
287059862.inprogress. Name node is in safe mode.
Resources are low on NN. Please add or free up more resources then turn off safe mode manually. NOTE: If you turn off safe mode before addin
g resources, the NN will immediately return to safe mode. Use “hdfs dfsadmin -safemode leave” to turn safe mode off.
Hi,
As we were upgrading the machines yesterday, the namenode was in safe mode for sometime. It is back to the normal.
Regards,
Sandeep Giri