hdfs:///home/bryan/test_file/
Spark ジョブを Dataproc クラスタに送信して、HDFS ディレクトリに書き込もうとしています。
名前ノードがセーフ モードであるというエラーが表示されます。セーフ モードを解除する解決策はありますが、これは別の理由で発生している可能性があるのではないかと心配しています。
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.