hadoop 运行问题
发布网友
发布时间:2022-04-29 21:28
我来回答
共1个回答
热心网友
时间:2022-04-14 08:17
解决方案:
1. 格式化namenode:
# hadoop namenode -format
2. 重新启动hadoop# sh stop-all.sh# sh start-all.sh
3. 查看后台进程# jps13508 NameNode11008 SecondaryNameNode14393 Jps11096 JobTracker此时namenode启动
4. 运行# hadoop fs -ls12/01/31 14:04:39 INFO security.Groups: Group mapping impl=org.apache.hadoop.security.ShellBasedUnixGroupsMapping; cacheTimeout=30000012/01/31 14:04:39 WARN conf.Configuration: mapred.task.id is deprecated. Instead, use maprece.task.attempt.idFound 1 itemsdrwxr-xr-x - root supergroup 0 2012-01-31 13:57 /user/root/test