Hadoop安装遇到“系统找不到特定的批次标签-resourcemanager”的解决方案

Hadoop安装遇到“系统找不到特定的批次标签-resourcemanager”的解决方案


安装Hadoop过程时,已经配置好了.xml文件,在hadoop…\sbin目录下使用cmd输入start-all.cmd时,遇到“系统找不到特定的批次标签-resourcemanager”问题。

参考Stack Overflow中的解决方案:
I had the same problem and solved it by following these steps.

1.Inside the /hadoop/etc/hadoop and /hadoop/bin directory open the yarn.xml, yarn.sh and yarn.cmd file in notepad++ and using the EOL option from Edit->EOL Conversion, convert from Unix/OSX format to Windows format.

2.Inside the /hadoop/etc/hadoop directory open mapred-env.cmd, yarn-env.cmd and hadoop-env.cmd and add the respective JAVA_HOME path.

这里我更改了.sh、.cmd、.xml的编码方式之后就解决了。

©️2020 CSDN 皮肤主题: 深蓝海洋 设计师:CSDN官方博客 返回首页