当前位置 : 主页 > 网络编程 > 其它编程 >

启动hive报SafeModeException的错误

来源:互联网 收集:自由互联 发布时间:2023-07-02
启动hive的时候报错:Exceptioninthreadmainjava.lang.RuntimeException:org.apache.hadoop.i 启动hive的时候报错: Exception in thread "main" java.lang.RuntimeException: org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.ipc.Retri
启动hive的时候报错:Exceptioninthreadmainjava.lang.RuntimeException:org.apache.hadoop.i

启动hive的时候报错:

Exception in thread "main" java.lang.RuntimeException: org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.ipc.RetriableException): org.apache.hadoop.hdfs.server.namenode.SafeModeException: 

Cannot create directory /tmp/hive/hadoop/676cc92f-18b0-4ca9-a1c6-80b061d7e974. Name node is in safe mode. The reported blocks 9 needs additional 7 blocks to reach the threshold 0.9990 of total blocks 16. The number of live datanodes 3 has reached the minimum number 0. Safe mode will be turned off automatically once the thresholds have been reached.

关闭namenode节点的安全模式即可:

[hadoopdjt11 bin]$ hadoop dfsadmin -safemode leave

上一篇:selenium解决SSL问题
下一篇:没有了
网友评论