source name ugi already exists

强行关机或hadoop意外中断会出现这种错误:

not start task tracker because java.io.IOException: Failed to set permissions o
f path: \app\hadoop\tmp\mapred\local\ttprivate to 0700

source name ugi already exists


重新格式化也不行,总是提示 Re-format filesystem in

删除hadoop节点的data临时目录,就是core-site.xml的hadoop.tmp.dir配置的那个系统文件目录, 注意,不是hdfs的那个目录(hls -ls 看到的那个目录),必须是操作系统直接看到的那个临时目录。然后重新格式化就可以解决问题。

如果是cygwin, 则目录是cygwin安装后的驱动器目录下, 注意!不在cygwin所在的/目录下,这个折腾了我很久我才搞明白。

猜你喜欢

转载自domenic.iteye.com/blog/1499445
今日推荐