Hadoop: запуск Datanodes с именем пользователя, отличным от Namenode, неверный путь к команде Datanode hdfs ⇐ Linux
-
Anonymous
Hadoop: запуск Datanodes с именем пользователя, отличным от Namenode, неверный путь к команде Datanode hdfs
I am currently trying to run the start-dfs.sh command
But this is my output
Starting namenodes on [DESKTOP-QURJLF0] Starting datanodes host1-wsl: bash: line 1: /home/khoan/hadoop-3.3.6/bin/hdfs: No such file or directory pdsh@DESKTOP-QURJLF0: host1-wsl: ssh exited with exit code 127 Starting secondary namenodes [DESKTOP-QURJLF0] The path to hdfs command in the datanode is wrong because the username of that device is khoanguyen, not khoan(this is the username of Namenode)
This is my hdfs-site.xml configuration file
dfs.namenode.name.dir~/hadoop-3.3.6/data/nameNode dfs.datanode.data.dir~/hadoop-3.3.6/data/dataNode dfs.replication 2 So, I'm wondering is there any way I can specify the correct username for Datanode? Or do i have to have matching usernames across Namenodes and Datanodes?
Источник: https://stackoverflow.com/questions/780 ... o-datanode
I am currently trying to run the start-dfs.sh command
But this is my output
Starting namenodes on [DESKTOP-QURJLF0] Starting datanodes host1-wsl: bash: line 1: /home/khoan/hadoop-3.3.6/bin/hdfs: No such file or directory pdsh@DESKTOP-QURJLF0: host1-wsl: ssh exited with exit code 127 Starting secondary namenodes [DESKTOP-QURJLF0] The path to hdfs command in the datanode is wrong because the username of that device is khoanguyen, not khoan(this is the username of Namenode)
This is my hdfs-site.xml configuration file
dfs.namenode.name.dir~/hadoop-3.3.6/data/nameNode dfs.datanode.data.dir~/hadoop-3.3.6/data/dataNode dfs.replication 2 So, I'm wondering is there any way I can specify the correct username for Datanode? Or do i have to have matching usernames across Namenodes and Datanodes?
Источник: https://stackoverflow.com/questions/780 ... o-datanode
Мобильная версия