启动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的时候报错:
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