Getting issue on running spark shell

org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.hdfs.server.namenode.SafeModeException): Cannot create file/spark2-history/local-1582214983027.inprogress. Name node is in safe mode.
The reported blocks 0 needs additional 187339 blocks to reach the threshold 1.0000 of total blocks 187338.
The number of live datanodes 4 has reached the minimum number 0. Safe mode will be turned off automatically once the thresholds have been reached.

Hi, Sankalan.

spark-shell is working fine.
If still you get any error kindly reply to this thread.

All the best.

Hi ,

I am getting the same error here. again. Name node is in safe mode.