在 Mac OS 上安装 Hadoop 时出现问题
Problems with installation Hadoop on Mac OS
我正在尝试使用此 instruction 在 Mac os 上安装 hadoop。在这一步sbin/start-dfs.sh
,我遇到了问题。
我的结果:
Starting namenodes on [localhost] Starting datanodes localhost: datanode is running as process 26210. Stop it first. Starting secondary namenodes [https://account.jetbrains.com:443] sed: 1: "s/^/https://account.jet ...": bad flag in substitute command: '/'
.
有什么办法吗?真心希望得到您的帮助!
hadoop-env:
#export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-13.0.1.jdk/Contents/Home
已生成 SSH 密钥
ssh-keygen -t rsa -P '' -f ~/.ssh/id_rsa
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
chmod 0600 ~/.ssh/authorized_keys
/etc/hosts:
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
0.0.0.0 https://account.jetbrains.com:443
1.2.3.4 account.jetbrains.com
1.2.3.4 http://www.jetbrains.com
1.2.3.4 www-weighted.jetbrains.com
0.0.0.0 account.jetbrains.com
也许 /etc/hosts 有什么错误?
默认情况下,Hadoop 假定 0.0.0.0
将映射到本地连接。
您似乎试图通过修改主机文件来绕过 JetBrains 帐户检查。请像这样恢复您的主机文件
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
我正在尝试使用此 instruction 在 Mac os 上安装 hadoop。在这一步sbin/start-dfs.sh
,我遇到了问题。
我的结果:
Starting namenodes on [localhost] Starting datanodes localhost: datanode is running as process 26210. Stop it first. Starting secondary namenodes [https://account.jetbrains.com:443] sed: 1: "s/^/https://account.jet ...": bad flag in substitute command: '/'
.
有什么办法吗?真心希望得到您的帮助!
hadoop-env:
#export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-13.0.1.jdk/Contents/Home
已生成 SSH 密钥
ssh-keygen -t rsa -P '' -f ~/.ssh/id_rsa
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
chmod 0600 ~/.ssh/authorized_keys
/etc/hosts:
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
0.0.0.0 https://account.jetbrains.com:443
1.2.3.4 account.jetbrains.com
1.2.3.4 http://www.jetbrains.com
1.2.3.4 www-weighted.jetbrains.com
0.0.0.0 account.jetbrains.com
也许 /etc/hosts 有什么错误?
默认情况下,Hadoop 假定 0.0.0.0
将映射到本地连接。
您似乎试图通过修改主机文件来绕过 JetBrains 帐户检查。请像这样恢复您的主机文件
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost