启动hive时出现以下报错:Caused by: org.apache.hadoop.hdfs.server.namenode.SafeModeException: Cannot create directory /tmp/hive/hadoop/b63e481d-bb18-4500-9538-948eed208831. Name node is in safe mode.
The reported blocks 0 needs additional 14 blocks to reach the threshold 0.9990 of total blocks 15.
The minimum
查询资料后得知需退出namenode安全模式,输入命令:hdfs dfsadmin -safemode leave
成功启动