Can Not Start Hadoop-node-manager
File information - nodelabel.mirror

The host_config['ip'] is not rendered.
- Can you provide us the examples of infra-node ( starting namenode and resourcemanager ) and worker-node ( starting datanode and nodemanager ) in your cluster-configuration? Hiding the IP address with char
* - Can you check the host-configuration.yaml after generating in the path
pai/servce-deployment/bootstrap/cluster-configuration/host-configuration? To confirm the ip field of each node is generated correctly.
datanode-hdfs-site.xml.txt namenode-hdfs-site.xml.txt nodemanager-yarn-site.xml.txt resourcemanager-yarn-site.xml.txt There are no ip in these files.
- The host-configuration.yaml like this:
master:
ip: 192.168.1.83
dataFolder: /mnt
zkid: "1"
hdfsrole: master
yarnrole: master
zookeeper: "true"
jobhistory: "true"
launcher: "true"
restserver: "true"
webportal: "true"
worker-01:
ip: 192.168.1.41
dataFolder: /mnt
machinetype: gpu
hdfsrole: worker
yarnrole: worker
- In the pod of hadoop-name-node-ds, we can put and get files using "$HADOOPHOME/bin/hdfs dfs get(or put) ..." , but the files can not be downloaded through hadoop web portal(http://ip:50070). The same state of {{host_config['ip']}}.
@ydye
@xwzheng1020
https://github.com/Microsoft/pai/blob/1e48bcda1dc59153921103892fff5622dec8360d/service-deployment/bootstrap/hadoop-service/hadoop-configuration/nodemanager-generate-script.sh#L23
https://github.com/Microsoft/pai/blob/1e48bcda1dc59153921103892fff5622dec8360d/service-deployment/host-configure/host-configure.py#L84
In your cluster-configuration, the name such as worker-01 should be same as the hostname of the machine. Or the script can't find the corresponding entry in the host-configuration.yaml.
@ydye Thanks! That solved the problem.