【发布时间】:2015-10-01 19:12:55
【问题描述】:
我正在尝试通过将 Spark 作业提交到 Dataproc 集群来写入位于 hdfs:///home/bryan/test_file/ 的 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.
【问题讨论】:
标签: hdfs google-cloud-storage google-cloud-platform google-cloud-dataproc