2
我試圖通過向Dataproc集羣提交Spark作業來寫入HDFS目錄hdfs:///home/bryan/test_file/
。爲什麼Google Dataproc HDFS名稱節點處於安全模式?
我得到一個錯誤,名稱節點處於安全模式。我有a solution讓它脫離安全模式,但我擔心這可能會發生另一個原因。
爲什麼Dataproc集羣處於安全模式?
ERROR org.apache.spark.streaming.scheduler.JobScheduler: Error running job streaming job 1443726448000 ms.0
org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.hdfs.server.namenode.SafeModeException): Cannot create directory /home/bryan/test_file/_temporary/0. Name node is in safe mode.
The reported blocks 125876 needs additional 3093 blocks to reach the threshold 0.9990 of total blocks 129098.
The number of live datanodes 2 has reached the minimum number 0. Safe mode will be turned off automatically once the thresholds have been reached.