碰見問題:org.apache.hadoop.dfs.SafeModeException: Cannot delete/user/hadoop/input. Name node is in safe modenode
解決辦法:$bin/hadoop dfsadmin -safemode leaveapache
若是配置了環境變量hadoop,則直接 hadoop dfsadmin -safemode leaveoop