遇见问题:org.apache.hadoop.dfs.SafeModeException: Cannot delete/user/hadoop/input. Name node is in safe mode
解决办法:$bin/hadoop dfsadmin -safemode leave
如果配置了环境变量hadoop,则直接 hadoop dfsadmin -safemode leave