ERROR: but there is no HDFS_NAMENODE_USER defined. Aborting operation.

ERROR: but there is no HDFS_NAMENODE_USER defined. Aborting operation.

ERROR: but there is no HDFS_SECONDARYNAMENODE_USER defined. Aborting operation.

亲测有效,不信翻我搭建的完全分布式帖子
在这里插入图片描述
解决方案

在hadoop-evn.sh这个配置文件中,加入环境变量
在这里插入图片描述
再启动一下,神奇的事,发生了。
在这里插入图片描述
在这里插入图片描述
成功了。不懂留言。博主实力5杀,带躺

发布了17 篇原创文章 · 获赞 14 · 访问量 4563

猜你喜欢

转载自blog.csdn.net/weixin_45284133/article/details/105464661